在我们继续之前,我要特别提一下,术语解析树和抽象语法树(或ast)描述了非常相似的语法结构。
I'll note before we go any further that the terms parse tree and abstract syntax tree (or AST) describe very similar grammatical structures.
请注意,语法分析器传递了足够信息以构建XML文档的文档树,但是与dom语法分析器不同,它并不显式地构建该树。
Note that the parser passes enough information to build the document tree of the XML documents but, unlike a DOM parser, it does not explicitly build the tree.
语法感知的长句断行基于语言的解析树(抽象语法树),其他功能需要各个语言的定制。
The syntax-aware reflow we use to wrap long lines is based on the parse trees (abstract syntax trees) for the language, and some other things need per-language customization.
应用推荐