Interface TwingArrowFunctionNode

interface TwingArrowFunctionNode {
    attributes: TwingBaseNodeAttributes;
    children: {
        body: TwingBaseExpressionNode;
        names: TwingBaseNode<any, any, Record<string, TwingAssignmentNode>>;
    };
    column: number;
    line: number;
    tag: null | string;
    type: "arrow_function";
    execute(executionContext): Promise<any>;
}

Hierarchy (view full)

Properties

children: {
    body: TwingBaseExpressionNode;
    names: TwingBaseNode<any, any, Record<string, TwingAssignmentNode>>;
}

Type declaration

column: number
line: number
tag: null | string
type: "arrow_function"

Methods

  • Parameters

    Returns Promise<any>

Generated using TypeDoc