Node in the AST.

interface ASTNode {
    c?: ASTNode[];
    isArray?: boolean;
    n?: string;
    o: string;
    v?: any;
    vt?: string | string[];
}

Properties

Properties

c?: ASTNode[]

Child nodes of this node.

isArray?: boolean

Indicate, if 'v' is an array.

n?: string

Name of the left side attribute of the operator.

o: string

Name of the operator.

v?: any

Value of the right side of the operator. Can be an array of values.

vt?: string | string[]

Value type (typeof v). Is an array if 'v' is an array, too.

Generated using TypeDoc