1 | import { NodePath } from "../lib/node-path";
|
2 | import { Context } from "../lib/path-visitor";
|
3 | import { namedTypes } from "./namedTypes";
|
4 | export interface Visitor<M = {}> {
|
5 | visitPrintable?(this: Context & M, path: NodePath<namedTypes.Printable>): any;
|
6 | visitSourceLocation?(this: Context & M, path: NodePath<namedTypes.SourceLocation>): any;
|
7 | visitNode?(this: Context & M, path: NodePath<namedTypes.Node>): any;
|
8 | visitComment?(this: Context & M, path: NodePath<namedTypes.Comment>): any;
|
9 | visitPosition?(this: Context & M, path: NodePath<namedTypes.Position>): any;
|
10 | visitFile?(this: Context & M, path: NodePath<namedTypes.File>): any;
|
11 | visitProgram?(this: Context & M, path: NodePath<namedTypes.Program>): any;
|
12 | visitStatement?(this: Context & M, path: NodePath<namedTypes.Statement>): any;
|
13 | visitFunction?(this: Context & M, path: NodePath<namedTypes.Function>): any;
|
14 | visitExpression?(this: Context & M, path: NodePath<namedTypes.Expression>): any;
|
15 | visitPattern?(this: Context & M, path: NodePath<namedTypes.Pattern>): any;
|
16 | visitIdentifier?(this: Context & M, path: NodePath<namedTypes.Identifier>): any;
|
17 | visitBlockStatement?(this: Context & M, path: NodePath<namedTypes.BlockStatement>): any;
|
18 | visitEmptyStatement?(this: Context & M, path: NodePath<namedTypes.EmptyStatement>): any;
|
19 | visitExpressionStatement?(this: Context & M, path: NodePath<namedTypes.ExpressionStatement>): any;
|
20 | visitIfStatement?(this: Context & M, path: NodePath<namedTypes.IfStatement>): any;
|
21 | visitLabeledStatement?(this: Context & M, path: NodePath<namedTypes.LabeledStatement>): any;
|
22 | visitBreakStatement?(this: Context & M, path: NodePath<namedTypes.BreakStatement>): any;
|
23 | visitContinueStatement?(this: Context & M, path: NodePath<namedTypes.ContinueStatement>): any;
|
24 | visitWithStatement?(this: Context & M, path: NodePath<namedTypes.WithStatement>): any;
|
25 | visitSwitchStatement?(this: Context & M, path: NodePath<namedTypes.SwitchStatement>): any;
|
26 | visitSwitchCase?(this: Context & M, path: NodePath<namedTypes.SwitchCase>): any;
|
27 | visitReturnStatement?(this: Context & M, path: NodePath<namedTypes.ReturnStatement>): any;
|
28 | visitThrowStatement?(this: Context & M, path: NodePath<namedTypes.ThrowStatement>): any;
|
29 | visitTryStatement?(this: Context & M, path: NodePath<namedTypes.TryStatement>): any;
|
30 | visitCatchClause?(this: Context & M, path: NodePath<namedTypes.CatchClause>): any;
|
31 | visitWhileStatement?(this: Context & M, path: NodePath<namedTypes.WhileStatement>): any;
|
32 | visitDoWhileStatement?(this: Context & M, path: NodePath<namedTypes.DoWhileStatement>): any;
|
33 | visitForStatement?(this: Context & M, path: NodePath<namedTypes.ForStatement>): any;
|
34 | visitDeclaration?(this: Context & M, path: NodePath<namedTypes.Declaration>): any;
|
35 | visitVariableDeclaration?(this: Context & M, path: NodePath<namedTypes.VariableDeclaration>): any;
|
36 | visitForInStatement?(this: Context & M, path: NodePath<namedTypes.ForInStatement>): any;
|
37 | visitDebuggerStatement?(this: Context & M, path: NodePath<namedTypes.DebuggerStatement>): any;
|
38 | visitFunctionDeclaration?(this: Context & M, path: NodePath<namedTypes.FunctionDeclaration>): any;
|
39 | visitFunctionExpression?(this: Context & M, path: NodePath<namedTypes.FunctionExpression>): any;
|
40 | visitVariableDeclarator?(this: Context & M, path: NodePath<namedTypes.VariableDeclarator>): any;
|
41 | visitThisExpression?(this: Context & M, path: NodePath<namedTypes.ThisExpression>): any;
|
42 | visitArrayExpression?(this: Context & M, path: NodePath<namedTypes.ArrayExpression>): any;
|
43 | visitObjectExpression?(this: Context & M, path: NodePath<namedTypes.ObjectExpression>): any;
|
44 | visitProperty?(this: Context & M, path: NodePath<namedTypes.Property>): any;
|
45 | visitLiteral?(this: Context & M, path: NodePath<namedTypes.Literal>): any;
|
46 | visitSequenceExpression?(this: Context & M, path: NodePath<namedTypes.SequenceExpression>): any;
|
47 | visitUnaryExpression?(this: Context & M, path: NodePath<namedTypes.UnaryExpression>): any;
|
48 | visitBinaryExpression?(this: Context & M, path: NodePath<namedTypes.BinaryExpression>): any;
|
49 | visitAssignmentExpression?(this: Context & M, path: NodePath<namedTypes.AssignmentExpression>): any;
|
50 | visitChainElement?(this: Context & M, path: NodePath<namedTypes.ChainElement>): any;
|
51 | visitMemberExpression?(this: Context & M, path: NodePath<namedTypes.MemberExpression>): any;
|
52 | visitUpdateExpression?(this: Context & M, path: NodePath<namedTypes.UpdateExpression>): any;
|
53 | visitLogicalExpression?(this: Context & M, path: NodePath<namedTypes.LogicalExpression>): any;
|
54 | visitConditionalExpression?(this: Context & M, path: NodePath<namedTypes.ConditionalExpression>): any;
|
55 | visitNewExpression?(this: Context & M, path: NodePath<namedTypes.NewExpression>): any;
|
56 | visitCallExpression?(this: Context & M, path: NodePath<namedTypes.CallExpression>): any;
|
57 | visitRestElement?(this: Context & M, path: NodePath<namedTypes.RestElement>): any;
|
58 | visitTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.TypeAnnotation>): any;
|
59 | visitTSTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.TSTypeAnnotation>): any;
|
60 | visitSpreadElementPattern?(this: Context & M, path: NodePath<namedTypes.SpreadElementPattern>): any;
|
61 | visitArrowFunctionExpression?(this: Context & M, path: NodePath<namedTypes.ArrowFunctionExpression>): any;
|
62 | visitForOfStatement?(this: Context & M, path: NodePath<namedTypes.ForOfStatement>): any;
|
63 | visitYieldExpression?(this: Context & M, path: NodePath<namedTypes.YieldExpression>): any;
|
64 | visitGeneratorExpression?(this: Context & M, path: NodePath<namedTypes.GeneratorExpression>): any;
|
65 | visitComprehensionBlock?(this: Context & M, path: NodePath<namedTypes.ComprehensionBlock>): any;
|
66 | visitComprehensionExpression?(this: Context & M, path: NodePath<namedTypes.ComprehensionExpression>): any;
|
67 | visitObjectProperty?(this: Context & M, path: NodePath<namedTypes.ObjectProperty>): any;
|
68 | visitPropertyPattern?(this: Context & M, path: NodePath<namedTypes.PropertyPattern>): any;
|
69 | visitObjectPattern?(this: Context & M, path: NodePath<namedTypes.ObjectPattern>): any;
|
70 | visitArrayPattern?(this: Context & M, path: NodePath<namedTypes.ArrayPattern>): any;
|
71 | visitSpreadElement?(this: Context & M, path: NodePath<namedTypes.SpreadElement>): any;
|
72 | visitAssignmentPattern?(this: Context & M, path: NodePath<namedTypes.AssignmentPattern>): any;
|
73 | visitMethodDefinition?(this: Context & M, path: NodePath<namedTypes.MethodDefinition>): any;
|
74 | visitClassPropertyDefinition?(this: Context & M, path: NodePath<namedTypes.ClassPropertyDefinition>): any;
|
75 | visitClassProperty?(this: Context & M, path: NodePath<namedTypes.ClassProperty>): any;
|
76 | visitClassBody?(this: Context & M, path: NodePath<namedTypes.ClassBody>): any;
|
77 | visitClassDeclaration?(this: Context & M, path: NodePath<namedTypes.ClassDeclaration>): any;
|
78 | visitClassExpression?(this: Context & M, path: NodePath<namedTypes.ClassExpression>): any;
|
79 | visitSuper?(this: Context & M, path: NodePath<namedTypes.Super>): any;
|
80 | visitSpecifier?(this: Context & M, path: NodePath<namedTypes.Specifier>): any;
|
81 | visitModuleSpecifier?(this: Context & M, path: NodePath<namedTypes.ModuleSpecifier>): any;
|
82 | visitImportSpecifier?(this: Context & M, path: NodePath<namedTypes.ImportSpecifier>): any;
|
83 | visitImportDefaultSpecifier?(this: Context & M, path: NodePath<namedTypes.ImportDefaultSpecifier>): any;
|
84 | visitImportNamespaceSpecifier?(this: Context & M, path: NodePath<namedTypes.ImportNamespaceSpecifier>): any;
|
85 | visitImportDeclaration?(this: Context & M, path: NodePath<namedTypes.ImportDeclaration>): any;
|
86 | visitExportNamedDeclaration?(this: Context & M, path: NodePath<namedTypes.ExportNamedDeclaration>): any;
|
87 | visitExportSpecifier?(this: Context & M, path: NodePath<namedTypes.ExportSpecifier>): any;
|
88 | visitExportDefaultDeclaration?(this: Context & M, path: NodePath<namedTypes.ExportDefaultDeclaration>): any;
|
89 | visitExportAllDeclaration?(this: Context & M, path: NodePath<namedTypes.ExportAllDeclaration>): any;
|
90 | visitTaggedTemplateExpression?(this: Context & M, path: NodePath<namedTypes.TaggedTemplateExpression>): any;
|
91 | visitTemplateLiteral?(this: Context & M, path: NodePath<namedTypes.TemplateLiteral>): any;
|
92 | visitTemplateElement?(this: Context & M, path: NodePath<namedTypes.TemplateElement>): any;
|
93 | visitMetaProperty?(this: Context & M, path: NodePath<namedTypes.MetaProperty>): any;
|
94 | visitAwaitExpression?(this: Context & M, path: NodePath<namedTypes.AwaitExpression>): any;
|
95 | visitSpreadProperty?(this: Context & M, path: NodePath<namedTypes.SpreadProperty>): any;
|
96 | visitSpreadPropertyPattern?(this: Context & M, path: NodePath<namedTypes.SpreadPropertyPattern>): any;
|
97 | visitImportExpression?(this: Context & M, path: NodePath<namedTypes.ImportExpression>): any;
|
98 | visitChainExpression?(this: Context & M, path: NodePath<namedTypes.ChainExpression>): any;
|
99 | visitOptionalCallExpression?(this: Context & M, path: NodePath<namedTypes.OptionalCallExpression>): any;
|
100 | visitOptionalMemberExpression?(this: Context & M, path: NodePath<namedTypes.OptionalMemberExpression>): any;
|
101 | visitJSXAttribute?(this: Context & M, path: NodePath<namedTypes.JSXAttribute>): any;
|
102 | visitJSXIdentifier?(this: Context & M, path: NodePath<namedTypes.JSXIdentifier>): any;
|
103 | visitJSXNamespacedName?(this: Context & M, path: NodePath<namedTypes.JSXNamespacedName>): any;
|
104 | visitJSXExpressionContainer?(this: Context & M, path: NodePath<namedTypes.JSXExpressionContainer>): any;
|
105 | visitJSXElement?(this: Context & M, path: NodePath<namedTypes.JSXElement>): any;
|
106 | visitJSXFragment?(this: Context & M, path: NodePath<namedTypes.JSXFragment>): any;
|
107 | visitJSXMemberExpression?(this: Context & M, path: NodePath<namedTypes.JSXMemberExpression>): any;
|
108 | visitJSXSpreadAttribute?(this: Context & M, path: NodePath<namedTypes.JSXSpreadAttribute>): any;
|
109 | visitJSXEmptyExpression?(this: Context & M, path: NodePath<namedTypes.JSXEmptyExpression>): any;
|
110 | visitJSXText?(this: Context & M, path: NodePath<namedTypes.JSXText>): any;
|
111 | visitJSXSpreadChild?(this: Context & M, path: NodePath<namedTypes.JSXSpreadChild>): any;
|
112 | visitJSXOpeningElement?(this: Context & M, path: NodePath<namedTypes.JSXOpeningElement>): any;
|
113 | visitJSXClosingElement?(this: Context & M, path: NodePath<namedTypes.JSXClosingElement>): any;
|
114 | visitJSXOpeningFragment?(this: Context & M, path: NodePath<namedTypes.JSXOpeningFragment>): any;
|
115 | visitJSXClosingFragment?(this: Context & M, path: NodePath<namedTypes.JSXClosingFragment>): any;
|
116 | visitDecorator?(this: Context & M, path: NodePath<namedTypes.Decorator>): any;
|
117 | visitPrivateName?(this: Context & M, path: NodePath<namedTypes.PrivateName>): any;
|
118 | visitClassPrivateProperty?(this: Context & M, path: NodePath<namedTypes.ClassPrivateProperty>): any;
|
119 | visitTypeParameterDeclaration?(this: Context & M, path: NodePath<namedTypes.TypeParameterDeclaration>): any;
|
120 | visitTSTypeParameterDeclaration?(this: Context & M, path: NodePath<namedTypes.TSTypeParameterDeclaration>): any;
|
121 | visitTypeParameterInstantiation?(this: Context & M, path: NodePath<namedTypes.TypeParameterInstantiation>): any;
|
122 | visitTSTypeParameterInstantiation?(this: Context & M, path: NodePath<namedTypes.TSTypeParameterInstantiation>): any;
|
123 | visitClassImplements?(this: Context & M, path: NodePath<namedTypes.ClassImplements>): any;
|
124 | visitTSType?(this: Context & M, path: NodePath<namedTypes.TSType>): any;
|
125 | visitTSHasOptionalTypeParameterInstantiation?(this: Context & M, path: NodePath<namedTypes.TSHasOptionalTypeParameterInstantiation>): any;
|
126 | visitTSExpressionWithTypeArguments?(this: Context & M, path: NodePath<namedTypes.TSExpressionWithTypeArguments>): any;
|
127 | visitFlow?(this: Context & M, path: NodePath<namedTypes.Flow>): any;
|
128 | visitFlowType?(this: Context & M, path: NodePath<namedTypes.FlowType>): any;
|
129 | visitAnyTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.AnyTypeAnnotation>): any;
|
130 | visitEmptyTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.EmptyTypeAnnotation>): any;
|
131 | visitMixedTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.MixedTypeAnnotation>): any;
|
132 | visitVoidTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.VoidTypeAnnotation>): any;
|
133 | visitSymbolTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.SymbolTypeAnnotation>): any;
|
134 | visitNumberTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NumberTypeAnnotation>): any;
|
135 | visitBigIntTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.BigIntTypeAnnotation>): any;
|
136 | visitNumberLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NumberLiteralTypeAnnotation>): any;
|
137 | visitNumericLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NumericLiteralTypeAnnotation>): any;
|
138 | visitBigIntLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.BigIntLiteralTypeAnnotation>): any;
|
139 | visitStringTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.StringTypeAnnotation>): any;
|
140 | visitStringLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.StringLiteralTypeAnnotation>): any;
|
141 | visitBooleanTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.BooleanTypeAnnotation>): any;
|
142 | visitBooleanLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.BooleanLiteralTypeAnnotation>): any;
|
143 | visitNullableTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NullableTypeAnnotation>): any;
|
144 | visitNullLiteralTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NullLiteralTypeAnnotation>): any;
|
145 | visitNullTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.NullTypeAnnotation>): any;
|
146 | visitThisTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.ThisTypeAnnotation>): any;
|
147 | visitExistsTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.ExistsTypeAnnotation>): any;
|
148 | visitExistentialTypeParam?(this: Context & M, path: NodePath<namedTypes.ExistentialTypeParam>): any;
|
149 | visitFunctionTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.FunctionTypeAnnotation>): any;
|
150 | visitFunctionTypeParam?(this: Context & M, path: NodePath<namedTypes.FunctionTypeParam>): any;
|
151 | visitArrayTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.ArrayTypeAnnotation>): any;
|
152 | visitObjectTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.ObjectTypeAnnotation>): any;
|
153 | visitObjectTypeProperty?(this: Context & M, path: NodePath<namedTypes.ObjectTypeProperty>): any;
|
154 | visitObjectTypeSpreadProperty?(this: Context & M, path: NodePath<namedTypes.ObjectTypeSpreadProperty>): any;
|
155 | visitObjectTypeIndexer?(this: Context & M, path: NodePath<namedTypes.ObjectTypeIndexer>): any;
|
156 | visitObjectTypeCallProperty?(this: Context & M, path: NodePath<namedTypes.ObjectTypeCallProperty>): any;
|
157 | visitObjectTypeInternalSlot?(this: Context & M, path: NodePath<namedTypes.ObjectTypeInternalSlot>): any;
|
158 | visitVariance?(this: Context & M, path: NodePath<namedTypes.Variance>): any;
|
159 | visitQualifiedTypeIdentifier?(this: Context & M, path: NodePath<namedTypes.QualifiedTypeIdentifier>): any;
|
160 | visitGenericTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.GenericTypeAnnotation>): any;
|
161 | visitMemberTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.MemberTypeAnnotation>): any;
|
162 | visitUnionTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.UnionTypeAnnotation>): any;
|
163 | visitIntersectionTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.IntersectionTypeAnnotation>): any;
|
164 | visitTypeofTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.TypeofTypeAnnotation>): any;
|
165 | visitTypeParameter?(this: Context & M, path: NodePath<namedTypes.TypeParameter>): any;
|
166 | visitInterfaceTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.InterfaceTypeAnnotation>): any;
|
167 | visitInterfaceExtends?(this: Context & M, path: NodePath<namedTypes.InterfaceExtends>): any;
|
168 | visitInterfaceDeclaration?(this: Context & M, path: NodePath<namedTypes.InterfaceDeclaration>): any;
|
169 | visitDeclareInterface?(this: Context & M, path: NodePath<namedTypes.DeclareInterface>): any;
|
170 | visitTypeAlias?(this: Context & M, path: NodePath<namedTypes.TypeAlias>): any;
|
171 | visitDeclareTypeAlias?(this: Context & M, path: NodePath<namedTypes.DeclareTypeAlias>): any;
|
172 | visitOpaqueType?(this: Context & M, path: NodePath<namedTypes.OpaqueType>): any;
|
173 | visitDeclareOpaqueType?(this: Context & M, path: NodePath<namedTypes.DeclareOpaqueType>): any;
|
174 | visitTypeCastExpression?(this: Context & M, path: NodePath<namedTypes.TypeCastExpression>): any;
|
175 | visitTupleTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.TupleTypeAnnotation>): any;
|
176 | visitDeclareVariable?(this: Context & M, path: NodePath<namedTypes.DeclareVariable>): any;
|
177 | visitDeclareFunction?(this: Context & M, path: NodePath<namedTypes.DeclareFunction>): any;
|
178 | visitFlowPredicate?(this: Context & M, path: NodePath<namedTypes.FlowPredicate>): any;
|
179 | visitDeclareClass?(this: Context & M, path: NodePath<namedTypes.DeclareClass>): any;
|
180 | visitDeclareModule?(this: Context & M, path: NodePath<namedTypes.DeclareModule>): any;
|
181 | visitDeclareModuleExports?(this: Context & M, path: NodePath<namedTypes.DeclareModuleExports>): any;
|
182 | visitDeclareExportDeclaration?(this: Context & M, path: NodePath<namedTypes.DeclareExportDeclaration>): any;
|
183 | visitExportBatchSpecifier?(this: Context & M, path: NodePath<namedTypes.ExportBatchSpecifier>): any;
|
184 | visitDeclareExportAllDeclaration?(this: Context & M, path: NodePath<namedTypes.DeclareExportAllDeclaration>): any;
|
185 | visitInferredPredicate?(this: Context & M, path: NodePath<namedTypes.InferredPredicate>): any;
|
186 | visitDeclaredPredicate?(this: Context & M, path: NodePath<namedTypes.DeclaredPredicate>): any;
|
187 | visitEnumDeclaration?(this: Context & M, path: NodePath<namedTypes.EnumDeclaration>): any;
|
188 | visitEnumBooleanBody?(this: Context & M, path: NodePath<namedTypes.EnumBooleanBody>): any;
|
189 | visitEnumNumberBody?(this: Context & M, path: NodePath<namedTypes.EnumNumberBody>): any;
|
190 | visitEnumStringBody?(this: Context & M, path: NodePath<namedTypes.EnumStringBody>): any;
|
191 | visitEnumSymbolBody?(this: Context & M, path: NodePath<namedTypes.EnumSymbolBody>): any;
|
192 | visitEnumBooleanMember?(this: Context & M, path: NodePath<namedTypes.EnumBooleanMember>): any;
|
193 | visitEnumNumberMember?(this: Context & M, path: NodePath<namedTypes.EnumNumberMember>): any;
|
194 | visitEnumStringMember?(this: Context & M, path: NodePath<namedTypes.EnumStringMember>): any;
|
195 | visitEnumDefaultedMember?(this: Context & M, path: NodePath<namedTypes.EnumDefaultedMember>): any;
|
196 | visitExportDeclaration?(this: Context & M, path: NodePath<namedTypes.ExportDeclaration>): any;
|
197 | visitBlock?(this: Context & M, path: NodePath<namedTypes.Block>): any;
|
198 | visitLine?(this: Context & M, path: NodePath<namedTypes.Line>): any;
|
199 | visitNoop?(this: Context & M, path: NodePath<namedTypes.Noop>): any;
|
200 | visitDoExpression?(this: Context & M, path: NodePath<namedTypes.DoExpression>): any;
|
201 | visitBindExpression?(this: Context & M, path: NodePath<namedTypes.BindExpression>): any;
|
202 | visitParenthesizedExpression?(this: Context & M, path: NodePath<namedTypes.ParenthesizedExpression>): any;
|
203 | visitExportNamespaceSpecifier?(this: Context & M, path: NodePath<namedTypes.ExportNamespaceSpecifier>): any;
|
204 | visitExportDefaultSpecifier?(this: Context & M, path: NodePath<namedTypes.ExportDefaultSpecifier>): any;
|
205 | visitCommentBlock?(this: Context & M, path: NodePath<namedTypes.CommentBlock>): any;
|
206 | visitCommentLine?(this: Context & M, path: NodePath<namedTypes.CommentLine>): any;
|
207 | visitDirective?(this: Context & M, path: NodePath<namedTypes.Directive>): any;
|
208 | visitDirectiveLiteral?(this: Context & M, path: NodePath<namedTypes.DirectiveLiteral>): any;
|
209 | visitInterpreterDirective?(this: Context & M, path: NodePath<namedTypes.InterpreterDirective>): any;
|
210 | visitStringLiteral?(this: Context & M, path: NodePath<namedTypes.StringLiteral>): any;
|
211 | visitNumericLiteral?(this: Context & M, path: NodePath<namedTypes.NumericLiteral>): any;
|
212 | visitBigIntLiteral?(this: Context & M, path: NodePath<namedTypes.BigIntLiteral>): any;
|
213 | visitNullLiteral?(this: Context & M, path: NodePath<namedTypes.NullLiteral>): any;
|
214 | visitBooleanLiteral?(this: Context & M, path: NodePath<namedTypes.BooleanLiteral>): any;
|
215 | visitRegExpLiteral?(this: Context & M, path: NodePath<namedTypes.RegExpLiteral>): any;
|
216 | visitObjectMethod?(this: Context & M, path: NodePath<namedTypes.ObjectMethod>): any;
|
217 | visitClassMethod?(this: Context & M, path: NodePath<namedTypes.ClassMethod>): any;
|
218 | visitClassPrivateMethod?(this: Context & M, path: NodePath<namedTypes.ClassPrivateMethod>): any;
|
219 | visitRestProperty?(this: Context & M, path: NodePath<namedTypes.RestProperty>): any;
|
220 | visitForAwaitStatement?(this: Context & M, path: NodePath<namedTypes.ForAwaitStatement>): any;
|
221 | visitImport?(this: Context & M, path: NodePath<namedTypes.Import>): any;
|
222 | visitTSQualifiedName?(this: Context & M, path: NodePath<namedTypes.TSQualifiedName>): any;
|
223 | visitTSTypeReference?(this: Context & M, path: NodePath<namedTypes.TSTypeReference>): any;
|
224 | visitTSHasOptionalTypeParameters?(this: Context & M, path: NodePath<namedTypes.TSHasOptionalTypeParameters>): any;
|
225 | visitTSHasOptionalTypeAnnotation?(this: Context & M, path: NodePath<namedTypes.TSHasOptionalTypeAnnotation>): any;
|
226 | visitTSAsExpression?(this: Context & M, path: NodePath<namedTypes.TSAsExpression>): any;
|
227 | visitTSNonNullExpression?(this: Context & M, path: NodePath<namedTypes.TSNonNullExpression>): any;
|
228 | visitTSAnyKeyword?(this: Context & M, path: NodePath<namedTypes.TSAnyKeyword>): any;
|
229 | visitTSBigIntKeyword?(this: Context & M, path: NodePath<namedTypes.TSBigIntKeyword>): any;
|
230 | visitTSBooleanKeyword?(this: Context & M, path: NodePath<namedTypes.TSBooleanKeyword>): any;
|
231 | visitTSNeverKeyword?(this: Context & M, path: NodePath<namedTypes.TSNeverKeyword>): any;
|
232 | visitTSNullKeyword?(this: Context & M, path: NodePath<namedTypes.TSNullKeyword>): any;
|
233 | visitTSNumberKeyword?(this: Context & M, path: NodePath<namedTypes.TSNumberKeyword>): any;
|
234 | visitTSObjectKeyword?(this: Context & M, path: NodePath<namedTypes.TSObjectKeyword>): any;
|
235 | visitTSStringKeyword?(this: Context & M, path: NodePath<namedTypes.TSStringKeyword>): any;
|
236 | visitTSSymbolKeyword?(this: Context & M, path: NodePath<namedTypes.TSSymbolKeyword>): any;
|
237 | visitTSUndefinedKeyword?(this: Context & M, path: NodePath<namedTypes.TSUndefinedKeyword>): any;
|
238 | visitTSUnknownKeyword?(this: Context & M, path: NodePath<namedTypes.TSUnknownKeyword>): any;
|
239 | visitTSVoidKeyword?(this: Context & M, path: NodePath<namedTypes.TSVoidKeyword>): any;
|
240 | visitTSThisType?(this: Context & M, path: NodePath<namedTypes.TSThisType>): any;
|
241 | visitTSArrayType?(this: Context & M, path: NodePath<namedTypes.TSArrayType>): any;
|
242 | visitTSLiteralType?(this: Context & M, path: NodePath<namedTypes.TSLiteralType>): any;
|
243 | visitTSUnionType?(this: Context & M, path: NodePath<namedTypes.TSUnionType>): any;
|
244 | visitTSIntersectionType?(this: Context & M, path: NodePath<namedTypes.TSIntersectionType>): any;
|
245 | visitTSConditionalType?(this: Context & M, path: NodePath<namedTypes.TSConditionalType>): any;
|
246 | visitTSInferType?(this: Context & M, path: NodePath<namedTypes.TSInferType>): any;
|
247 | visitTSTypeParameter?(this: Context & M, path: NodePath<namedTypes.TSTypeParameter>): any;
|
248 | visitTSParenthesizedType?(this: Context & M, path: NodePath<namedTypes.TSParenthesizedType>): any;
|
249 | visitTSFunctionType?(this: Context & M, path: NodePath<namedTypes.TSFunctionType>): any;
|
250 | visitTSConstructorType?(this: Context & M, path: NodePath<namedTypes.TSConstructorType>): any;
|
251 | visitTSDeclareFunction?(this: Context & M, path: NodePath<namedTypes.TSDeclareFunction>): any;
|
252 | visitTSDeclareMethod?(this: Context & M, path: NodePath<namedTypes.TSDeclareMethod>): any;
|
253 | visitTSMappedType?(this: Context & M, path: NodePath<namedTypes.TSMappedType>): any;
|
254 | visitTSTupleType?(this: Context & M, path: NodePath<namedTypes.TSTupleType>): any;
|
255 | visitTSNamedTupleMember?(this: Context & M, path: NodePath<namedTypes.TSNamedTupleMember>): any;
|
256 | visitTSRestType?(this: Context & M, path: NodePath<namedTypes.TSRestType>): any;
|
257 | visitTSOptionalType?(this: Context & M, path: NodePath<namedTypes.TSOptionalType>): any;
|
258 | visitTSIndexedAccessType?(this: Context & M, path: NodePath<namedTypes.TSIndexedAccessType>): any;
|
259 | visitTSTypeOperator?(this: Context & M, path: NodePath<namedTypes.TSTypeOperator>): any;
|
260 | visitTSIndexSignature?(this: Context & M, path: NodePath<namedTypes.TSIndexSignature>): any;
|
261 | visitTSPropertySignature?(this: Context & M, path: NodePath<namedTypes.TSPropertySignature>): any;
|
262 | visitTSMethodSignature?(this: Context & M, path: NodePath<namedTypes.TSMethodSignature>): any;
|
263 | visitTSTypePredicate?(this: Context & M, path: NodePath<namedTypes.TSTypePredicate>): any;
|
264 | visitTSCallSignatureDeclaration?(this: Context & M, path: NodePath<namedTypes.TSCallSignatureDeclaration>): any;
|
265 | visitTSConstructSignatureDeclaration?(this: Context & M, path: NodePath<namedTypes.TSConstructSignatureDeclaration>): any;
|
266 | visitTSEnumMember?(this: Context & M, path: NodePath<namedTypes.TSEnumMember>): any;
|
267 | visitTSTypeQuery?(this: Context & M, path: NodePath<namedTypes.TSTypeQuery>): any;
|
268 | visitTSImportType?(this: Context & M, path: NodePath<namedTypes.TSImportType>): any;
|
269 | visitTSTypeLiteral?(this: Context & M, path: NodePath<namedTypes.TSTypeLiteral>): any;
|
270 | visitTSTypeAssertion?(this: Context & M, path: NodePath<namedTypes.TSTypeAssertion>): any;
|
271 | visitTSEnumDeclaration?(this: Context & M, path: NodePath<namedTypes.TSEnumDeclaration>): any;
|
272 | visitTSTypeAliasDeclaration?(this: Context & M, path: NodePath<namedTypes.TSTypeAliasDeclaration>): any;
|
273 | visitTSModuleBlock?(this: Context & M, path: NodePath<namedTypes.TSModuleBlock>): any;
|
274 | visitTSModuleDeclaration?(this: Context & M, path: NodePath<namedTypes.TSModuleDeclaration>): any;
|
275 | visitTSImportEqualsDeclaration?(this: Context & M, path: NodePath<namedTypes.TSImportEqualsDeclaration>): any;
|
276 | visitTSExternalModuleReference?(this: Context & M, path: NodePath<namedTypes.TSExternalModuleReference>): any;
|
277 | visitTSExportAssignment?(this: Context & M, path: NodePath<namedTypes.TSExportAssignment>): any;
|
278 | visitTSNamespaceExportDeclaration?(this: Context & M, path: NodePath<namedTypes.TSNamespaceExportDeclaration>): any;
|
279 | visitTSInterfaceBody?(this: Context & M, path: NodePath<namedTypes.TSInterfaceBody>): any;
|
280 | visitTSInterfaceDeclaration?(this: Context & M, path: NodePath<namedTypes.TSInterfaceDeclaration>): any;
|
281 | visitTSParameterProperty?(this: Context & M, path: NodePath<namedTypes.TSParameterProperty>): any;
|
282 | }
|