OILS / _gen / frontend / syntax.asdl_debug.py View on Github | oils.pub

185 lines, 185 significant
1cpp_namespace = 'syntax_asdl'
2tags_to_types = \
3{'InitializerWord_t': {1: 'InitializerWord__ArrayWord', 77: 'AssocPair'},
4 'arith_expr_t': {1: 'arith_expr__EmptyZero',
5 2: 'arith_expr__EmptyOne',
6 5: 'arith_expr__UnaryAssign',
7 6: 'arith_expr__BinaryAssign',
8 7: 'arith_expr__Unary',
9 8: 'arith_expr__Binary',
10 9: 'arith_expr__TernaryOp',
11 67: 'Token',
12 68: 'CompoundWord'},
13 'b_command_t': {93: 'VarDecl', 94: 'Mutation'},
14 'bool_expr_t': {1: 'bool_expr__WordTest',
15 2: 'bool_expr__Binary',
16 3: 'bool_expr__Unary',
17 4: 'bool_expr__LogicalNot',
18 5: 'bool_expr__LogicalAnd',
19 6: 'bool_expr__LogicalOr'},
20 'bracket_op_t': {1: 'bracket_op__WholeArray', 2: 'bracket_op__ArrayIndex'},
21 'case_arg_t': {1: 'case_arg__Word', 2: 'case_arg__YshExpr'},
22 'char_class_term_t': {104: 'PosixClass',
23 105: 'PerlClass',
24 106: 'CharCode',
25 107: 'CharRange'},
26 'class_literal_term_t': {6: 'class_literal_term__Splice',
27 71: 'SingleQuoted',
28 104: 'PosixClass',
29 105: 'PerlClass',
30 106: 'CharCode',
31 107: 'CharRange'},
32 'cmd_frag_t': {2: 'cmd_frag__Expr', 97: 'LiteralBlock'},
33 'command_t': {1: 'command__NoOp',
34 2: 'command__Redirect',
35 3: 'command__Simple',
36 4: 'command__ExpandedAlias',
37 5: 'command__Sentence',
38 6: 'command__ShAssignment',
39 7: 'command__ControlFlow',
40 8: 'command__Pipeline',
41 9: 'command__AndOr',
42 10: 'command__DoGroup',
43 12: 'command__Subshell',
44 13: 'command__DParen',
45 14: 'command__DBracket',
46 15: 'command__ForEach',
47 16: 'command__ForExpr',
48 17: 'command__WhileUntil',
49 18: 'command__If',
50 19: 'command__Case',
51 21: 'command__TimeBlock',
52 22: 'command__CommandList',
53 24: 'command__BareDecl',
54 29: 'command__Retval',
55 86: 'BraceGroup',
56 90: 'Proc',
57 91: 'Func',
58 93: 'VarDecl',
59 94: 'Mutation',
60 95: 'ExprCommand',
61 96: 'ShFunction'},
62 'condition_t': {2: 'condition__YshExpr', 81: 'List_of_command'},
63 'debug_frame_t': {1: 'debug_frame__MainFile',
64 2: 'debug_frame__Dummy',
65 3: 'debug_frame__Source',
66 4: 'debug_frame__ProcLike',
67 7: 'debug_frame__BeforeErrTrap',
68 67: 'Token',
69 68: 'CompoundWord'},
70 'expr_t': {1: 'expr__Var',
71 2: 'expr__Const',
72 3: 'expr__Place',
73 12: 'expr__Literal',
74 13: 'expr__Lambda',
75 14: 'expr__Unary',
76 15: 'expr__Binary',
77 16: 'expr__Compare',
78 17: 'expr__FuncCall',
79 18: 'expr__IfExp',
80 19: 'expr__Tuple',
81 20: 'expr__List',
82 21: 'expr__Dict',
83 22: 'expr__Implicit',
84 23: 'expr__ListComp',
85 24: 'expr__DictComp',
86 25: 'expr__GeneratorExp',
87 26: 'expr__Range',
88 27: 'expr__Slice',
89 30: 'expr__Spread',
90 69: 'BracedVarSub',
91 70: 'DoubleQuoted',
92 71: 'SingleQuoted',
93 72: 'SimpleVarSub',
94 73: 'CommandSub',
95 74: 'ExprSub',
96 75: 'YshArrayLiteral',
97 84: 'Eggex',
98 102: 'Subscript',
99 103: 'Attribute'},
100 'for_iter_t': {1: 'for_iter__Args',
101 2: 'for_iter__Words',
102 3: 'for_iter__YshExpr'},
103 'glob_part_t': {1: 'glob_part__Literal',
104 2: 'glob_part__Operator',
105 3: 'glob_part__CharClass'},
106 'loc_t': {1: 'loc__Missing',
107 4: 'loc__WordPart',
108 5: 'loc__Word',
109 6: 'loc__Arith',
110 7: 'loc__Command',
111 67: 'Token',
112 68: 'CompoundWord'},
113 'parse_result_t': {1: 'parse_result__EmptyLine',
114 2: 'parse_result__Eof',
115 3: 'parse_result__Node'},
116 'pat_t': {1: 'pat__Else', 2: 'pat__Words', 3: 'pat__YshExprs', 84: 'Eggex'},
117 'place_op_t': {1: 'place_op__Subscript', 2: 'place_op__Attribute'},
118 'printf_part_t': {2: 'printf_part__Percent', 67: 'Token'},
119 'proc_sig_t': {1: 'proc_sig__Open', 2: 'proc_sig__Closed'},
120 're_repeat_t': {2: 're_repeat__Range', 67: 'Token'},
121 're_t': {1: 're__Primitive',
122 4: 're__CharClassLiteral',
123 5: 're__CharClass',
124 6: 're__Splice',
125 8: 're__Repeat',
126 9: 're__Seq',
127 10: 're__Alt',
128 11: 're__Group',
129 12: 're__Capture',
130 13: 're__Backtracking',
131 14: 're__LiteralChars',
132 71: 'SingleQuoted',
133 104: 'PosixClass',
134 105: 'PerlClass'},
135 'redir_loc_t': {1: 'redir_loc__Fd', 2: 'redir_loc__VarName'},
136 'redir_param_t': {2: 'redir_param__HereWord',
137 3: 'redir_param__HereDoc',
138 68: 'CompoundWord'},
139 'rhs_word_t': {1: 'rhs_word__Empty', 68: 'CompoundWord'},
140 'sh_lhs_t': {1: 'sh_lhs__Name',
141 2: 'sh_lhs__IndexedName',
142 3: 'sh_lhs__UnparsedIndex'},
143 'source_t': {1: 'source__Interactive',
144 2: 'source__Headless',
145 3: 'source__Unused',
146 4: 'source__CFlag',
147 5: 'source__Stdin',
148 6: 'source__MainFile',
149 7: 'source__OtherFile',
150 8: 'source__Dynamic',
151 9: 'source__VarRef',
152 10: 'source__Variable',
153 11: 'source__Alias',
154 12: 'source__Reparsed',
155 13: 'source__Synthetic'},
156 'suffix_op_t': {2: 'suffix_op__Unary',
157 3: 'suffix_op__Static',
158 4: 'suffix_op__PatSub',
159 5: 'suffix_op__Slice',
160 67: 'Token'},
161 'word_part_t': {2: 'word_part__InitializerLiteral',
162 4: 'word_part__EscapedLiteral',
163 9: 'word_part__ZshVarSub',
164 11: 'word_part__TildeSub',
165 12: 'word_part__ArithSub',
166 13: 'word_part__BracedTuple',
167 14: 'word_part__BracedRange',
168 15: 'word_part__BracedRangeDigit',
169 16: 'word_part__ExtGlob',
170 17: 'word_part__BashRegexGroup',
171 18: 'word_part__Splice',
172 67: 'Token',
173 69: 'BracedVarSub',
174 70: 'DoubleQuoted',
175 71: 'SingleQuoted',
176 72: 'SimpleVarSub',
177 73: 'CommandSub',
178 74: 'ExprSub',
179 75: 'YshArrayLiteral'},
180 'word_t': {3: 'word__BracedTree',
181 4: 'word__String',
182 5: 'word__Redir',
183 67: 'Token',
184 68: 'CompoundWord'},
185 'y_lhs_t': {67: 'Token', 102: 'Subscript', 103: 'Attribute'}}