UNPKG

proc_macro

Version:
16 lines 483 B
import Token from './token'; declare type LiteralType = 'string' | 'number' | 'none'; /** * A value (string, number). */ export default class Literal extends Token { readonly value: string; readonly type: LiteralType; constructor(value: string, type: LiteralType); eq(other: any): boolean; static tokenize(token_string: string): [Literal, string]; toParenthesisString(): string; toJavaScript(): string; } export {}; //# sourceMappingURL=literal.d.ts.map