AST

A tree of objects that represents the structure of source code, built by the parser and used by every later compiler phase.

In more detail

AST stands for abstract syntax tree. Each node is one piece of syntax, such as a function declaration whose children are its parameters and body. The checker walks this tree to apply type rules, and the emitter walks it to print JavaScript.

Related terms

Taught in

References