Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
Main Page
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Files
Functions
Variables
symbol.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
3
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
4
5
# This file is automatically generated; please don't muck it up!
6
#
7
# To update the symbols in this file, 'cd' to the top directory of
8
# the python source tree after building the interpreter and run:
9
#
10
# python Lib/symbol.py
11
12
#--start constants--
13
single_input = 256
14
file_input = 257
15
eval_input = 258
16
funcdef = 259
17
parameters = 260
18
varargslist = 261
19
fpdef = 262
20
fplist = 263
21
stmt = 264
22
simple_stmt = 265
23
small_stmt = 266
24
expr_stmt = 267
25
augassign = 268
26
print_stmt = 269
27
del_stmt = 270
28
pass_stmt = 271
29
flow_stmt = 272
30
break_stmt = 273
31
continue_stmt = 274
32
return_stmt = 275
33
yield_stmt = 276
34
raise_stmt = 277
35
import_stmt = 278
36
import_as_name = 279
37
dotted_as_name = 280
38
dotted_name = 281
39
global_stmt = 282
40
exec_stmt = 283
41
assert_stmt = 284
42
compound_stmt = 285
43
if_stmt = 286
44
while_stmt = 287
45
for_stmt = 288
46
try_stmt = 289
47
except_clause = 290
48
suite = 291
49
test = 292
50
and_test = 293
51
not_test = 294
52
comparison = 295
53
comp_op = 296
54
expr = 297
55
xor_expr = 298
56
and_expr = 299
57
shift_expr = 300
58
arith_expr = 301
59
term = 302
60
factor = 303
61
power = 304
62
atom = 305
63
listmaker = 306
64
lambdef = 307
65
trailer = 308
66
subscriptlist = 309
67
subscript = 310
68
sliceop = 311
69
exprlist = 312
70
testlist = 313
71
testlist_safe = 314
72
dictmaker = 315
73
classdef = 316
74
arglist = 317
75
argument = 318
76
list_iter = 319
77
list_for = 320
78
list_if = 321
79
#--end constants--
80
81
sym_name = {}
82
for
_name, _value
in
globals().items():
83
if
type(_value)
is
type(0):
84
sym_name[_value] = _name
85
86
87
def
main
():
88
import
sys
89
import
token
90
if
len(sys.argv) == 1:
91
sys.argv = sys.argv + [
"Include/graminit.h"
,
"Lib/symbol.py"
]
92
token.main
()
93
94
if
__name__ ==
"__main__"
:
95
main
()
builtin
symbol.py
Generated on Mon Feb 17 2014 12:38:43 for Vega strike Python Modules doc by
1.8.4