Home
last modified time | relevance | path

Searched refs:_PyParser_Grammar (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Parser/
Dmetagrammar.c142 static grammar _PyParser_Grammar = { variable
152 return &_PyParser_Grammar; in meta_grammar()
/external/python/cpython3/Parser/
Dmetagrammar.c142 static grammar _PyParser_Grammar = { variable
152 return &_PyParser_Grammar; in meta_grammar()
/external/python/cpython3/Modules/
Dparsermodule.c45 extern grammar _PyParser_Grammar; /* From graminit.c */
580 &_PyParser_Grammar, in parser_do_parse()
654 if (type >= _PyParser_Grammar.g_ndfas) { in validate_node()
658 nt_dfa = &_PyParser_Grammar.g_dfa[type]; in validate_node()
668 assert(a_label < _PyParser_Grammar.g_ll.ll_nlabels); in validate_node()
669 if (_PyParser_Grammar.g_ll.ll_label[a_label].lb_type == ch_type) { in validate_node()
686 next_type = _PyParser_Grammar.g_ll.ll_label[a_label].lb_type; in validate_node()
/external/python/cpython2/Python/
Dpythonrun.c46 extern grammar _PyParser_Grammar; /* From graminit.c */
553 PyGrammar_RemoveAccelerators(&_PyParser_Grammar); in Py_Finalize()
1480 &_PyParser_Grammar, start, &err, in PyParser_ASTFromString()
1508 node *n = PyParser_ParseFileFlagsEx(fp, filename, &_PyParser_Grammar, in PyParser_ASTFromFile()
1534 node *n = PyParser_ParseFileFlags(fp, filename, &_PyParser_Grammar, in PyParser_SimpleParseFileFlags()
1548 node *n = PyParser_ParseStringFlags(str, &_PyParser_Grammar, in PyParser_SimpleParseStringFlags()
1561 &_PyParser_Grammar, start, &err, flags); in PyParser_SimpleParseStringFlagsFilename()
Dgraminit.c5 PyAPI_DATA(grammar) _PyParser_Grammar;
2172 grammar _PyParser_Grammar = { variable
/external/python/cpython3/Python/
Dpythonrun.c58 extern grammar _PyParser_Grammar; /* From graminit.c */
1176 &_PyParser_Grammar, start, &err, in PyParser_ASTFromStringObject()
1221 &_PyParser_Grammar, in PyParser_ASTFromFileObject()
1266 &_PyParser_Grammar, in PyParser_SimpleParseFileFlags()
1281 node *n = PyParser_ParseStringFlags(str, &_PyParser_Grammar, in PyParser_SimpleParseStringFlags()
1295 &_PyParser_Grammar, start, &err, flags); in PyParser_SimpleParseStringFlagsFilename()
Dgraminit.c5 PyAPI_DATA(grammar) _PyParser_Grammar;
2271 grammar _PyParser_Grammar = { variable
Dpylifecycle.c53 extern grammar _PyParser_Grammar; /* From graminit.c */
1303 PyGrammar_RemoveAccelerators(&_PyParser_Grammar); in Py_FinalizeEx()
/external/python/cpython2/PC/os2vacpp/
Dpython.def71 _PyParser_Grammar
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt329 _PyParser_Grammar
/external/python/cpython2/PC/os2emx/
Dpython27.def953 "_PyParser_Grammar"
/external/python/cpython3/Doc/faq/
Dextending.rst297 n = PyParser_ParseString(code, &_PyParser_Grammar,
/external/python/cpython2/Doc/faq/
Dextending.rst306 n = PyParser_ParseString(code, &_PyParser_Grammar,
/external/python/cpython2/Modules/
Dparsermodule.c42 extern grammar _PyParser_Grammar; /* From graminit.c */
573 &_PyParser_Grammar, in parser_do_parse()