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