Documentation
    Preparing search index...

    Interface TwingNodeVisitor

    The interface that all node visitors must implement.

    interface TwingNodeVisitor {
        enterNode(node: TwingBaseNode, source: TwingSource): TwingBaseNode;
        leaveNode(
            node: TwingBaseNode,
            source: TwingSource,
        ):
            | null
            | TwingBaseNode<any, TwingBaseNodeAttributes, TwingBaseNodeChildren>;
    }
    Index

    Methods