Lines Matching full:match
46 def JSONConstant(match, context, c=_CONSTANTS):
47 return c[match.group(0)], None
50 def JSONNumber(match, context):
51 match = JSONNumber.regex.match(match.string, *match.span())
52 integer, frac, exp = match.groups()
68 def scanstring(s, end, encoding=None, _b=BACKSLASH, _m=STRINGCHUNK.match):
111 def JSONString(match, context):
113 return scanstring(match.string, match.end(), encoding)
118 def JSONObject(match, context, _w=WHITESPACE.match):
120 s = match.string
121 end = _w(s, match.end()).end()
160 def JSONArray(match, context, _w=WHITESPACE.match):
162 s = match.string
163 end = _w(s, match.end()).end()
246 def decode(self, s, _w=WHITESPACE.match):