MCPcopy Index your code
hub / github.com/clips/pattern / scan_once

Function scan_once

pattern/web/json/scanner.py:69–73  ·  view source on GitHub ↗
(string, idx)

Source from the content-addressed store, hash-verified

67 raise StopIteration
68
69 def scan_once(string, idx):
70 try:
71 return _scan_once(string, idx)
72 finally:
73 memo.clear()
74
75 return scan_once
76

Callers 2

JSONObjectFunction · 0.85
JSONArrayFunction · 0.85

Calls 2

_scan_onceFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…