symbol
index
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/symbol.py
Module Docs

Non-terminal symbols of Python grammar (from "graminit.h").

 
Functions
       
main()

 
Data
        and_expr = 312
and_test = 306
arglist = 330
argument = 331
arith_expr = 314
assert_stmt = 291
atom = 318
augassign = 271
break_stmt = 276
classdef = 329
comp_for = 336
comp_if = 337
comp_iter = 335
comp_op = 309
comparison = 308
compound_stmt = 292
continue_stmt = 277
decorated = 261
decorator = 259
decorators = 260
del_stmt = 273
dictorsetmaker = 328
dotted_as_name = 285
dotted_as_names = 287
dotted_name = 288
encoding_decl = 339
eval_input = 258
except_clause = 299
exec_stmt = 290
expr = 310
expr_stmt = 270
exprlist = 326
factor = 316
file_input = 257
flow_stmt = 275
for_stmt = 295
fpdef = 265
fplist = 266
funcdef = 262
global_stmt = 289
if_stmt = 293
import_as_name = 284
import_as_names = 286
import_from = 283
import_name = 282
import_stmt = 281
lambdef = 321
list_for = 333
list_if = 334
list_iter = 332
listmaker = 319
not_test = 307
old_lambdef = 303
old_test = 302
or_test = 305
parameters = 263
pass_stmt = 274
power = 317
print_stmt = 272
raise_stmt = 280
return_stmt = 278
shift_expr = 313
simple_stmt = 268
single_input = 256
sliceop = 325
small_stmt = 269
stmt = 267
subscript = 324
subscriptlist = 323
suite = 300
sym_name = {256: 'single_input', 257: 'file_input', 258: 'eval_input', 259: 'decorator', 260: 'decorators', 261: 'decorated', 262: 'funcdef', 263: 'parameters', 264: 'varargslist', 265: 'fpdef', ...}
term = 315
test = 304
testlist = 327
testlist1 = 338
testlist_comp = 320
testlist_safe = 301
trailer = 322
try_stmt = 296
varargslist = 264
while_stmt = 294
with_item = 298
with_stmt = 297
xor_expr = 311
yield_expr = 340
yield_stmt = 279