UNPKG

liquidjs

Version:

A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.

13 lines (12 loc) 478 B
import { Liquid, TopLevelToken, TagToken, Context, Tag } from '..'; import { Arguments } from '../template'; import { IdentifierToken } from '../tokens'; export default class extends Tag { private key; private value; private identifier; constructor(token: TagToken, remainTokens: TopLevelToken[], liquid: Liquid); render(ctx: Context): Generator<unknown, void, unknown>; arguments(): Arguments; localScope(): Iterable<IdentifierToken>; }