I'll note before we go any further that the terms parse tree and abstract syntax tree (or AST) describe very similar grammatical structures.
在我们继续之前,我要特别提一下,术语解析树和抽象语法树(或ast)描述了非常相似的语法结构。
Strictly speaking, the AST (abstract syntax tree) is also an IR (intermediate representation) - since it is not quite the source, and not quite the target language.
严格说来,AST(抽象语法树)也是一种IR——因为它既不是源代码,也不是目标语言。
Traverses the abstract syntax tree (AST) one or more times, collecting information and checking that the input program makes sense.
遍历抽象语法树(abstract syntax tree, AST)一次或多次,收集信息并检查输入程序makes sense。
应用推荐