parser
n. [计] 分析程序;语法剖析程式
2026-03-22 00:58 浏览次数 16
n. [计] 分析程序;语法剖析程式
"compilers must parse source code in order to translate it into object code"
tree parser树分析器
data parser数据解析
pull parser拉解析器
Command Parser命令解析器
XML parserXML解析器
Grammar Parser语法分析器
Parser program剖析器程序
dependency parser分析器
if the parser already knows about the schema types in that namespace, or has some other means of finding them, it does not have to go to the location you gave it.
如果解析器已经知道命名空间中的模式类型,或者有其他寻找这些模式类型的方法,它就不需要定位到你所提供的位置。
the parser is the software that takes those meaningful words and builds a parse tree out of them by recognizing their type and purpose.
解析器是一种软件,它从文本获得那些有意义的单词,并通过识别这些单词的类型与用途,从中构建解析树。
to be accurate, this is actually an interface, and your parser vendor provides some type of implementation of this interface.
确切地说,它实际上是一个接口,您的解析器提供商提供了这个接口的一些类型的实现。
the parser sends events, such as the start or end of an element, to an event handler, which processes the information.
解析器向一个事件处理程序发送事件,比如元素的开始和结束,而事件处理程序则处理该信息。
for example, adding a trailing word that is definitely not an a convinces the parser to work -- but only if ran with debugging information!
例如,添加一个绝对不是a的末尾单词,解析器可以工作 ——但只能在有调试信息的条件下运行!
configuring the parser in this way speeds up the processing of attributes.
通过这种方式配置解析器可以提高处理属性的速度。
you can improve the performance of your xml application by using the parser efficiently.
您可以通过有效地使用解析器提高xml应用程序的性能。
you can compile and 「run」 this program to see if your parser operates correctly before moving on to step 5.
在进行到步骤5之前,您可以编译并「运行」该程序以查看您的解析器运作是否正确。
during resolution, the parser locates the referenced content and inserts it into the xml.
解析期间,分析器会找到被引用的内容并将它插入xml中。
in this program, the parser uses global variables to track the list of messages parsed.
在这个程序中,解析器使用全局变量来追蹤解析的消息列表。
you must do this at the parser factory level.
必须在语法分析器类厂级别执行该操作。
what the parser fills in depends on the path it takes through the tokenizer.
解析器填入的内容取决于它通过记号赋予器所采用的路径。
of course, if the parser does less work, it means you (the developer) have more work to do.
当然,如果语法分析器的工作减少,则意味着您(开发者)有更多的工作要做。
you can register your entity resolver on your parser as shown in listing 4.
您可以将实体解析器注册在分析器上,如「清单4」中所示。
in addition, jdom is not concerned with parsing xml from text input, although it provides wrapper classes that take much of the work out of configuring and running a parser implementation.
另外,尽管它提供的类的封装从配置和运行分析器执行中分担了大量工作,但它不负责根据文本输入来对xml进行语法分析。
if the xml parser sees a null character in its input, it throws an exception and stops processing.
如果xml解析器在其输入中看到一个空字符,它就会发出异常并停止处理。
the parser achieves these gains by using symbol table data structures that occupy less memory and by multithreading the processing across two or more cores.
解析器使用占用更少内存的符号表数据结构和跨两个或更多内核的多线程处理来实现这些性能。
we will also show you how to reuse parser instances.
我们还将向您展示如何重用解析器实例。
once you specify which scanner to use, you still have features to control whether or not the parser performs validation.
指定了使用哪种扫描程序后,您仍然可以使用一些特性来控制解析器是否执行验证。
you can select the check box at any time during script development whether or not you select a parser for syntax validation.
不管您是否选择了用于语法验证的解析器,您都可以在脚本开发过程的任何时候选择复选框。
so how hard can it be to write a configuration file parser if you begin with this kind of implementation?
那么,如果您从此类实现开始的话,编写一个配置文件解析器有多难呢?