开局一张图,剩下全靠编
抽象语法树(abstract syntax tree, AST)
In computer science, an abstract syntax tree (AST), or just syntax tree, is a tree representation of the abstract syntactic structure of source code written in a programming language. Each node of the tree denotes a construct occurring in the source code.
抽象语法树(AST)就是由代码本身解析得到的一个树形结构