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

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