2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.AST_NODE_TYPES = void 0;
5 (function (AST_NODE_TYPES) {
6 AST_NODE_TYPES["ArrayExpression"] = "ArrayExpression";
7 AST_NODE_TYPES["ArrayPattern"] = "ArrayPattern";
8 AST_NODE_TYPES["ArrowFunctionExpression"] = "ArrowFunctionExpression";
9 AST_NODE_TYPES["AssignmentExpression"] = "AssignmentExpression";
10 AST_NODE_TYPES["AssignmentPattern"] = "AssignmentPattern";
11 AST_NODE_TYPES["AwaitExpression"] = "AwaitExpression";
12 AST_NODE_TYPES["BinaryExpression"] = "BinaryExpression";
13 AST_NODE_TYPES["BlockStatement"] = "BlockStatement";
14 AST_NODE_TYPES["BreakStatement"] = "BreakStatement";
15 AST_NODE_TYPES["CallExpression"] = "CallExpression";
16 AST_NODE_TYPES["CatchClause"] = "CatchClause";
17 AST_NODE_TYPES["ClassBody"] = "ClassBody";
18 AST_NODE_TYPES["ClassDeclaration"] = "ClassDeclaration";
19 AST_NODE_TYPES["ClassExpression"] = "ClassExpression";
20 AST_NODE_TYPES["ClassProperty"] = "ClassProperty";
21 AST_NODE_TYPES["ConditionalExpression"] = "ConditionalExpression";
22 AST_NODE_TYPES["ContinueStatement"] = "ContinueStatement";
23 AST_NODE_TYPES["DebuggerStatement"] = "DebuggerStatement";
24 AST_NODE_TYPES["Decorator"] = "Decorator";
25 AST_NODE_TYPES["DoWhileStatement"] = "DoWhileStatement";
26 AST_NODE_TYPES["EmptyStatement"] = "EmptyStatement";
27 AST_NODE_TYPES["ExportAllDeclaration"] = "ExportAllDeclaration";
28 AST_NODE_TYPES["ExportDefaultDeclaration"] = "ExportDefaultDeclaration";
29 AST_NODE_TYPES["ExportNamedDeclaration"] = "ExportNamedDeclaration";
30 AST_NODE_TYPES["ExportSpecifier"] = "ExportSpecifier";
31 AST_NODE_TYPES["ExpressionStatement"] = "ExpressionStatement";
32 AST_NODE_TYPES["ForInStatement"] = "ForInStatement";
33 AST_NODE_TYPES["ForOfStatement"] = "ForOfStatement";
34 AST_NODE_TYPES["ForStatement"] = "ForStatement";
35 AST_NODE_TYPES["FunctionDeclaration"] = "FunctionDeclaration";
36 AST_NODE_TYPES["FunctionExpression"] = "FunctionExpression";
37 AST_NODE_TYPES["Identifier"] = "Identifier";
38 AST_NODE_TYPES["IfStatement"] = "IfStatement";
39 AST_NODE_TYPES["Import"] = "Import";
40 AST_NODE_TYPES["ImportDeclaration"] = "ImportDeclaration";
41 AST_NODE_TYPES["ImportDefaultSpecifier"] = "ImportDefaultSpecifier";
42 AST_NODE_TYPES["ImportExpression"] = "ImportExpression";
43 AST_NODE_TYPES["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier";
44 AST_NODE_TYPES["ImportSpecifier"] = "ImportSpecifier";
45 AST_NODE_TYPES["JSXAttribute"] = "JSXAttribute";
46 AST_NODE_TYPES["JSXClosingElement"] = "JSXClosingElement";
47 AST_NODE_TYPES["JSXClosingFragment"] = "JSXClosingFragment";
48 AST_NODE_TYPES["JSXElement"] = "JSXElement";
49 AST_NODE_TYPES["JSXEmptyExpression"] = "JSXEmptyExpression";
50 AST_NODE_TYPES["JSXExpressionContainer"] = "JSXExpressionContainer";
51 AST_NODE_TYPES["JSXFragment"] = "JSXFragment";
52 AST_NODE_TYPES["JSXIdentifier"] = "JSXIdentifier";
53 AST_NODE_TYPES["JSXMemberExpression"] = "JSXMemberExpression";
54 AST_NODE_TYPES["JSXOpeningElement"] = "JSXOpeningElement";
55 AST_NODE_TYPES["JSXOpeningFragment"] = "JSXOpeningFragment";
56 AST_NODE_TYPES["JSXSpreadAttribute"] = "JSXSpreadAttribute";
57 AST_NODE_TYPES["JSXSpreadChild"] = "JSXSpreadChild";
58 AST_NODE_TYPES["JSXText"] = "JSXText";
59 AST_NODE_TYPES["LabeledStatement"] = "LabeledStatement";
60 AST_NODE_TYPES["Literal"] = "Literal";
61 AST_NODE_TYPES["LogicalExpression"] = "LogicalExpression";
62 AST_NODE_TYPES["MemberExpression"] = "MemberExpression";
63 AST_NODE_TYPES["MetaProperty"] = "MetaProperty";
64 AST_NODE_TYPES["MethodDefinition"] = "MethodDefinition";
65 AST_NODE_TYPES["NewExpression"] = "NewExpression";
66 AST_NODE_TYPES["ObjectExpression"] = "ObjectExpression";
67 AST_NODE_TYPES["ObjectPattern"] = "ObjectPattern";
68 AST_NODE_TYPES["OptionalCallExpression"] = "OptionalCallExpression";
69 AST_NODE_TYPES["OptionalMemberExpression"] = "OptionalMemberExpression";
70 AST_NODE_TYPES["Program"] = "Program";
71 AST_NODE_TYPES["Property"] = "Property";
72 AST_NODE_TYPES["RestElement"] = "RestElement";
73 AST_NODE_TYPES["ReturnStatement"] = "ReturnStatement";
74 AST_NODE_TYPES["SequenceExpression"] = "SequenceExpression";
75 AST_NODE_TYPES["SpreadElement"] = "SpreadElement";
76 AST_NODE_TYPES["Super"] = "Super";
77 AST_NODE_TYPES["SwitchCase"] = "SwitchCase";
78 AST_NODE_TYPES["SwitchStatement"] = "SwitchStatement";
79 AST_NODE_TYPES["TaggedTemplateExpression"] = "TaggedTemplateExpression";
80 AST_NODE_TYPES["TemplateElement"] = "TemplateElement";
81 AST_NODE_TYPES["TemplateLiteral"] = "TemplateLiteral";
82 AST_NODE_TYPES["ThisExpression"] = "ThisExpression";
83 AST_NODE_TYPES["ThrowStatement"] = "ThrowStatement";
84 AST_NODE_TYPES["TryStatement"] = "TryStatement";
85 AST_NODE_TYPES["UnaryExpression"] = "UnaryExpression";
86 AST_NODE_TYPES["UpdateExpression"] = "UpdateExpression";
87 AST_NODE_TYPES["VariableDeclaration"] = "VariableDeclaration";
88 AST_NODE_TYPES["VariableDeclarator"] = "VariableDeclarator";
89 AST_NODE_TYPES["WhileStatement"] = "WhileStatement";
90 AST_NODE_TYPES["WithStatement"] = "WithStatement";
91 AST_NODE_TYPES["YieldExpression"] = "YieldExpression";
95 AST_NODE_TYPES["TSAbstractClassProperty"] = "TSAbstractClassProperty";
96 AST_NODE_TYPES["TSAbstractKeyword"] = "TSAbstractKeyword";
97 AST_NODE_TYPES["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition";
98 AST_NODE_TYPES["TSAnyKeyword"] = "TSAnyKeyword";
99 AST_NODE_TYPES["TSArrayType"] = "TSArrayType";
100 AST_NODE_TYPES["TSAsExpression"] = "TSAsExpression";
101 AST_NODE_TYPES["TSAsyncKeyword"] = "TSAsyncKeyword";
102 AST_NODE_TYPES["TSBooleanKeyword"] = "TSBooleanKeyword";
103 AST_NODE_TYPES["TSBigIntKeyword"] = "TSBigIntKeyword";
104 AST_NODE_TYPES["TSConditionalType"] = "TSConditionalType";
105 AST_NODE_TYPES["TSConstructorType"] = "TSConstructorType";
106 AST_NODE_TYPES["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration";
107 AST_NODE_TYPES["TSClassImplements"] = "TSClassImplements";
108 AST_NODE_TYPES["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration";
109 AST_NODE_TYPES["TSDeclareKeyword"] = "TSDeclareKeyword";
110 AST_NODE_TYPES["TSDeclareFunction"] = "TSDeclareFunction";
111 AST_NODE_TYPES["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression";
112 AST_NODE_TYPES["TSEnumDeclaration"] = "TSEnumDeclaration";
113 AST_NODE_TYPES["TSEnumMember"] = "TSEnumMember";
114 AST_NODE_TYPES["TSExportAssignment"] = "TSExportAssignment";
115 AST_NODE_TYPES["TSExportKeyword"] = "TSExportKeyword";
116 AST_NODE_TYPES["TSExternalModuleReference"] = "TSExternalModuleReference";
117 AST_NODE_TYPES["TSImportType"] = "TSImportType";
118 AST_NODE_TYPES["TSInferType"] = "TSInferType";
119 AST_NODE_TYPES["TSLiteralType"] = "TSLiteralType";
120 AST_NODE_TYPES["TSIndexedAccessType"] = "TSIndexedAccessType";
121 AST_NODE_TYPES["TSIndexSignature"] = "TSIndexSignature";
122 AST_NODE_TYPES["TSInterfaceBody"] = "TSInterfaceBody";
123 AST_NODE_TYPES["TSInterfaceDeclaration"] = "TSInterfaceDeclaration";
124 AST_NODE_TYPES["TSInterfaceHeritage"] = "TSInterfaceHeritage";
125 AST_NODE_TYPES["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration";
126 AST_NODE_TYPES["TSFunctionType"] = "TSFunctionType";
127 AST_NODE_TYPES["TSMethodSignature"] = "TSMethodSignature";
128 AST_NODE_TYPES["TSModuleBlock"] = "TSModuleBlock";
129 AST_NODE_TYPES["TSModuleDeclaration"] = "TSModuleDeclaration";
130 AST_NODE_TYPES["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration";
131 AST_NODE_TYPES["TSNonNullExpression"] = "TSNonNullExpression";
132 AST_NODE_TYPES["TSNeverKeyword"] = "TSNeverKeyword";
133 AST_NODE_TYPES["TSNullKeyword"] = "TSNullKeyword";
134 AST_NODE_TYPES["TSNumberKeyword"] = "TSNumberKeyword";
135 AST_NODE_TYPES["TSMappedType"] = "TSMappedType";
136 AST_NODE_TYPES["TSObjectKeyword"] = "TSObjectKeyword";
137 AST_NODE_TYPES["TSParameterProperty"] = "TSParameterProperty";
138 AST_NODE_TYPES["TSPrivateKeyword"] = "TSPrivateKeyword";
139 AST_NODE_TYPES["TSPropertySignature"] = "TSPropertySignature";
140 AST_NODE_TYPES["TSProtectedKeyword"] = "TSProtectedKeyword";
141 AST_NODE_TYPES["TSPublicKeyword"] = "TSPublicKeyword";
142 AST_NODE_TYPES["TSQualifiedName"] = "TSQualifiedName";
143 AST_NODE_TYPES["TSReadonlyKeyword"] = "TSReadonlyKeyword";
144 AST_NODE_TYPES["TSRestType"] = "TSRestType";
145 AST_NODE_TYPES["TSStaticKeyword"] = "TSStaticKeyword";
146 AST_NODE_TYPES["TSStringKeyword"] = "TSStringKeyword";
147 AST_NODE_TYPES["TSSymbolKeyword"] = "TSSymbolKeyword";
148 AST_NODE_TYPES["TSThisType"] = "TSThisType";
149 AST_NODE_TYPES["TSTypeAnnotation"] = "TSTypeAnnotation";
150 AST_NODE_TYPES["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration";
151 AST_NODE_TYPES["TSTypeAssertion"] = "TSTypeAssertion";
152 AST_NODE_TYPES["TSTypeLiteral"] = "TSTypeLiteral";
153 AST_NODE_TYPES["TSTypeOperator"] = "TSTypeOperator";
154 AST_NODE_TYPES["TSTypeParameter"] = "TSTypeParameter";
155 AST_NODE_TYPES["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration";
156 AST_NODE_TYPES["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation";
157 AST_NODE_TYPES["TSTypePredicate"] = "TSTypePredicate";
158 AST_NODE_TYPES["TSTypeReference"] = "TSTypeReference";
159 AST_NODE_TYPES["TSTypeQuery"] = "TSTypeQuery";
160 AST_NODE_TYPES["TSIntersectionType"] = "TSIntersectionType";
161 AST_NODE_TYPES["TSTupleType"] = "TSTupleType";
162 AST_NODE_TYPES["TSOptionalType"] = "TSOptionalType";
163 AST_NODE_TYPES["TSParenthesizedType"] = "TSParenthesizedType";
164 AST_NODE_TYPES["TSUnionType"] = "TSUnionType";
165 AST_NODE_TYPES["TSUndefinedKeyword"] = "TSUndefinedKeyword";
166 AST_NODE_TYPES["TSUnknownKeyword"] = "TSUnknownKeyword";
167 AST_NODE_TYPES["TSVoidKeyword"] = "TSVoidKeyword";
168 })(AST_NODE_TYPES || (AST_NODE_TYPES = {}));
169 exports.AST_NODE_TYPES = AST_NODE_TYPES;
170 //# sourceMappingURL=ast-node-types.js.map