Start by constructing a parser.
首先构造一个解析器。
Like a parser, it can generate SAX events.
和解析器一样,它能生成SAX事件。
It creates a parser object around a grammar.
它围绕着文法创建解析器对象。
Use a parser generator framework (for example, ANTLR).
使用解析器生成器框架(比如ANTLR)。
The value will be used if a parser is using lex's output.
如果有解析器要使用lex的输出,那么这个值将会用到。
Create a parser implementing ISecurityDataParser interface.
创建一个实现ISecurityDataParser接口的解析器。
This comes with a parser to support the parsing and writing of messages.
还随之提供一个解析器以支持消息的解析和写入。
The language is parsed by a parser written using the Ruby library Ragel.
这门语言使用以ruby类库ragel编写的解析器进行解析。
Creating a parser also attaches default interfaces unless overridden.
创建语法分析器除非被覆盖,否则它还连接默认接口。
A parser reads and decodes XML documents, bringing them from disk to memory.
解析器读取和解码XML文档,将其从磁盘上转到内存中。
In addition, creating a parser can be even more expensive if you are using the JAXP API.
此外,如果使用JAXP API创建解析器,可能需要更高的代价。
I use the term parse order for the order in which elements are reported by a parser.
我将解析器报告元素的顺序称为解析顺序。
Applications that need to use a parser with the same set of features and properties.
需要使用具有一组相同特性和性质的解析器的应用程序。
But I have found that it pays to generate those events from my application, without a parser.
但我发现,在没有语法分析器的情况下,从我的应用程序生成那些事件还是合算的。
For instance, in the case of the simple line-counting program, there's no real need for a parser.
例如,在那个简单的行计数程序的例子中,实际上不需要解析器。
This accounts for the many different ways a parser is allowed to pass text into a ContentHandler.
这考虑到了解析器向ContentHandler传递文本的各种方式。
You can then later read it form the database, and pass it to a parser to recreate the XML document.
此后就可以从数据库中读出,传递给解析器重建XML文档。
JJTree is a preprocessor, and generating a parser for a particular BNF is an easy two-step process.
JJTree是一个预处理器,为特定BNF生成解析器只需要简单的两步。
You can go further and incorporate a parser to do syntax checking, brace-matching and region folding.
你也可以进一步合并一个解析器以实现语法检查、括号匹配和区域折叠。
One of the more complicated tasks for a C++ programmer is coding a parser within a reasonable time period.
C++程序员需要面对的最复杂的任务之一就是在一段合理的时间期限内编写一个解析器。
A parser is required in such cases, which generates meaningful log messages out of those memory dumps.
在这种情况下需要一个解析器,该解析器可以根据这些内存转储生成有意义的日志消息。
You can start by defining a parser pool interface and registering its implementation with your application.
可以事先定义一个解析器池接口,并通过应用程序注册其实现。
The application should interact with your parser pool implementation each time it needs to get a parser.
应用程序应当在需要获得解析器时,与解析器池进行交互。
Or to use the appropriate terminology, how a parser can produce a custom element... in this case our AST objects.
用适当的术语来说就是解析器如何才能产生一个定制的元素(在这里,就是AST对象)。
The method involves first disassembling the input service name into its constituent words using a parser component.
这个方法首先要用解析器组件把输入服务名称分解成单个词。
The result is that they lock their applications into a specific parser -- sometimes a specific version of a parser.
其结果就是他们的应用程序受困于某个特定的语法分析器 --有时甚至是某个语法分析器的特定版本。
If memory efficiency and performance are significant, a parser that USES protocol buffers might be a better choice.
如果内存效率和性能很重要,使用protocolbuffers的解析器可能是个较好的选择。
You can select the check box at any time during script development whether or not you select a parser for syntax validation.
不管您是否选择了用于语法验证的解析器,您都可以在脚本开发过程的任何时候选择复选框。
When you add whitespace to your documents, a parser processes more characters, which in the end affects parsing performance.
当您将空格添加到文档中时,解析器就要处理更多的字符,从而最终影响解析过程的性能。
Issue 1 — for a parser to read the XML accurately, the content stored within the XML file had to format entities accordingly.
第1个问题—为使解析器精确读取XML,存储在XML文件中的内容必须对实体进行相应地格式化。
应用推荐