Searched refs:PyPegen_last_item (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Parser/ |
D | pegen.h | 151 #define PyPegen_last_item(seq, type) ((type)_PyPegen_seq_last_item((asdl_seq*)seq)) macro
|
D | pegen.c | 2569 return PyPegen_last_item(comprehension->ifs, expr_ty); in _PyPegen_get_last_comprehension_item() 2587 comprehension_ty last_comprehension = PyPegen_last_item(comprehensions, comprehension_ty); in _PyPegen_nonparen_genexp_in_call()
|
D | parser.c | 18442 …_res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , comprehension_ty ) -> target ,… in invalid_arguments_rule() 19525 …_res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget pa… in invalid_comprehension_rule() 21124 …_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , pattern_ty ) , PyPegen_last_item ( a , patter… in invalid_class_pattern_rule()
|
/third_party/python/Grammar/ |
D | python.gram | 833 …RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, PyPegen_last_item(b, comprehension_ty)->target, "Generator expre… 909 RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, PyPegen_last_item(b, expr_ty), 992 PyPegen_last_item(a, pattern_ty),
|