|
| 1 | +// Auto-generated code, DO NOT EDIT DIRECTLY! |
| 2 | +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/estree_visit.rs`. |
| 3 | + |
| 4 | +export default { |
| 5 | + // Leaf nodes |
| 6 | + DebuggerStatement: [], |
| 7 | + EmptyStatement: [], |
| 8 | + Literal: [], |
| 9 | + PrivateIdentifier: [], |
| 10 | + Super: [], |
| 11 | + TemplateElement: [], |
| 12 | + ThisExpression: [], |
| 13 | + JSXClosingFragment: [], |
| 14 | + JSXEmptyExpression: [], |
| 15 | + JSXIdentifier: [], |
| 16 | + JSXOpeningFragment: [], |
| 17 | + JSXText: [], |
| 18 | + TSAnyKeyword: [], |
| 19 | + TSBigIntKeyword: [], |
| 20 | + TSBooleanKeyword: [], |
| 21 | + TSIntrinsicKeyword: [], |
| 22 | + TSJSDocUnknownType: [], |
| 23 | + TSNeverKeyword: [], |
| 24 | + TSNullKeyword: [], |
| 25 | + TSNumberKeyword: [], |
| 26 | + TSObjectKeyword: [], |
| 27 | + TSStringKeyword: [], |
| 28 | + TSSymbolKeyword: [], |
| 29 | + TSThisType: [], |
| 30 | + TSUndefinedKeyword: [], |
| 31 | + TSUnknownKeyword: [], |
| 32 | + TSVoidKeyword: [], |
| 33 | + // Non-leaf nodes |
| 34 | + AccessorProperty: ['decorators', 'key', 'typeAnnotation', 'value'], |
| 35 | + ArrayExpression: ['elements'], |
| 36 | + ArrayPattern: ['decorators', 'elements', 'typeAnnotation'], |
| 37 | + ArrowFunctionExpression: ['typeParameters', 'params', 'returnType', 'body'], |
| 38 | + AssignmentExpression: ['left', 'right'], |
| 39 | + AssignmentPattern: ['decorators', 'left', 'right', 'typeAnnotation'], |
| 40 | + AwaitExpression: ['argument'], |
| 41 | + BinaryExpression: ['left', 'right'], |
| 42 | + BlockStatement: ['body'], |
| 43 | + BreakStatement: ['label'], |
| 44 | + CallExpression: ['callee', 'typeArguments', 'arguments'], |
| 45 | + CatchClause: ['param', 'body'], |
| 46 | + ChainExpression: ['expression'], |
| 47 | + ClassBody: ['body'], |
| 48 | + ClassDeclaration: ['decorators', 'id', 'typeParameters', 'superClass', 'superTypeArguments', 'implements', 'body'], |
| 49 | + ClassExpression: ['decorators', 'id', 'typeParameters', 'superClass', 'superTypeArguments', 'implements', 'body'], |
| 50 | + ConditionalExpression: ['test', 'consequent', 'alternate'], |
| 51 | + ContinueStatement: ['label'], |
| 52 | + Decorator: ['expression'], |
| 53 | + DoWhileStatement: ['body', 'test'], |
| 54 | + ExportAllDeclaration: ['exported', 'source', 'attributes'], |
| 55 | + ExportDefaultDeclaration: ['declaration'], |
| 56 | + ExportNamedDeclaration: ['declaration', 'specifiers', 'source', 'attributes'], |
| 57 | + ExportSpecifier: ['local', 'exported'], |
| 58 | + ExpressionStatement: ['expression'], |
| 59 | + ForInStatement: ['left', 'right', 'body'], |
| 60 | + ForOfStatement: ['left', 'right', 'body'], |
| 61 | + ForStatement: ['init', 'test', 'update', 'body'], |
| 62 | + FunctionDeclaration: ['id', 'typeParameters', 'params', 'returnType', 'body'], |
| 63 | + FunctionExpression: ['id', 'typeParameters', 'params', 'returnType', 'body'], |
| 64 | + Identifier: ['decorators', 'typeAnnotation'], |
| 65 | + IfStatement: ['test', 'consequent', 'alternate'], |
| 66 | + ImportAttribute: ['key', 'value'], |
| 67 | + ImportDeclaration: ['specifiers', 'source', 'attributes'], |
| 68 | + ImportDefaultSpecifier: ['local'], |
| 69 | + ImportExpression: ['source', 'options'], |
| 70 | + ImportNamespaceSpecifier: ['local'], |
| 71 | + ImportSpecifier: ['imported', 'local'], |
| 72 | + LabeledStatement: ['label', 'body'], |
| 73 | + LogicalExpression: ['left', 'right'], |
| 74 | + MemberExpression: ['object', 'property'], |
| 75 | + MetaProperty: ['meta', 'property'], |
| 76 | + MethodDefinition: ['decorators', 'key', 'value'], |
| 77 | + NewExpression: ['callee', 'typeArguments', 'arguments'], |
| 78 | + ObjectExpression: ['properties'], |
| 79 | + ObjectPattern: ['decorators', 'properties', 'typeAnnotation'], |
| 80 | + ParenthesizedExpression: ['expression'], |
| 81 | + Program: ['body'], |
| 82 | + Property: ['key', 'value'], |
| 83 | + PropertyDefinition: ['decorators', 'key', 'typeAnnotation', 'value'], |
| 84 | + RestElement: ['decorators', 'argument', 'typeAnnotation'], |
| 85 | + ReturnStatement: ['argument'], |
| 86 | + SequenceExpression: ['expressions'], |
| 87 | + SpreadElement: ['argument'], |
| 88 | + StaticBlock: ['body'], |
| 89 | + SwitchCase: ['test', 'consequent'], |
| 90 | + SwitchStatement: ['discriminant', 'cases'], |
| 91 | + TaggedTemplateExpression: ['tag', 'typeArguments', 'quasi'], |
| 92 | + TemplateLiteral: ['quasis', 'expressions'], |
| 93 | + ThrowStatement: ['argument'], |
| 94 | + TryStatement: ['block', 'handler', 'finalizer'], |
| 95 | + UnaryExpression: ['argument'], |
| 96 | + UpdateExpression: ['argument'], |
| 97 | + V8IntrinsicExpression: ['name', 'arguments'], |
| 98 | + VariableDeclaration: ['declarations'], |
| 99 | + VariableDeclarator: ['id', 'init'], |
| 100 | + WhileStatement: ['test', 'body'], |
| 101 | + WithStatement: ['object', 'body'], |
| 102 | + YieldExpression: ['argument'], |
| 103 | + JSXAttribute: ['name', 'value'], |
| 104 | + JSXClosingElement: ['name'], |
| 105 | + JSXElement: ['openingElement', 'children', 'closingElement'], |
| 106 | + JSXExpressionContainer: ['expression'], |
| 107 | + JSXFragment: ['openingFragment', 'children', 'closingFragment'], |
| 108 | + JSXMemberExpression: ['object', 'property'], |
| 109 | + JSXNamespacedName: ['namespace', 'name'], |
| 110 | + JSXOpeningElement: ['name', 'typeArguments', 'attributes'], |
| 111 | + JSXSpreadAttribute: ['argument'], |
| 112 | + JSXSpreadChild: ['expression'], |
| 113 | + TSAbstractAccessorProperty: ['decorators', 'key', 'typeAnnotation'], |
| 114 | + TSAbstractMethodDefinition: ['key', 'value'], |
| 115 | + TSAbstractPropertyDefinition: ['decorators', 'key', 'typeAnnotation'], |
| 116 | + TSArrayType: ['elementType'], |
| 117 | + TSAsExpression: ['expression', 'typeAnnotation'], |
| 118 | + TSCallSignatureDeclaration: ['typeParameters', 'params', 'returnType'], |
| 119 | + TSClassImplements: ['expression', 'typeArguments'], |
| 120 | + TSConditionalType: ['checkType', 'extendsType', 'trueType', 'falseType'], |
| 121 | + TSConstructSignatureDeclaration: ['typeParameters', 'params', 'returnType'], |
| 122 | + TSConstructorType: ['typeParameters', 'params', 'returnType'], |
| 123 | + TSDeclareFunction: ['id', 'typeParameters', 'params', 'returnType', 'body'], |
| 124 | + TSEmptyBodyFunctionExpression: ['id', 'typeParameters', 'params', 'returnType'], |
| 125 | + TSEnumBody: ['members'], |
| 126 | + TSEnumDeclaration: ['id', 'body'], |
| 127 | + TSEnumMember: ['id', 'initializer'], |
| 128 | + TSExportAssignment: ['expression'], |
| 129 | + TSExternalModuleReference: ['expression'], |
| 130 | + TSFunctionType: ['typeParameters', 'params', 'returnType'], |
| 131 | + TSImportEqualsDeclaration: ['id', 'moduleReference'], |
| 132 | + TSImportType: ['argument', 'options', 'qualifier', 'typeArguments'], |
| 133 | + TSIndexSignature: ['parameters', 'typeAnnotation'], |
| 134 | + TSIndexedAccessType: ['objectType', 'indexType'], |
| 135 | + TSInferType: ['typeParameter'], |
| 136 | + TSInstantiationExpression: ['expression', 'typeArguments'], |
| 137 | + TSInterfaceBody: ['body'], |
| 138 | + TSInterfaceDeclaration: ['id', 'typeParameters', 'extends', 'body'], |
| 139 | + TSInterfaceHeritage: ['expression', 'typeArguments'], |
| 140 | + TSIntersectionType: ['types'], |
| 141 | + TSJSDocNonNullableType: ['typeAnnotation'], |
| 142 | + TSJSDocNullableType: ['typeAnnotation'], |
| 143 | + TSLiteralType: ['literal'], |
| 144 | + TSMappedType: ['key', 'constraint', 'nameType', 'typeAnnotation'], |
| 145 | + TSMethodSignature: ['key', 'typeParameters', 'params', 'returnType'], |
| 146 | + TSModuleBlock: ['body'], |
| 147 | + TSModuleDeclaration: ['id', 'body'], |
| 148 | + TSNamedTupleMember: ['label', 'elementType'], |
| 149 | + TSNamespaceExportDeclaration: ['id'], |
| 150 | + TSNonNullExpression: ['expression'], |
| 151 | + TSOptionalType: ['typeAnnotation'], |
| 152 | + TSParameterProperty: ['decorators', 'parameter'], |
| 153 | + TSParenthesizedType: ['typeAnnotation'], |
| 154 | + TSPropertySignature: ['key', 'typeAnnotation'], |
| 155 | + TSQualifiedName: ['left', 'right'], |
| 156 | + TSRestType: ['typeAnnotation'], |
| 157 | + TSSatisfiesExpression: ['expression', 'typeAnnotation'], |
| 158 | + TSTemplateLiteralType: ['quasis', 'types'], |
| 159 | + TSTupleType: ['elementTypes'], |
| 160 | + TSTypeAliasDeclaration: ['id', 'typeParameters', 'typeAnnotation'], |
| 161 | + TSTypeAnnotation: ['typeAnnotation'], |
| 162 | + TSTypeAssertion: ['typeAnnotation', 'expression'], |
| 163 | + TSTypeLiteral: ['members'], |
| 164 | + TSTypeOperator: ['typeAnnotation'], |
| 165 | + TSTypeParameter: ['name', 'constraint', 'default'], |
| 166 | + TSTypeParameterDeclaration: ['params'], |
| 167 | + TSTypeParameterInstantiation: ['params'], |
| 168 | + TSTypePredicate: ['parameterName', 'typeAnnotation'], |
| 169 | + TSTypeQuery: ['exprName', 'typeArguments'], |
| 170 | + TSTypeReference: ['typeName', 'typeArguments'], |
| 171 | + TSUnionType: ['types'], |
| 172 | +}; |
0 commit comments