Interface TwingExtensionSet<Extension>

interface TwingExtensionSet<Extension> {
    binaryOperators: TwingOperator[];
    filters: Map<string, Extension["filters"][number]>;
    functions: Map<string, Extension["functions"][number]>;
    nodeVisitors: TwingNodeVisitor[];
    tagHandlers: TwingTagHandler[];
    tests: Map<string, Extension["tests"][number]>;
    unaryOperators: TwingOperator[];
    addExtension(extension: Extension): void;
    addFilter(filter: Extension["filters"][number]): void;
    addFunction(twingFunction: Extension["functions"][number]): void;
    addNodeVisitor(visitor: TwingNodeVisitor): void;
    addOperator(operator: TwingOperator): void;
    addTagHandler(tagHandler: TwingTagHandler): void;
    addTest(test: Extension["tests"][number]): void;
}

Type Parameters

Properties

binaryOperators: TwingOperator[]
filters: Map<string, Extension["filters"][number]>
functions: Map<string, Extension["functions"][number]>
nodeVisitors: TwingNodeVisitor[]
tagHandlers: TwingTagHandler[]
tests: Map<string, Extension["tests"][number]>
unaryOperators: TwingOperator[]

Methods