Skip to main content

Position AST Common Object

The Position object represent a position in the AST.

info

The Position object is used by the AstElement. It is used by the start end end attribute for all AST objects.

Attributes

  • line (type number): the line of the position
  • col (type number): the column of the position