UNPKG

liquidjs

Version:

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

10 lines (9 loc) 403 B
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>; }