语法树是句子结构的图形表示,它代表了句子的推导结果,有利于理解句子语法结构的层次。简单说,语法树就是按照某一规则进行推导时所形成的树。
The parser tree is an important concept of this part and of the whole browser program. There is a special part to introduce it.
“语法树”是这部分以及整个浏览器程序中的重要概念,本章中有专门小节对它进行介绍。
参考来源 - 嵌入式浏览器的研究Using a example,we expound the shape and the building process of the parsering tree.
结合实例,详细说明了语法树的形状和生成过程。
参考来源 - 具有空间数据处理能力的流数据查询语言的研究与实现·2,447,543篇论文数据,部分数据来源于NoteExpress
前端组件用来解析源码并生成抽象语法树。
The front-end component handles the parsing of source code and the generation of abstract syntax trees.
抽象语法树是一个表示为对象集合的表达式。
An abstract syntax tree is an expression represented as a collection of objects.
编译器的首个编译过程会将其编译成语法树。
The first pass of the compiler turns this into a syntax tree.
应用推荐