Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib64/python3....
File: symbol.py
#! /usr/libexec/platform-python
[0] Fix | Delete
[1] Fix | Delete
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
[2] Fix | Delete
[3] Fix | Delete
# This file is automatically generated; please don't muck it up!
[4] Fix | Delete
#
[5] Fix | Delete
# To update the symbols in this file, 'cd' to the top directory of
[6] Fix | Delete
# the python source tree after building the interpreter and run:
[7] Fix | Delete
#
[8] Fix | Delete
# ./python Lib/symbol.py
[9] Fix | Delete
[10] Fix | Delete
#--start constants--
[11] Fix | Delete
single_input = 256
[12] Fix | Delete
file_input = 257
[13] Fix | Delete
eval_input = 258
[14] Fix | Delete
decorator = 259
[15] Fix | Delete
decorators = 260
[16] Fix | Delete
decorated = 261
[17] Fix | Delete
async_funcdef = 262
[18] Fix | Delete
funcdef = 263
[19] Fix | Delete
parameters = 264
[20] Fix | Delete
typedargslist = 265
[21] Fix | Delete
tfpdef = 266
[22] Fix | Delete
varargslist = 267
[23] Fix | Delete
vfpdef = 268
[24] Fix | Delete
stmt = 269
[25] Fix | Delete
simple_stmt = 270
[26] Fix | Delete
small_stmt = 271
[27] Fix | Delete
expr_stmt = 272
[28] Fix | Delete
annassign = 273
[29] Fix | Delete
testlist_star_expr = 274
[30] Fix | Delete
augassign = 275
[31] Fix | Delete
del_stmt = 276
[32] Fix | Delete
pass_stmt = 277
[33] Fix | Delete
flow_stmt = 278
[34] Fix | Delete
break_stmt = 279
[35] Fix | Delete
continue_stmt = 280
[36] Fix | Delete
return_stmt = 281
[37] Fix | Delete
yield_stmt = 282
[38] Fix | Delete
raise_stmt = 283
[39] Fix | Delete
import_stmt = 284
[40] Fix | Delete
import_name = 285
[41] Fix | Delete
import_from = 286
[42] Fix | Delete
import_as_name = 287
[43] Fix | Delete
dotted_as_name = 288
[44] Fix | Delete
import_as_names = 289
[45] Fix | Delete
dotted_as_names = 290
[46] Fix | Delete
dotted_name = 291
[47] Fix | Delete
global_stmt = 292
[48] Fix | Delete
nonlocal_stmt = 293
[49] Fix | Delete
assert_stmt = 294
[50] Fix | Delete
compound_stmt = 295
[51] Fix | Delete
async_stmt = 296
[52] Fix | Delete
if_stmt = 297
[53] Fix | Delete
while_stmt = 298
[54] Fix | Delete
for_stmt = 299
[55] Fix | Delete
try_stmt = 300
[56] Fix | Delete
with_stmt = 301
[57] Fix | Delete
with_item = 302
[58] Fix | Delete
except_clause = 303
[59] Fix | Delete
suite = 304
[60] Fix | Delete
test = 305
[61] Fix | Delete
test_nocond = 306
[62] Fix | Delete
lambdef = 307
[63] Fix | Delete
lambdef_nocond = 308
[64] Fix | Delete
or_test = 309
[65] Fix | Delete
and_test = 310
[66] Fix | Delete
not_test = 311
[67] Fix | Delete
comparison = 312
[68] Fix | Delete
comp_op = 313
[69] Fix | Delete
star_expr = 314
[70] Fix | Delete
expr = 315
[71] Fix | Delete
xor_expr = 316
[72] Fix | Delete
and_expr = 317
[73] Fix | Delete
shift_expr = 318
[74] Fix | Delete
arith_expr = 319
[75] Fix | Delete
term = 320
[76] Fix | Delete
factor = 321
[77] Fix | Delete
power = 322
[78] Fix | Delete
atom_expr = 323
[79] Fix | Delete
atom = 324
[80] Fix | Delete
testlist_comp = 325
[81] Fix | Delete
trailer = 326
[82] Fix | Delete
subscriptlist = 327
[83] Fix | Delete
subscript = 328
[84] Fix | Delete
sliceop = 329
[85] Fix | Delete
exprlist = 330
[86] Fix | Delete
testlist = 331
[87] Fix | Delete
dictorsetmaker = 332
[88] Fix | Delete
classdef = 333
[89] Fix | Delete
arglist = 334
[90] Fix | Delete
argument = 335
[91] Fix | Delete
comp_iter = 336
[92] Fix | Delete
comp_for = 337
[93] Fix | Delete
comp_if = 338
[94] Fix | Delete
encoding_decl = 339
[95] Fix | Delete
yield_expr = 340
[96] Fix | Delete
yield_arg = 341
[97] Fix | Delete
#--end constants--
[98] Fix | Delete
[99] Fix | Delete
sym_name = {}
[100] Fix | Delete
for _name, _value in list(globals().items()):
[101] Fix | Delete
if type(_value) is type(0):
[102] Fix | Delete
sym_name[_value] = _name
[103] Fix | Delete
[104] Fix | Delete
[105] Fix | Delete
def _main():
[106] Fix | Delete
import sys
[107] Fix | Delete
import token
[108] Fix | Delete
if len(sys.argv) == 1:
[109] Fix | Delete
sys.argv = sys.argv + ["Include/graminit.h", "Lib/symbol.py"]
[110] Fix | Delete
token._main()
[111] Fix | Delete
[112] Fix | Delete
if __name__ == "__main__":
[113] Fix | Delete
_main()
[114] Fix | Delete
[115] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function