AttributeASTNode is a type of AST node that represents an attribute.

interface AttributeASTNode<T> {
    children: never[];
    key: LiteralASTNode<T>;
    location?: FileRange;
    type: "Attribute";
    value: LiteralASTNode<string>;
}

Type Parameters

Hierarchy (view full)

Properties

children: never[]
location?: FileRange

The start and end location of the AST object.

type: "Attribute"

Every leaf interface that extends ASTBaseNode must specify a type property.

value: LiteralASTNode<string>

Generated using TypeDoc