parser

parser

美 [ˈpɑrsər]  英 [ˈpɑː(r)zə(r)]

  • n.剖析器;〔计〕语法分析程序;句法分析的程序
  • 网络解析器;分析器;语法分析器

词形变化

复数:parsers  

英汉解释

n.
1.
剖析器
2.
〔计〕语法分析程序
3.
句法分析的程序

英英解释

n.

例句

One of the parser's main jobs is to determine the validity of any expression you pass it and to let you know.

解析主要工作之一就是确定传递任何表达式有效性并且知道

Yacc is a grammar parser; it reads text and can be used to turn a sequence of words into a structured format for processing.

Yacc一种语法分析可以读取文本用来单词序列转换便于处理结构化格式

You then pass these methods (in the form of a handler) to the parser, along with a document to be parsed.

然后这些方法处理程序形式以及解析文档一起传递解析

Or to use the appropriate terminology, how a parser can produce a custom element . . . in this case our AST objects.

适当术语来说就是解析如何才能产生一个定制元素这里就是AST对象)。

That's because an XML parser has no idea whether that textual data -- that annoying whitespace -- is meant to be important.

因为XML语法分析知道文本数据--令人头疼空格--是否重要

Every regular expression is logically equivalent to a state machine, and the parser of every regular expression implements a state machine.

逻辑上每个规则表达式等价一个状态每个规则表达语法分析实现这个状态

Most parsers that implement the DOM provide at least a vendor-specific means of access to an underlying SAX parser.

很多实现DOM解析至少提供一个供应商专用方法访问一个底层SAX解析

This flexibility gives you many choices when trying to solve scalability or performance problems in a particular XML parser.

这种灵活性一个特定XML解析解决可扩展性性能问题提供更多选择

The OCL parser at the bottom of the OCL expression editor confirms that the syntax is okay and that you're returning a collection.

OCLexpressioneditor底部OCL解析确认语法是否正确以及是否返回一个集合

While it was never difficult, and while the parser is a standard part of the platform, the extra work was a bit of an annoyance.

虽然并非一件困难事情并且解析平台标准部分但是额外工作总是有点

Since the grammar of JSON is fairly simple, you can implement such a parser easily without any noticeable performance difference.

由于JSON语法相当简单可以轻易地实现这种解析不会带来显著性能差异

Note that the SAX parser is not required to supply a Locator, but if it does, it must fire this event before any other event.

注意需要SAX语法分析提供Locator但是如果提供必须任何其它事件之前激活事件

You might have to adapt the classpath (second command) if you installed the parser in a different directory.

如果另一个目录安装语法分析可能必须修改classpath第二命令)。

Parsing of XML data is often done with a SAX-style parser.

XML数据解析通常使用一个SAX风格解析完成

In the past, to revalidate your document once it had been modified you had to save it to a file and read it back with a validating parser.

过去文档修改进行重新验证必须保存一个文件验证解析回去

The problem with XML in browser-based application development is the lack of a native, easy-to-use JavaScript parser.

基于浏览器应用程序开发XML缺乏本地易于使用JavaScript解析

The MRM CWF parser uses the record's properties (the length of each field) to determine where one Invoice ends and the next one begins.

MRMCWF解析使用记录属性每个字段长度确定一个Invoice记录何处结束以及下一个Invoice记录何处开始

Recognizing and rejecting unexpected formats you aren't prepared to handle is typically the province of a validating XML parser.

识别拒绝打算处理预期格式通常属于XML验证解析范畴

As you know, SAX parsing requires you to write a ContentHandler that processes parser events.

知道SAX语法分析要求编写处理语法分析事件ContentHandler

Before any provider can be built, the existence of some sort of domain-specific parser is required.

创建任何种类Provider之前需要一些特定领域剖析存在

If you do not include it, a parser error occurs.

如果包含属性出现分析器错误

Unfortunately, a majority of the time, the parser's message validation functions are not enabled due to its impact on performance.

不幸大部分时间由于对于性能方面影响解析消息验证函数不能启用

A DOM parser turns an XML document into an easy-to-use object representing all the data from the XML document.

DOM解析XML文档转换表示文档所有数据易于使用对象

Any attempt to write in a configuration file at a different level in the hierarchy will result in an error message generated by the parser.

如果配置文件位于层次结构其他级别配置文件任何写入尝试都会导致分析器产生条错误信息

Sure, you could use the XML parser in a Web client to read the data, but two problems arise with that approach.

当然可以Web客户机使用XML解析读取数据这种做法带来两个问题

If your document is large, but you only need part of the document, then the XML pull parser might be a more efficient way to go.

如果文档比较需要文档一部分XMLPull解析可能更为有效方法

JAXP initially had the goal to remove some of the vendor-specific details, related to which XML parser was used, from SAX and DOM code.

最初JAXP目标SAXDOM代码移除一些特定供应商信息涉及到使用XML解析)。

These comments don't provide complete CDT grammar, but if you're trying to use or modify the Parser class, you'll them helpful.

这些注释并不提供完整CDT语法如果试图使用修改Parser它们将会帮助

We have also taken a brief look at how to define an analysis result class and given a bit of an overview of the parser.

同时我们简略学习怎样定义一个分析结果给出剖析概述

It is the responsibility of the application to call the parser repetitively in a loop until the end of the document is reached.

循环应用程序负责反复调用解析直到文件结束

Building your own parser increases the complexity of your application , and will not perform as well as the shipped parsers .

构建自己分析器增加应用程序复杂程度执行效果不如附带分析器

The techniques include XML parser, RDBMS and a given format configuration, which used to verify the standardization of RSS metadata.

包括XML解析关系数据库应用采用特定格式配置文件检验元数据规范性满足用户不同数据抽取

Involve setting the value of a specific item that the parser uses, like the location of a schema to validate all documents against.

包括设置解析使用特定用来验证所有文档模式位置

Although the quality of error messages produced during validation by an XML Schema parser can be improved significantly.

但是XMLSchema解析验证期间生成错误消息质量显著改进

The XML portion of a query is converted to the XML world for parsing by the XML parser, and for output (serialization) of the XML value.

查询XML部分转换XML世界以便XML解析进行解析以及XML输出串行化)。

If it returns an , the entire expression consists of a single integer, is valid, and the parser returns control to the calling application.

如果返回单个整数构成整个表达式有效解析控制返还调用应用程序

That URI is usually provided by the parser based on the location of the file in which it was parsed.

解析通常根据解析文件位置提供这个URI

I'll also show you how a single parser (represented by an instance of an XMLReader) can have multiple handlers registered to it.

展示一个解析XMLReader一个实例作为代表如何可以注册多个处理程序

These behaviors are totally independent of a specific XML document, and therefore involve interaction with your new parser instance.

这些行为完全独立于特定XML文档因此涉及解析实例交互

Wrapping the parser within an unmarshalling context allows a wide variety of access methods to be defined with a minimum of code.

解析包装数据上下文这样可以最少代码定义各种各样访问方法