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

Properties

type: string

the type of an expression

Methods