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

Constructors

Properties

Methods

Constructors

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.

Methods

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

    • end: number
    • start: number