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.
10 lines (9 loc) • 403 B
TypeScript
import { Tag, Liquid, TopLevelToken, Emitter, TagToken, Context } from '..';
import { IdentifierToken } from '../tokens';
export default class extends Tag {
private identifier;
private variable;
constructor(token: TagToken, remainTokens: TopLevelToken[], liquid: Liquid);
render(context: Context, emitter: Emitter): void;
localScope(): Iterable<string | IdentifierToken>;
}