UNPKG

twing

Version:

First-class Twig engine for the JavaScript ecosystem

13 lines (12 loc) 585 B
import type { TwingBaseExpressionNodeAttributes } from "../expression"; import { TwingBaseNode } from "../../node"; export type TwingNameNodeAttributes = TwingBaseExpressionNodeAttributes & { name: string; isAlwaysDefined: boolean; shouldIgnoreStrictCheck: boolean; shouldTestExistence: boolean; }; export interface TwingNameNode extends TwingBaseNode<"name", TwingNameNodeAttributes> { } export declare const createNameNode: (name: string, line: number, column: number) => TwingNameNode; export declare const cloneNameNode: (nameNode: TwingNameNode) => TwingNameNode;