MFML - v0.0.4
    Preparing search index...

    Interface LiteralNode<Value>

    The node describes a literal value.

    interface LiteralNode<Value = any> {
        endIndex?: number;
        nodeType: "literal";
        parentNode: null | ArgumentNode | OptionNode;
        startIndex?: number;
        value: Value;
    }

    Type Parameters

    • Value = any

      The literal value.

    Hierarchy (View Summary)

    Index

    Properties

    endIndex?: number

    The index at which a node value ends (exclusive).

    nodeType: "literal"

    The node type.

    parentNode: null | ArgumentNode | OptionNode

    The parent node.

    startIndex?: number

    The index at which a node value starts (inclusive).

    value: Value

    The node value.