好词典

ast

UK /ɑːst/US /æst/

词源

Acronym derived from 'Abstract Syntax Tree', first used in compiler design in the mid-20th century.

noun

❶ AST是抽象语法树(Abstract Syntax Tree)的缩写,用于表示编程语言代码的结构,常用于编译器和解释器中分析代码。

“The compiler converts source code into an AST for analysis.”

(编译器将源代码转换为抽象语法树进行分析。)

“ASTs are widely used in static code analysis tools.”

(抽象语法树广泛用于静态代码分析工具中。)

同义词:abstract syntax tree, parse tree, syntax tree

常见短语

AST node — 指抽象语法树中的一个节点,代表代码中的特定语法元素,如变量、表达式或语句。

“Each AST node corresponds to a specific part of the source code.”

(每个AST节点对应源代码的特定部分。)