devsite/node_modules/liquidjs/dist/tokens/token.d.ts

13 lines
374 B
TypeScript
Raw Normal View History

2024-07-08 01:49:38 +00:00
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;
}