@agentix-e/spel-ts - v1.2.2
    Preparing search index...

    Function findNodePath

    • Find the node path from root to the node at a given character position.

      Returns the sequence of nodes from root to the deepest node whose position range contains the given offset.

      Parameters

      • root: SpelNodeImpl

        The AST root node

      • position: number

        Character offset in the source expression

      Returns SpelNodeImpl[]

      Array of nodes from root to target (inclusive), or empty if not found