Interface ExpressionNodConstructor<N>

this is how to: describe a class with it's static functions and properties in the interface add getClass method

interface ExpressionNodConstructor<N extends ExpressionNode> {
    new ExpressionNodConstructor(...params: any[]): N;
    type: string;
    fromJSON(node: N, deserializer: NodeDeserializer<ExpressionNode>): N;
    visit(node: N, visitNode: Object): void;
}

Type Parameters

Hierarchy

  • TypeOf<N>
    • ExpressionNodConstructor

Constructors

Properties

Methods

Constructors

  • Parameters

    • ...params: any[]

    Returns N

Properties

type: string

the type of an expression

Methods

  • visit nodes inside expression

    Parameters

    • node: N
    • visitNode: Object

    Returns void