一旦注册完毕,当语法分析器处理文档时,语法分析器就会通知所有分析事件的内容处理程序。
Once registered, the parser notifies the content handler of all parse events as the parser processes the document.
其结果就是他们的应用程序受困于某个特定的语法分析器 --有时甚至是某个语法分析器的特定版本。
The result is that they lock their applications into a specific parser -- sometimes a specific version of a parser.
定义语法分析器类,应用程序员将定义一个'handler '类,该类将注册所使用的语法分析器。
Instead of defining a parser class, an application programmer defines a 'handler' class that is registered with whatever parser is used.
应用程序员将定义一个handler类,而不是语法分析器类,该handler类能注册到任何所使用的语法分析器中。
Instead of defining a parser class, an application programmer defines a handler class that is registered with whatever parser is used.
该语法分析器有四个部件组成,分词程序、词法分析、语法分析和语义预置。
There are four components of the parser, word process, lexical analysis, syntax analysis and semantic preferences.
该语法分析器有四个部件组成,分词程序、词法分析、语法分析和语义预置。
There are four components of the parser, word process, lexical analysis, syntax analysis and semantic preferences.
应用推荐