ts-graphviz
    Preparing search index...

    Interface LiteralASTNode<T>Beta

    LiteralASTNode is a type of AST node that represents a literal value.

    interface LiteralASTNode<T extends string = string> {
        children: never[];
        location?: FileRange;
        quoted: boolean | "html";
        type: "Literal";
        value: T;
    }

    Type Parameters

    • T extends string = string

    Hierarchy (View Summary)

    Index

    Properties

    children: never[]
    location?: FileRange

    The start and end location of the AST object.

    quoted: boolean | "html"

    A flag indicating whether the literal was quoted or not. If 'html' then the literal is an html like value.

    type: "Literal"

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

    value: T

    The value of the literal.