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

183 lines, 183 significant
1cpp_namespace = 'syntax_asdl'
2tags_to_types = \
3{'InitializerWord_t': {1: 'InitializerWord__ArrayWord', 76: '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': {92: 'VarDecl', 93: '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': {102: 'PosixClass',
23 103: 'PerlClass',
24 104: 'CharCode',
25 105: 'CharRange'},
26 'class_literal_term_t': {6: 'class_literal_term__Splice',
27 71: 'SingleQuoted',
28 102: 'PosixClass',
29 103: 'PerlClass',
30 104: 'CharCode',
31 105: '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 85: 'BraceGroup',
55 89: 'Proc',
56 90: 'Func',
57 92: 'VarDecl',
58 93: 'Mutation',
59 94: 'ExprCommand',
60 95: 'ShFunction'},
61 'condition_t': {2: 'condition__YshExpr', 80: '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 11: 'expr__Literal',
73 12: 'expr__Lambda',
74 13: 'expr__Unary',
75 14: 'expr__Binary',
76 15: 'expr__Compare',
77 16: 'expr__FuncCall',
78 17: 'expr__IfExp',
79 18: 'expr__Tuple',
80 19: 'expr__List',
81 20: 'expr__Dict',
82 21: 'expr__Implicit',
83 22: 'expr__ListComp',
84 23: 'expr__DictComp',
85 24: 'expr__GeneratorExp',
86 25: 'expr__Range',
87 26: 'expr__Slice',
88 29: 'expr__Spread',
89 69: 'BracedVarSub',
90 70: 'DoubleQuoted',
91 71: 'SingleQuoted',
92 72: 'SimpleVarSub',
93 73: 'CommandSub',
94 74: 'YshArrayLiteral',
95 83: 'Eggex',
96 100: 'Subscript',
97 101: 'Attribute'},
98 'for_iter_t': {1: 'for_iter__Args',
99 2: 'for_iter__Words',
100 3: 'for_iter__YshExpr'},
101 'glob_part_t': {1: 'glob_part__Literal',
102 2: 'glob_part__Operator',
103 3: 'glob_part__CharClass'},
104 'loc_t': {1: 'loc__Missing',
105 4: 'loc__WordPart',
106 5: 'loc__Word',
107 6: 'loc__Arith',
108 7: 'loc__Command',
109 8: 'loc__TokenTooLong',
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', 83: '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 102: 'PosixClass',
133 103: '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 19: 'word_part__ExprSub',
172 67: 'Token',
173 69: 'BracedVarSub',
174 70: 'DoubleQuoted',
175 71: 'SingleQuoted',
176 72: 'SimpleVarSub',
177 73: 'CommandSub',
178 74: 'YshArrayLiteral'},
179 'word_t': {3: 'word__BracedTree',
180 4: 'word__String',
181 67: 'Token',
182 68: 'CompoundWord'},
183 'y_lhs_t': {67: 'Token', 100: 'Subscript', 101: 'Attribute'}}