Base class for AST nodes which can have Spans.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

span?: Span
type: "NumberLiteral" = ...
value: string

Methods

  • Returns {
        precision: number;
        value: number;
    }

    • precision: number
    • value: number