OILS
  /
    _devbuild
  /
    gen
  /
    grammar_nt.py
        
          View on Github
          |
          oilshell.org
        
      
       73 lines, 71 significant 
| 1 | # This code is generated by pgen2/grammar.py
 | 
| 2 | 
 | 
| 3 | augassign = 256
 | 
| 4 | and_expr = 257
 | 
| 5 | and_test = 258
 | 
| 6 | arg_group = 259
 | 
| 7 | arglist = 260
 | 
| 8 | arglist3 = 261
 | 
| 9 | argument = 262
 | 
| 10 | arith_expr = 263
 | 
| 11 | array_item = 264
 | 
| 12 | atom = 265
 | 
| 13 | braced_var_sub = 266
 | 
| 14 | char_literal = 267
 | 
| 15 | class_literal = 268
 | 
| 16 | class_literal_term = 269
 | 
| 17 | comma_newline = 270
 | 
| 18 | command_expr = 271
 | 
| 19 | comp_for = 272
 | 
| 20 | comp_op = 273
 | 
| 21 | comparison = 274
 | 
| 22 | dict = 275
 | 
| 23 | dict_pair = 276
 | 
| 24 | dq_string = 277
 | 
| 25 | eggex = 278
 | 
| 26 | end_stmt = 279
 | 
| 27 | expr = 280
 | 
| 28 | factor = 281
 | 
| 29 | lambdef = 282
 | 
| 30 | lhs_list = 283
 | 
| 31 | name_type = 284
 | 
| 32 | name_type_list = 285
 | 
| 33 | not_test = 286
 | 
| 34 | old_sh_array_literal = 287
 | 
| 35 | or_test = 288
 | 
| 36 | param = 289
 | 
| 37 | param_group = 290
 | 
| 38 | pat_else = 291
 | 
| 39 | pat_exprs = 292
 | 
| 40 | place_trailer = 293
 | 
| 41 | power = 294
 | 
| 42 | range_char = 295
 | 
| 43 | range_expr = 296
 | 
| 44 | re_alt = 297
 | 
| 45 | re_atom = 298
 | 
| 46 | re_flag = 299
 | 
| 47 | regex = 300
 | 
| 48 | repeat_op = 301
 | 
| 49 | repeat_range = 302
 | 
| 50 | sh_array_literal = 303
 | 
| 51 | sh_command_sub = 304
 | 
| 52 | shift_expr = 305
 | 
| 53 | simple_var_sub = 306
 | 
| 54 | splat_expr = 307
 | 
| 55 | sq_string = 308
 | 
| 56 | subscript = 309
 | 
| 57 | subscriptlist = 310
 | 
| 58 | term = 311
 | 
| 59 | test = 312
 | 
| 60 | testlist = 313
 | 
| 61 | testlist_comp = 314
 | 
| 62 | trailer = 315
 | 
| 63 | type_expr = 316
 | 
| 64 | xor_expr = 317
 | 
| 65 | ysh_case_pat = 318
 | 
| 66 | ysh_eager_arglist = 319
 | 
| 67 | ysh_expr = 320
 | 
| 68 | ysh_expr_sub = 321
 | 
| 69 | ysh_func = 322
 | 
| 70 | ysh_lazy_arglist = 323
 | 
| 71 | ysh_mutation = 324
 | 
| 72 | ysh_proc = 325
 | 
| 73 | ysh_var_decl = 326
 |