Home
last modified time | relevance | path

Searched refs:ERRORTOKEN (Results 1 - 12 of 12) sorted by relevance

/third_party/python/Tools/scripts/
H A Dgenerate_token.py15 ERRORTOKEN = None
28 if name == 'ERRORTOKEN':
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
[all...]
/third_party/python/Parser/
H A Dtokenizer.c1155 return ERRORTOKEN; in _syntaxerror_range()
1195 return ERRORTOKEN; in indenterror()
1448 return ERRORTOKEN; in tok_get()
1491 return ERRORTOKEN; in tok_get()
1510 return ERRORTOKEN; in tok_get()
1634 return ERRORTOKEN; in tok_get()
1636 return tok->done == E_EOF ? ENDMARKER : ERRORTOKEN; in tok_get()
1676 return ERRORTOKEN; in tok_get()
1793 return ERRORTOKEN; in tok_get()
1822 return ERRORTOKEN; in tok_get()
[all...]
H A Dpegen_errors.c172 case ERRORTOKEN: in _PyPegen_tokenize_full_source_to_check_for_errors()
423 if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _Pypegen_set_syntax_error()
H A Dpegen.c179 if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) { in initialize_token()
183 return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0); in initialize_token()
/third_party/python/Python/
H A DPython-tokenize.c65 if (type == ERRORTOKEN && PyErr_Occurred()) { in tokenizeriter_next()
68 if (type == ERRORTOKEN || type == ENDMARKER) { in tokenizeriter_next()
/third_party/python/Include/
H A Dtoken.h73 #define ERRORTOKEN 60 macro
/third_party/python/Lib/lib2to3/pgen2/
H A Dtoken.py67 ERRORTOKEN = 58 variable
H A Dtokenize.py381 yield (ERRORTOKEN, contstr + line,
549 yield (ERRORTOKEN, line[pos],
/third_party/python/Lib/
H A Dtoken.py67 ERRORTOKEN = 60 variable
H A Dtokenize.py474 yield TokenInfo(ERRORTOKEN, contstr + line,
604 yield TokenInfo(ERRORTOKEN, line[pos],
H A Dinspect.py2132 ERRORTOKEN = token.ERRORTOKEN
2158 if (type == ERRORTOKEN) and (string == '$'):
/third_party/python/Tools/peg_generator/pegen/
H A Dtokenizer.py49 if tok.type == token.ERRORTOKEN and tok.string.isspace():

Completed in 13 milliseconds