OILS / _gen / ysh / grammar_nt.h View on Github | oilshell.org

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