Searched refs:exec_input (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Parser/ |
D | tokenizer.c | 595 translate_newlines(const char *s, int exec_input, struct tok_state *tok) { in translate_newlines() argument 623 if (exec_input && c != '\n') { in translate_newlines() 704 PyTokenizer_FromString(const char *str, int exec_input) in PyTokenizer_FromString() argument 711 decoded = decode_str(str, exec_input, tok); in PyTokenizer_FromString() 725 PyTokenizer_FromUTF8(const char *str, int exec_input) in PyTokenizer_FromUTF8() argument 731 tok->input = translated = translate_newlines(str, exec_input, tok); in PyTokenizer_FromUTF8()
|
D | pegen.c | 1458 int exec_input = start_rule == Py_file_input; in _PyPegen_run_parser_from_string() local 1462 tok = PyTokenizer_FromUTF8(str, exec_input); in _PyPegen_run_parser_from_string() 1464 tok = PyTokenizer_FromString(str, exec_input); in _PyPegen_run_parser_from_string()
|