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["ImportDeclaration"] = "ImportDeclaration";
40 AST_NODE_TYPES["ImportDefaultSpecifier"] = "ImportDefaultSpecifier";
41 AST_NODE_TYPES["ImportExpression"] = "ImportExpression";
42 AST_NODE_TYPES["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier";
43 AST_NODE_TYPES["ImportSpecifier"] = "ImportSpecifier";
44 AST_NODE_TYPES["JSXAttribute"] = "JSXAttribute";
45 AST_NODE_TYPES["JSXClosingElement"] = "JSXClosingElement";
46 AST_NODE_TYPES["JSXClosingFragment"] = "JSXClosingFragment";
47 AST_NODE_TYPES["JSXElement"] = "JSXElement";
48 AST_NODE_TYPES["JSXEmptyExpression"] = "JSXEmptyExpression";
49 AST_NODE_TYPES["JSXExpressionContainer"] = "JSXExpressionContainer";
50 AST_NODE_TYPES["JSXFragment"] = "JSXFragment";
51 AST_NODE_TYPES["JSXIdentifier"] = "JSXIdentifier";
52 AST_NODE_TYPES["JSXMemberExpression"] = "JSXMemberExpression";
53 AST_NODE_TYPES["JSXOpeningElement"] = "JSXOpeningElement";
54 AST_NODE_TYPES["JSXOpeningFragment"] = "JSXOpeningFragment";
55 AST_NODE_TYPES["JSXSpreadAttribute"] = "JSXSpreadAttribute";
56 AST_NODE_TYPES["JSXSpreadChild"] = "JSXSpreadChild";
57 AST_NODE_TYPES["JSXText"] = "JSXText";
58 AST_NODE_TYPES["LabeledStatement"] = "LabeledStatement";
59 AST_NODE_TYPES["Literal"] = "Literal";
60 AST_NODE_TYPES["LogicalExpression"] = "LogicalExpression";
61 AST_NODE_TYPES["MemberExpression"] = "MemberExpression";
62 AST_NODE_TYPES["MetaProperty"] = "MetaProperty";
63 AST_NODE_TYPES["MethodDefinition"] = "MethodDefinition";
64 AST_NODE_TYPES["NewExpression"] = "NewExpression";
65 AST_NODE_TYPES["ObjectExpression"] = "ObjectExpression";
66 AST_NODE_TYPES["ObjectPattern"] = "ObjectPattern";
67 AST_NODE_TYPES["OptionalCallExpression"] = "OptionalCallExpression";
68 AST_NODE_TYPES["OptionalMemberExpression"] = "OptionalMemberExpression";
69 AST_NODE_TYPES["Program"] = "Program";
70 AST_NODE_TYPES["Property"] = "Property";
71 AST_NODE_TYPES["RestElement"] = "RestElement";
72 AST_NODE_TYPES["ReturnStatement"] = "ReturnStatement";
73 AST_NODE_TYPES["SequenceExpression"] = "SequenceExpression";
74 AST_NODE_TYPES["SpreadElement"] = "SpreadElement";
75 AST_NODE_TYPES["Super"] = "Super";
76 AST_NODE_TYPES["SwitchCase"] = "SwitchCase";
77 AST_NODE_TYPES["SwitchStatement"] = "SwitchStatement";
78 AST_NODE_TYPES["TaggedTemplateExpression"] = "TaggedTemplateExpression";
79 AST_NODE_TYPES["TemplateElement"] = "TemplateElement";
80 AST_NODE_TYPES["TemplateLiteral"] = "TemplateLiteral";
81 AST_NODE_TYPES["ThisExpression"] = "ThisExpression";
82 AST_NODE_TYPES["ThrowStatement"] = "ThrowStatement";
83 AST_NODE_TYPES["TryStatement"] = "TryStatement";
84 AST_NODE_TYPES["UnaryExpression"] = "UnaryExpression";
85 AST_NODE_TYPES["UpdateExpression"] = "UpdateExpression";
86 AST_NODE_TYPES["VariableDeclaration"] = "VariableDeclaration";
87 AST_NODE_TYPES["VariableDeclarator"] = "VariableDeclarator";
88 AST_NODE_TYPES["WhileStatement"] = "WhileStatement";
89 AST_NODE_TYPES["WithStatement"] = "WithStatement";
90 AST_NODE_TYPES["YieldExpression"] = "YieldExpression";
94 AST_NODE_TYPES["TSAbstractClassProperty"] = "TSAbstractClassProperty";
95 AST_NODE_TYPES["TSAbstractKeyword"] = "TSAbstractKeyword";
96 AST_NODE_TYPES["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition";
97 AST_NODE_TYPES["TSAnyKeyword"] = "TSAnyKeyword";
98 AST_NODE_TYPES["TSArrayType"] = "TSArrayType";
99 AST_NODE_TYPES["TSAsExpression"] = "TSAsExpression";
100 AST_NODE_TYPES["TSAsyncKeyword"] = "TSAsyncKeyword";
101 AST_NODE_TYPES["TSBigIntKeyword"] = "TSBigIntKeyword";
102 AST_NODE_TYPES["TSBooleanKeyword"] = "TSBooleanKeyword";
103 AST_NODE_TYPES["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration";
104 AST_NODE_TYPES["TSClassImplements"] = "TSClassImplements";
105 AST_NODE_TYPES["TSConditionalType"] = "TSConditionalType";
106 AST_NODE_TYPES["TSConstructorType"] = "TSConstructorType";
107 AST_NODE_TYPES["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration";
108 AST_NODE_TYPES["TSDeclareFunction"] = "TSDeclareFunction";
109 AST_NODE_TYPES["TSDeclareKeyword"] = "TSDeclareKeyword";
110 AST_NODE_TYPES["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression";
111 AST_NODE_TYPES["TSEnumDeclaration"] = "TSEnumDeclaration";
112 AST_NODE_TYPES["TSEnumMember"] = "TSEnumMember";
113 AST_NODE_TYPES["TSExportAssignment"] = "TSExportAssignment";
114 AST_NODE_TYPES["TSExportKeyword"] = "TSExportKeyword";
115 AST_NODE_TYPES["TSExternalModuleReference"] = "TSExternalModuleReference";
116 AST_NODE_TYPES["TSFunctionType"] = "TSFunctionType";
117 AST_NODE_TYPES["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration";
118 AST_NODE_TYPES["TSImportType"] = "TSImportType";
119 AST_NODE_TYPES["TSIndexedAccessType"] = "TSIndexedAccessType";
120 AST_NODE_TYPES["TSIndexSignature"] = "TSIndexSignature";
121 AST_NODE_TYPES["TSInferType"] = "TSInferType";
122 AST_NODE_TYPES["TSInterfaceBody"] = "TSInterfaceBody";
123 AST_NODE_TYPES["TSInterfaceDeclaration"] = "TSInterfaceDeclaration";
124 AST_NODE_TYPES["TSInterfaceHeritage"] = "TSInterfaceHeritage";
125 AST_NODE_TYPES["TSIntersectionType"] = "TSIntersectionType";
126 AST_NODE_TYPES["TSLiteralType"] = "TSLiteralType";
127 AST_NODE_TYPES["TSMappedType"] = "TSMappedType";
128 AST_NODE_TYPES["TSMethodSignature"] = "TSMethodSignature";
129 AST_NODE_TYPES["TSModuleBlock"] = "TSModuleBlock";
130 AST_NODE_TYPES["TSModuleDeclaration"] = "TSModuleDeclaration";
131 AST_NODE_TYPES["TSNamedTupleMember"] = "TSNamedTupleMember";
132 AST_NODE_TYPES["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration";
133 AST_NODE_TYPES["TSNeverKeyword"] = "TSNeverKeyword";
134 AST_NODE_TYPES["TSNonNullExpression"] = "TSNonNullExpression";
135 AST_NODE_TYPES["TSNullKeyword"] = "TSNullKeyword";
136 AST_NODE_TYPES["TSNumberKeyword"] = "TSNumberKeyword";
137 AST_NODE_TYPES["TSObjectKeyword"] = "TSObjectKeyword";
138 AST_NODE_TYPES["TSOptionalType"] = "TSOptionalType";
139 AST_NODE_TYPES["TSParameterProperty"] = "TSParameterProperty";
140 AST_NODE_TYPES["TSParenthesizedType"] = "TSParenthesizedType";
141 AST_NODE_TYPES["TSPrivateKeyword"] = "TSPrivateKeyword";
142 AST_NODE_TYPES["TSPropertySignature"] = "TSPropertySignature";
143 AST_NODE_TYPES["TSProtectedKeyword"] = "TSProtectedKeyword";
144 AST_NODE_TYPES["TSPublicKeyword"] = "TSPublicKeyword";
145 AST_NODE_TYPES["TSQualifiedName"] = "TSQualifiedName";
146 AST_NODE_TYPES["TSReadonlyKeyword"] = "TSReadonlyKeyword";
147 AST_NODE_TYPES["TSRestType"] = "TSRestType";
148 AST_NODE_TYPES["TSStaticKeyword"] = "TSStaticKeyword";
149 AST_NODE_TYPES["TSStringKeyword"] = "TSStringKeyword";
150 AST_NODE_TYPES["TSSymbolKeyword"] = "TSSymbolKeyword";
151 AST_NODE_TYPES["TSThisType"] = "TSThisType";
152 AST_NODE_TYPES["TSTupleType"] = "TSTupleType";
153 AST_NODE_TYPES["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration";
154 AST_NODE_TYPES["TSTypeAnnotation"] = "TSTypeAnnotation";
155 AST_NODE_TYPES["TSTypeAssertion"] = "TSTypeAssertion";
156 AST_NODE_TYPES["TSTypeLiteral"] = "TSTypeLiteral";
157 AST_NODE_TYPES["TSTypeOperator"] = "TSTypeOperator";
158 AST_NODE_TYPES["TSTypeParameter"] = "TSTypeParameter";
159 AST_NODE_TYPES["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration";
160 AST_NODE_TYPES["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation";
161 AST_NODE_TYPES["TSTypePredicate"] = "TSTypePredicate";
162 AST_NODE_TYPES["TSTypeQuery"] = "TSTypeQuery";
163 AST_NODE_TYPES["TSTypeReference"] = "TSTypeReference";
164 AST_NODE_TYPES["TSUndefinedKeyword"] = "TSUndefinedKeyword";
165 AST_NODE_TYPES["TSUnionType"] = "TSUnionType";
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