dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Function pathsWithCapturesDirect

    • Computes paths with captures directly without using the VM. This is used internally by the VM to avoid infinite recursion.

      Note: This function delegates capture collection to the pattern's own matching mechanism. The VM has its own capture tracking, so this just returns paths with any captures found during matching.

      Parameters

      • pattern: Pattern

        The pattern to match

      • haystack: Cbor

        The CBOR value to search

      Returns MatchResult

      Match result with paths and captures