Contains a range of UTF-8 character offsets and token references that identify the region of the source from which the AST derived.

Hierarchy

  • Location

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    Returns Location

Properties

end: number

The character offset at which this Node ends.

endToken: Token

The Token at which this Node ends.

source: Source

The Source document the AST represents.

start: number

The character offset at which this Node begins.

startToken: Token

The Token at which this Node begins.

Accessors

  • get [toStringTag](): string
  • Returns string

Methods

  • Returns {
        end: number;
        start: number;
    }

    • end: number
    • start: number

Generated using TypeDoc