devsite/node_modules/liquidjs/dist/tokens/token.d.ts
2024-07-07 18:49:38 -07:00

13 lines
374 B
TypeScript

import { TokenKind } from '../parser';
export declare abstract class Token {
kind: TokenKind;
input: string;
begin: number;
end: number;
file?: string | undefined;
constructor(kind: TokenKind, input: string, begin: number, end: number, file?: string | undefined);
getText(): string;
getPosition(): number[];
size(): number;
}