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

76 lines, 72 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 name_type = 284;
33 const int name_type_list = 285;
34 const int not_test = 286;
35 const int old_sh_array_literal = 287;
36 const int or_test = 288;
37 const int param = 289;
38 const int param_group = 290;
39 const int pat_else = 291;
40 const int pat_exprs = 292;
41 const int place_trailer = 293;
42 const int power = 294;
43 const int range_char = 295;
44 const int range_expr = 296;
45 const int re_alt = 297;
46 const int re_atom = 298;
47 const int re_flag = 299;
48 const int regex = 300;
49 const int repeat_op = 301;
50 const int repeat_range = 302;
51 const int sh_array_literal = 303;
52 const int sh_command_sub = 304;
53 const int shift_expr = 305;
54 const int simple_var_sub = 306;
55 const int splat_expr = 307;
56 const int sq_string = 308;
57 const int subscript = 309;
58 const int subscriptlist = 310;
59 const int term = 311;
60 const int test = 312;
61 const int testlist = 313;
62 const int testlist_comp = 314;
63 const int trailer = 315;
64 const int type_expr = 316;
65 const int xor_expr = 317;
66 const int ysh_case_pat = 318;
67 const int ysh_eager_arglist = 319;
68 const int ysh_expr = 320;
69 const int ysh_expr_sub = 321;
70 const int ysh_func = 322;
71 const int ysh_lazy_arglist = 323;
72 const int ysh_mutation = 324;
73 const int ysh_proc = 325;
74 const int ysh_var_decl = 326;
75
76} // namespace grammar_nt