AST standard: ESTree, an extension of SpiderMonkey’s AST standard

What is the AST

The AST is an abstraction of the source code

  • Literal
  • Identifiers
  • Statement
  • Declaration
  • Expression
  • Class syntax (class)

AST Visual viewing tool

astexplorer.net/

Public attributes of the AST