• Home
  • Raw
  • Download

Lines Matching refs:stmt_ty

60     | NEWLINE { (asdl_stmt_seq*)_PyPegen_singleton_seq(p, CHECK(stmt_ty, _PyAST_Pass(EXTRA))) }
67 simple_stmt[stmt_ty] (memo):
81 compound_stmt[stmt_ty]:
92 assignment[stmt_ty]:
95 stmt_ty,
102 … CHECK_VERSION(stmt_ty, 6, "Variable annotations syntax is", _PyAST_AnnAssign(a, b, c, 0, EXTRA)) }
124 global_stmt[stmt_ty]: 'global' a[asdl_expr_seq*]=','.NAME+ {
126 nonlocal_stmt[stmt_ty]: 'nonlocal' a[asdl_expr_seq*]=','.NAME+ {
129 yield_stmt[stmt_ty]: y=yield_expr { _PyAST_Expr(y, EXTRA) }
131 assert_stmt[stmt_ty]: 'assert' a=expression b=[',' z=expression { z }] { _PyAST_Assert(a, b, EXTRA)…
133 del_stmt[stmt_ty]:
137 import_stmt[stmt_ty]: import_name | import_from
138 import_name[stmt_ty]: 'import' a=dotted_as_names { _PyAST_Import(a, EXTRA) }
140 import_from[stmt_ty]:
166 if_stmt[stmt_ty]:
171 elif_stmt[stmt_ty]:
180 while_stmt[stmt_ty]:
184 for_stmt[stmt_ty]:
189 …CHECK_VERSION(stmt_ty, 5, "Async for loops are", _PyAST_AsyncFor(t, ex, b, el, NEW_TYPE_COMMENT(p,…
192 with_stmt[stmt_ty]:
199 CHECK_VERSION(stmt_ty, 5, "Async with statements are", _PyAST_AsyncWith(a, b, NULL, EXTRA)) }
201 …CHECK_VERSION(stmt_ty, 5, "Async with statements are", _PyAST_AsyncWith(a, b, NEW_TYPE_COMMENT(p, …
209 try_stmt[stmt_ty]:
223 match_stmt[stmt_ty]:
225 CHECK_VERSION(stmt_ty, 10, "Pattern matching is", _PyAST_Match(subject, cases, EXTRA)) }
391 return_stmt[stmt_ty]:
394 raise_stmt[stmt_ty]:
398 function_def[stmt_ty]:
402 function_def_raw[stmt_ty]:
410 stmt_ty,
484 class_def[stmt_ty]:
487 class_def_raw[stmt_ty]: