UNPKG

505 BTypeScriptView Raw
1import { ValueToken, Liquid, Value, Emitter, TagToken, TopLevelToken, Context, Template, Tag } from '..';
2import { Parser } from '../parser';
3export default class extends Tag {
4 value: Value;
5 branches: {
6 values: ValueToken[];
7 templates: Template[];
8 }[];
9 elseTemplates: Template[];
10 constructor(tagToken: TagToken, remainTokens: TopLevelToken[], liquid: Liquid, parser: Parser);
11 render(ctx: Context, emitter: Emitter): Generator<unknown, void, unknown>;
12}