UNPKG

liquidjs

Version:

A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.

13 lines (12 loc) 374 B
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; }