Home
last modified time | relevance | path

Searched refs:ERRORTOKEN (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Tools/scripts/
Dgenerate_token.py15 ERRORTOKEN = None
29 ERRORTOKEN = value
35 return tok_names, ERRORTOKEN, string_to_tok
91 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile)
94 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]):
162 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile)
175 if value >= ERRORTOKEN:
198 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile)
202 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]):
244 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile)
[all …]
/external/python/cpython2/Parser/
Dtokenizer.c1264 return ERRORTOKEN; in tok_get()
1272 return ERRORTOKEN; in tok_get()
1276 return ERRORTOKEN; in tok_get()
1292 return ERRORTOKEN; in tok_get()
1296 return ERRORTOKEN; in tok_get()
1364 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
1446 return ERRORTOKEN; in tok_get()
1458 return ERRORTOKEN; in tok_get()
1470 return ERRORTOKEN; in tok_get()
1500 return ERRORTOKEN; in tok_get()
[all …]
Dparsetok.c160 if (type == ERRORTOKEN) { in parsetok()
/external/python/cpython3/Parser/
Dtokenizer.c1082 return ERRORTOKEN; in syntaxerror()
1090 return ERRORTOKEN; in indenterror()
1240 return ERRORTOKEN; in tok_get()
1259 return ERRORTOKEN; in tok_get()
1378 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
1418 return ERRORTOKEN; in tok_get()
1608 return ERRORTOKEN; in tok_get()
1635 return ERRORTOKEN; in tok_get()
1646 return ERRORTOKEN; in tok_get()
1671 return ERRORTOKEN; in tok_get()
[all …]
Dparsetok.c313 if (type == ERRORTOKEN) { in parsetok()
/external/python/cpython3/Tools/peg_generator/pegen/
Dtokenizer.py37 if tok.type == token.ERRORTOKEN and tok.string.isspace():
53 if tok.type == token.ERRORTOKEN and tok.string.isspace():
/external/python/cpython3/Grammar/
DTokens62 ERRORTOKEN
/external/python/cpython2/Include/
Dtoken.h65 #define ERRORTOKEN 52 macro
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtoken.py65 ERRORTOKEN = 56 variable
Dtokenize.py388 yield (ERRORTOKEN, contstr + line,
491 yield (ERRORTOKEN, line[pos],
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtoken.py67 ERRORTOKEN = 58 variable
Dtokenize.py381 yield (ERRORTOKEN, contstr + line,
548 yield (ERRORTOKEN, line[pos],
/external/python/cpython3/Include/
Dtoken.h72 #define ERRORTOKEN 59 macro
/external/python/cpython3/Lib/
Dtoken.py66 ERRORTOKEN = 59 variable
Dtokenize.py470 yield TokenInfo(ERRORTOKEN, contstr + line,
600 yield TokenInfo(ERRORTOKEN, line[pos],
Dinspect.py1954 ERRORTOKEN = token.ERRORTOKEN
1980 if (type == ERRORTOKEN) and (string == '$'):
/external/python/cpython2/Lib/
Dtoken.py63 ERRORTOKEN = 52 variable
Dtokenize.py335 yield (ERRORTOKEN, contstr + line,
443 yield (ERRORTOKEN, line[pos],
/external/python/cpython2/Doc/library/
Dtoken.rst98 ERRORTOKEN
Dtokenize.rst116 raised. They are tokenized as ``ERRORTOKEN``, followed by the tokenization of
/external/python/cpython3/Doc/library/
Dtoken-list.inc214 .. data:: ERRORTOKEN
Dtokenize.rst143 raised. They are tokenized as :data:`~token.ERRORTOKEN`, followed by the
/external/python/cpython3/Parser/pegen/
Dpegen.c664 if (type == ERRORTOKEN) { in _PyPegen_fill_token()