UNPKG

proc_macro

Version:
16 lines 475 B
import Token from './token'; declare type Spacing = 'alone' | 'joint'; /** * A punctuation that is used in programming. */ export default class Punct extends Token { readonly char: string; readonly spacing: Spacing; constructor(char: string, spacing: Spacing); eq(other: any): boolean; static tokenize(token_string: string): [Punct, string]; toParenthesisString(): string; toJavaScript(): string; } export {}; //# sourceMappingURL=punct.d.ts.map