Ibyar/Aurora
    Preparing search index...

    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): N;
        visit?(node: N, visitNode: Object): void;
    }

    Type Parameters

    Hierarchy (View Summary)

    • TypeOf<N>
      • ExpressionNodConstructor
    Index
    • Parameters

      • ...params: any[]

      Returns N

    type: string

    the type of an expression

    • build expression node from ESTree json object

      Parameters

      Returns N

    • visit nodes inside expression

      Parameters

      • node: N
      • visitNode: Object

      Returns void