Its second job, once an expression has been deemed valid, is to break the input stream into its component pieces and deliver those to you in some useful fashion.
一旦认为某个表达式是有效的,则它的第二项工作是将输入流分解成其组件块,并以某个有用的方式将它们提供给您。
It also details in concrete terms the composition of the three tokens (a plus sign, a minus sign, and an integer) that the parser expects to encounter while scanning through the input stream.
它还详细描述了三个记号(加号、减号和整数)组合的具体项,解析器在扫描整个输入流时希望遇到这些项。
As I indicate in the comments, the first block of code (lines 1-5) in Listing 1 handles parsing an input stream to build a document representation.
正如我在注释中指出的,清单1中的第一块代码(第1 - 5行)处理对输入流的语法分析,以构建文档表示。
Otherwise, the original character is placed in the output stream, and the input stream is reset to the original position.
否则,将原来的字符放到输出流中,并且将输入流重置到原始位置。
The architectural diagram below in Figure 3 shows how the client and server applications have access to a socket that has an input and an output stream.
图3中的架构图显示了客户端和服务器应用程序如何访问具有输入和输出流的套接字。
But in this case, it first tries to read a message from the input stream, and it will block until something is received.
但是,在这里,它首先尝试从输入流读一条消息,并阻塞直到收到消息。
It is critical to be able to deliver information in a timely manner, even when the input stream speed fluctuates.
在一个实时的情况下甚至在数据流速率波动时发布数据相当的关键。
The parser then sends a stream of these events based on the input XML, which the handler code processes in turn.
解析器根据输入XML发送事件流,然后处理程序代码依次处理事件。
In the case of the script above, the cat command was given a stream of input from our script to its standard input.
在上面这个例子中,cat命令从它自身的标准输入处,接受了从脚本文件中传递过来的输入字符流。
Lex tries each rule in order, matching the longest stream of input it can.
lex依次尝试每一个规则,尽可能地匹配最长的输入流。
Suppose a user needs to get the value of element of the first person from an XML input stream, AXIOM builds the object model up to the end of element and leaves the rest in the stream.
假定某个用户需要从XML输入流中获得第一个人的元素值,AXIOM构建的对象模型将一直包含到元素结束的内容,而让其他内容保留在流中。
PlusInt takes in integers on its two input streams, adds them together, and outputs the result to its output stream.
PlusInt在两个输入流中都接受整数,把整数加在一起,然后把结果输出到输出流。
IntegerLiteral expects to immediately encounter an integer in the input stream, else the expression would be invalid.
integerLiteral希望在输入流中立即遇到一个整数,否则该表达式将无效。
The logic is that parse will look first for a string, then for an integer, and finally for a real, in that order, in the input stream.
这里的逻辑是parse将在输入流中首先查找一个字符串,然后查找整数,最后查找一个实数。
Even so, this process makes a function call to FileStream.ReadByte and one to FileStream.WriteByte for most characters in the input stream.
即使如此,对于输入流中的大多数字符,该过程都会对FileStream .ReadByte进行函数调用,并且对FileStream .WriteByte进行函数调用。
There is no header information, so we move directly to reading the server data from an input stream, storing the results in the variable serverMsg.
因为没有头信息,所以我们直接开始从输入流中读取服务器数据,将结果存储在变量servermsg中。
The PrefixInt process then sends the integer as-is input to the PlusInt process to be added to the second integer in the stream, and so on.
然后 PrefixInt 进程把整数作为输入发送给PlusInt进程,并添加到流中的第二个整数,如此类推。
This rule fires when an integer is encountered in the input stream, and the value of that integer (as text) is assigned to the instance variable, t.image.
当在输入流中遇到整数时会 触发该规则,该整数(象文本一样)的值被赋给实例变量 t.image 。
The COBOL Person message arrives in the form of an input bit stream.
COBOLPerson消息以输入位流的形式到达。
The input of the algorithm is MPEG 2 video stream captured by a stationary camera. Then the algorithm tracks moving objects in the stream without decoding it.
对于输入的一组由静止摄像机捕获的MPEG -2视频流,该算法不需对其进行解码即可对场景中的运动物体直接进行目标跟踪。
By attaching semantic actions to various points in this hierarchy, in effect we can transform the flat linear input stream into a structured representation.
借由将语义动作黏附到这个层次中的很多黏附点上,我们可以将平滑的线性输入流转换成结构性的对象。
The conditional parser's purpose is to resolve ambiguity by looking ahead in the input stream for a certain pattern.
条件分析器的目的是通过在输入中超前寻找特定的模式来消除二义性。
How to get the content of an input stream in reverse order?
如何获得一个输入流的内容以相反的顺序吗?
This discrimination is accomplished by means of a matched filter, whose output indicates when a particular code sequence is detected in the input data stream.
码序列的区分是通过匹配滤波器完成的,通过检测输入数据流中特殊的码序列可以区分不同的移动终端。
There is no header information, so we move directly to reading the server data from an input stream, storing the results in the variable.
因为没有头信息,所以我们直接开始从输入流中读取服务器数据,将结果存储在变量。
The periodic cell stream is a very important member among the input traffic sources in ATM networks.
在输入ATM网络的业务源中,周期性信元流是很重要的一种。
This class implements an input stream filter for reading files in the ZIP file format. Includes support for both compressed and uncompressed entries.
该类实现了针对读取ZIP文件格式的文件的输入流过滤,包括支持压缩和解压项。
Concerning the infinite input and dynamic change in data stream environment, a new algorithm for detecting data stream outliers based on distance was proposed.
针对数据流的无限输入和动态变化等特点,提出一种新的基于距离的数据流离群点挖掘算法。
These will be read in the order they are specified and will be assigned to supplying streams not specificially specified in any input-stream map.
他们以按指明的顺序读取,它们也可以从某些流导入。
These will be read in the order they are specified and will be assigned to supplying streams not specificially specified in any input-stream map.
他们以按指明的顺序读取,它们也可以从某些流导入。
应用推荐