/** * A number literal, in every form of language.md 3.5: decimal with or without a * fractional part, a fractional part with no leading digit, an exponent, digit * group underscores and the hexadecimal form. There is no octal form, so `010` * is ten, which falls out of reading the digits rather than being a special * case. */ export interface NumberLiteral { /** One past the last character of the literal. */ readonly end: number; readonly value: number; } /** * Reads the literal starting at `start`, which the caller has established * begins a number: a digit, or a dot with a digit after it. * * The value is computed here and carried on the token so that no later stage * re-reads the text and has to agree a second time about underscores and about * the hexadecimal form. */ export declare function scanNumber(text: string, start: number): NumberLiteral; //# sourceMappingURL=numbers.d.ts.map