interface Text {
    data?: CommonData;
    position?: Position;
    type: "text";
    value: string;
}

Hierarchy (view full)

Properties

data?: CommonData
position?: Position

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

type

Node type.

value: string