Home
last modified time | relevance | path

Searched refs:_PyPegen_singleton_seq (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Grammar/
Dpython.gram49 CHECK(asdl_seq*, _PyPegen_singleton_seq(p, a)),
51 | '*' a=expression { (asdl_expr_seq*)_PyPegen_singleton_seq(p, a) }
52 | '**' a=expression { (asdl_expr_seq*)_PyPegen_singleton_seq(p, a) }
56 statement[asdl_stmt_seq*]: a=compound_stmt { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, a) } | a[asd…
58 | a=compound_stmt NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, a) }
60 | NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, CHECK(stmt_ty, _PyAST_Pass(EXTRA))) }
63 …| a=simple_stmt !';' NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, a) } # Not needed, there …
148 …| '*' { (asdl_alias_seq*)_PyPegen_singleton_seq(p, CHECK(alias_ty, _PyPegen_alias_for_star(p, EXTR…
169 _PyAST_If(a, b, CHECK(asdl_stmt_seq*, _PyPegen_singleton_seq(p, c)), EXTRA) }
174 _PyAST_If(a, b, CHECK(asdl_stmt_seq*, _PyPegen_singleton_seq(p, c)), EXTRA) }
[all …]
/external/python/cpython3/Parser/
Dpegen.h257 asdl_seq *_PyPegen_singleton_seq(Parser *, void *);
Dpegen.c1509 _PyPegen_singleton_seq(Parser *p, void *a) in _PyPegen_singleton_seq() function
1526 return _PyPegen_singleton_seq(p, a); in _PyPegen_seq_insert_in_front()
1547 return _PyPegen_singleton_seq(p, a); in _PyPegen_seq_append_to_end()
Dparser.c1328 …pr_seq * ) _PyPegen_seq_append_to_end ( p , CHECK ( asdl_seq * , _PyPegen_singleton_seq ( p , a ) … in type_expressions_rule()
1355 _res = ( asdl_expr_seq * ) _PyPegen_singleton_seq ( p , a ); in type_expressions_rule()
1382 _res = ( asdl_expr_seq * ) _PyPegen_singleton_seq ( p , a ); in type_expressions_rule()
1494 _res = ( asdl_stmt_seq * ) _PyPegen_singleton_seq ( p , a ); in statement_rule()
1574 _res = ( asdl_stmt_seq * ) _PyPegen_singleton_seq ( p , a ); in statement_newline_rule()
1626 …_res = ( asdl_stmt_seq * ) _PyPegen_singleton_seq ( p , CHECK ( stmt_ty , _PyAST_Pass ( EXTRA ) ) … in statement_newline_rule()
1699 _res = ( asdl_stmt_seq * ) _PyPegen_singleton_seq ( p , a ); in simple_stmts_rule()
3567 …_res = ( asdl_alias_seq * ) _PyPegen_singleton_seq ( p , CHECK ( alias_ty , _PyPegen_alias_for_sta… in import_from_targets_rule()
4006 … _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq * , _PyPegen_singleton_seq ( p , c ) ) , EXTRA ); in if_stmt_rule()
4147 … _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq * , _PyPegen_singleton_seq ( p , c ) ) , EXTRA ); in elif_stmt_rule()
[all …]
/external/python/cpython3/Doc/data/
Dpython3.10.abi1961 …<function-decl name='_PyPegen_singleton_seq' mangled-name='_PyPegen_singleton_seq' filepath='Parse…