MCPcopy Index your code
hub / github.com/RustPython/RustPython / scan_once

Function scan_once

Lib/json/scanner.py:65–69  ·  view source on GitHub ↗
(string, idx)

Source from the content-addressed store, hash-verified

63 raise StopIteration(idx)
64
65 def scan_once(string, idx):
66 try:
67 return _scan_once(string, idx)
68 finally:
69 memo.clear()
70
71 return scan_once
72

Callers 2

JSONObjectFunction · 0.85
JSONArrayFunction · 0.85

Calls 2

_scan_onceFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected