(name: str)
| 814 | cache = {} |
| 815 | |
| 816 | def match_fn(name: str) -> list[tuple[gm.Point, ...]]: |
| 817 | if name in cache: |
| 818 | return cache[name] |
| 819 | |
| 820 | result = list(match_all(name, graph)) |
| 821 | cache[name] = result |
| 822 | return result |
| 823 | |
| 824 | return match_fn |
| 825 |
nothing calls this directly
no test coverage detected