Start by constructing a parser.
首先构造一个解析器。
手工构建一个解析器。
重新编写一个解析器。
Like a parser, it can generate SAX events.
和解析器一样,它能生成SAX事件。
Use of a parser and character escaping.
解析器和字符转义的使用。
It creates a parser object around a grammar.
它围绕着文法创建解析器对象。
A parser may or may not use a model when parsing.
解析器在执行解析时可能使用也可能不使用某个模型。
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接口的解析器。
You can eval the response directly, but it is safer to use a parser.
您可以直接地eval这个响应,但使用解析器将会更安全。
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 other words, a parser would consider the two documents to be different.
换句话说,语法分析器会认为这两个文档是不同的。
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.
例如,在那个简单的行计数程序的例子中,实际上不需要解析器。
You can then later read it form the database, and pass it to a parser to recreate the XML document.
此后就可以从数据库中读出,传递给解析器重建XML文档。
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.
其结果就是他们的应用程序受困于某个特定的语法分析器 --有时甚至是某个语法分析器的特定版本。
应用推荐