Lines Matching refs:string
28 def _scan_once(string, idx):
30 nextchar = string[idx]
35 return parse_string(string, idx + 1, encoding, strict)
37 return parse_object((string, idx + 1), encoding, strict,
40 return parse_array((string, idx + 1), _scan_once)
41 elif nextchar == 'n' and string[idx:idx + 4] == 'null':
43 elif nextchar == 't' and string[idx:idx + 4] == 'true':
45 elif nextchar == 'f' and string[idx:idx + 5] == 'false':
48 m = match_number(string, idx)
56 elif nextchar == 'N' and string[idx:idx + 3] == 'NaN':
58 elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity':
60 elif nextchar == '-' and string[idx:idx + 9] == '-Infinity':