Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A: A hierarchical representation of the source code as a tree of nodes. For example, the function call

No Format
trace(1, 2i + 1);

is represented by the AST

No Format
FunctionCallNode "trace"
  BinaryOperatorPlusNode
  LiteralNode 1  IdentifierNode "i"
    LiteralNode 21

where indentation indicates a parent-child relationship.

...