ts-graphviz
    Preparing search index...

    Interface EdgeASTNodeBeta

    EdgeASTNode is a type of AST node that represents an edge in a graph.

    interface EdgeASTNode {
        children: (CommentASTNode | AttributeASTNode<AttributeKey>)[];
        location?: FileRange;
        targets: [
            from: EdgeTargetASTNode,
            to: EdgeTargetASTNode,
            ...rest: EdgeTargetASTNode[],
        ];
        type: "Edge";
    }

    Hierarchy (View Summary)

    Index

    Properties

    location?: FileRange

    The start and end location of the AST object.

    targets: [
        from: EdgeTargetASTNode,
        to: EdgeTargetASTNode,
        ...rest: EdgeTargetASTNode[],
    ]

    An array of EdgeTargetASTNodes. The EdgeTargetASTNode represents a node that is the target of an edge.

    type: "Edge"

    Every leaf interface that extends ASTBaseNode must specify a type property.