Pass an array of these into SyntaxError.prototype.format()

interface SourceText {
    source: GrammarSource;
    text: string;
}

Properties

Properties

Identifier of an input that was used as a grammarSource in parse().

text: string

Source text of the input.