* The traverser that will stop the repeat when matched.
()
| 3663 | * The traverser that will stop the repeat when matched. |
| 3664 | */ |
| 3665 | protected get untilTraverser() { |
| 3666 | if (this.#untilTraverser === undefined) { |
| 3667 | const { untilSteps } = this.config; |
| 3668 | if (untilSteps !== undefined && untilSteps.length > 0) { |
| 3669 | return (this.#untilTraverser = createTraverser(untilSteps)); |
| 3670 | } |
| 3671 | return undefined; |
| 3672 | } |
| 3673 | return this.#untilTraverser; |
| 3674 | } |
| 3675 | |
| 3676 | public *traverse( |
| 3677 | source: GraphSource<any>, |
nothing calls this directly
no test coverage detected