Interface Template

interface Template {
    token: Token;
    arguments?(): Arguments;
    blockScope?(): Iterable<string>;
    children?(partials: boolean, sync: boolean): Generator<unknown, Template[], unknown>;
    localScope?(): Iterable<IdentifierToken | QuotedToken>;
    partialScope?(): undefined | PartialScope;
    render(ctx: Context, emitter: Emitter): any;
}

Implemented by

Properties

token: Token

Methods