The AST is a tree representation of the source code that contains everything from variable declarations to function definitions and method invocations.
AST是源代码的树形表示,它包含了从变量声明到功能定义和方法调用的全部内容。
To see more clearly, this distinction of when you would use a scanner vs. an AST, consider the code in Listing 10.
要更清晰地了解何时使用扫描程序与何时使用 AST 之间的差别,请考虑清单 10 中的代码。
L ast week, I went to a dinner party that gave me a bout of indigestion.
上周我去参加了一个晚宴,结果害得我消化不良。
应用推荐