It accepts an input stream and a grammar, and internally it runs the stream through this grammar.
它接受一个输入流和一个语法,并在内部通过语法运行此输入流。
Text filtering is the process of taking an input stream of text and performing some conversion on the text before sending it to an output stream.
文本过滤指的是这样一个过程:获得文本的输入流,并在将文本发送给输出流之前对文本执行一些转换。
If on the other hand, GZIP encoding is not detected, we leave the input stream alone.
另一方面,如果GZIP编码未被检测到,我们就不对输入流再作处理。
It's great for reading a document from a network, input stream, user input, or other somewhat static representation.
对于从网络、输入流或其它某些静态表示法读取文档来说,这种方法是非常好的。
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.
它还详细描述了三个记号(加号、减号和整数)组合的具体项,解析器在扫描整个输入流时希望遇到这些项。
Many text processing commands (filters) can take input either from the standard input stream or from a file.
许多文本处理命令(过滤器)可以从标准输入流或从文件中获取输入。
To overcome this, we picked the concept of streams: a stream (input or output) only deals with a subset of the data of an element.
为了克服这点,我们使用了流:一个流(输入流或输出流)只处理单个项的数据子集。
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行)处理对输入流的语法分析,以构建文档表示。
Finally (line 7), I use the document builder to parse the input stream and construct the document representation.
最后(第7行),我使用文档构建器来对输入流进行语法分析并构造文档表示。
We want to modify the input stream just before the body of the HTTP message is decoded, but after the headers have been parsed.
我们希望恰好在对HTTP消息体进行解码之前,而在解析了头之后,对输入流进行修改。
When output is created from multiple files or the standard input stream, the current date and time are used instead of the filename and creation date.
当从多个文件或标准输入流创建输出时,可以使用当前日期和时间替换文件名和创建日期。
Then check whether any error occurred on the input stream and, if so, give a message.
然后检查输入流上是否发生错误,若是,则给出消息。
Otherwise, the original character is placed in the output stream, and the input stream is reset to the original position.
否则,将原来的字符放到输出流中,并且将输入流重置到原始位置。
The output stream of the socket becomes the input stream to the server application and vice-versa.
套接字的输出流将成为服务器应用程序的输入流,反之亦然。
The following outputs are the integers taken as-is from the input stream.
后面的输出才是从输入流得到的整数。
A parser is invoked when the bit stream that represents an input message is converted to the internal form that can be handled by the broker.
当将表示输入消息的位流转换为可由代理处理的内部形式时,将会调用解析器。
Breaks the input stream into a list of tokens.
将输入流分成一列记号。
It is critical to be able to deliver information in a timely manner, even when the input stream speed fluctuates.
在一个实时的情况下甚至在数据流速率波动时发布数据相当的关键。
Along similar lines as Listing 7 (which shows a client sending its body through an output stream), the client would read the server response using an input stream.
用类似于清单7中的那些代码(在那里客户机通过一个输出流发送其正文),客户机使用一个输入流读取服务器响应。
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进行函数调用。
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将在输入流中首先查找一个字符串,然后查找整数,最后查找一个实数。
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 。
For instance, the predefined directive as_lower_d converts the input stream to lowercase (see Listing 6).
例如,预定义指令as_lower_d将输入流转换为小写(参见清单6)。
The QueueManager's constructor has the simple task of opening an input and output stream to the client.
QueueManager的构造器有一个打开客户机输入和输出流的简单任务。
After loading the Properties object, you close the input stream, and then set your Boolean flag variable (init) value to true, demarcating that the AddressStore object has been initialized.
在加载properties对象之后,关闭输入流,然后设置布尔型标志变量(init)值为true,确定AddressStore对象已经被初始化。
In the case of the script above, the cat command was given a stream of input from our script to its standard input.
在上面这个例子中,cat命令从它自身的标准输入处,接受了从脚本文件中传递过来的输入字符流。
The input stream associated with the connection is provided to the EditorKit's read method.
与连接相关联的输入流被提供给EditorKit的read方法。
The smarter way to handle this is to use the longest_d directive, which tries to match the rule that consumes the maximum length from the input stream.
更好的方法是使用 longest_d指令,该指令将尝试匹配消耗输入流的最大长度的规则。
IntegerLiteral expects to immediately encounter an integer in the input stream, else the expression would be invalid.
integerLiteral希望在输入流中立即遇到一个整数,否则该表达式将无效。
The TCPIPServer Input node receives 30 bytes of data from the input stream.
TCPIPServer Input节点从输入流接收到30个字节的数据。
应用推荐