Back to module index
Go to module by name
symbol
Non-terminal symbols of Python grammar (from "graminit.h").
Other members
and_expr = 318
and_test = 311
annassign = 273
arglist = 335
argument = 336
arith_expr = 320
assert_stmt = 294
async_funcdef = 262
async_stmt = 296
atom = 325
atom_expr = 324
augassign = 275
break_stmt = 279
classdef = 334
comp_for = 339
comp_if = 340
comp_iter = 337
comp_op = 314
comparison = 313
compound_stmt = 295
continue_stmt = 280
decorated = 261
decorator = 259
decorators = 260
del_stmt = 276
dictorsetmaker = 333
dotted_as_name = 288
dotted_as_names = 290
dotted_name = 291
encoding_decl = 341
eval_input = 258
except_clause = 303
expr = 316
expr_stmt = 272
exprlist = 331
factor = 322
file_input = 257
flow_stmt = 278
for_stmt = 299
func_body_suite = 344
func_type = 346
func_type_input = 345
funcdef = 263
global_stmt = 292
if_stmt = 297
import_as_name = 287
import_as_names = 289
import_from = 286
import_name = 285
import_stmt = 284
lambdef = 308
lambdef_nocond = 309
namedexpr_test = 305
nonlocal_stmt = 293
not_test = 312
or_test = 310
parameters = 264
pass_stmt = 277
power = 323
raise_stmt = 283
return_stmt = 281
shift_expr = 319
simple_stmt = 270
single_input = 256
sliceop = 330
small_stmt = 271
star_expr = 315
stmt = 269
subscript = 329
subscriptlist = 328
suite = 304
sym_name = {256: 'single_input', 257: 'file_input', 258: 'eval_input', 259: 'decorator', 260: 'decorators', 261: 'decorated', 262: 'async_funcdef', 263: 'funcdef', 264: 'parameters', 265: 'typedargslist', 266: 'tfpdef', 267: 'varargslist', 268: 'vfpdef', 269: 'stmt', 270: 'simple_stmt', 271: 'small_stmt', 272: 'expr_stmt', 273: 'annassign', 274: 'testlist_star_expr', 275: 'augassign', 276: 'del_stmt', 277: 'pass_stmt', 278: 'flow_stmt', 279: 'break_stmt', 280: 'continue_stmt', 281: 'return_stmt', 282: 'yield_stmt', 283: 'raise_stmt', 284: 'import_stmt', 285: 'import_name', 286: 'import_from', 287: 'import_as_name', 288: 'dotted_as_name', 289: 'import_as_names', 290: 'dotted_as_names', 291: 'dotted_name', 292: 'global_stmt', 293: 'nonlocal_stmt', 294: 'assert_stmt', 295: 'compound_stmt', 296: 'async_stmt', 297: 'if_stmt', 298: 'while_stmt', 299: 'for_stmt', 300: 'try_stmt', 301: 'with_stmt', 302: 'with_item', 303: 'except_clause', 304: 'suite', 305: 'namedexpr_test', 306: 'test', 307: 'test_nocond', 308: 'lambdef', 309: 'lambdef_nocond', 310: 'or_test', 311: 'and_test', 312: 'not_test', 313: 'comparison', 314: 'comp_op', 315: 'star_expr', 316: 'expr', 317: 'xor_expr', 318: 'and_expr', 319: 'shift_expr', 320: 'arith_expr', 321: 'term', 322: 'factor', 323: 'power', 324: 'atom_expr', 325: 'atom', 326: 'testlist_comp', 327: 'trailer', 328: 'subscriptlist', 329: 'subscript', 330: 'sliceop', 331: 'exprlist', 332: 'testlist', 333: 'dictorsetmaker', 334: 'classdef', 335: 'arglist', 336: 'argument', 337: 'comp_iter', 338: 'sync_comp_for', 339: 'comp_for', 340: 'comp_if', 341: 'encoding_decl', 342: 'yield_expr', 343: 'yield_arg', 344: 'func_body_suite', 345: 'func_type_input', 346: 'func_type', 347: 'typelist'}
sync_comp_for = 338
term = 321
test = 306
test_nocond = 307
testlist = 332
testlist_comp = 326
testlist_star_expr = 274
tfpdef = 266
trailer = 327
try_stmt = 300
typedargslist = 265
typelist = 347
varargslist = 267
vfpdef = 268
while_stmt = 298
with_item = 302
with_stmt = 301
xor_expr = 317
yield_arg = 343
yield_expr = 342
yield_stmt = 282
Modules
warnings