@@ -183,23 +183,24 @@ pub enum AstType {
183183 TSInferType = 166 ,
184184 TSTypeQuery = 167 ,
185185 TSImportType = 168 ,
186- TSFunctionType = 169 ,
187- TSConstructorType = 170 ,
188- TSMappedType = 171 ,
189- TSTemplateLiteralType = 172 ,
190- TSAsExpression = 173 ,
191- TSSatisfiesExpression = 174 ,
192- TSTypeAssertion = 175 ,
193- TSImportEqualsDeclaration = 176 ,
194- TSExternalModuleReference = 177 ,
195- TSNonNullExpression = 178 ,
196- Decorator = 179 ,
197- TSExportAssignment = 180 ,
198- TSNamespaceExportDeclaration = 181 ,
199- TSInstantiationExpression = 182 ,
200- JSDocNullableType = 183 ,
201- JSDocNonNullableType = 184 ,
202- JSDocUnknownType = 185 ,
186+ TSImportTypeQualifiedName = 169 ,
187+ TSFunctionType = 170 ,
188+ TSConstructorType = 171 ,
189+ TSMappedType = 172 ,
190+ TSTemplateLiteralType = 173 ,
191+ TSAsExpression = 174 ,
192+ TSSatisfiesExpression = 175 ,
193+ TSTypeAssertion = 176 ,
194+ TSImportEqualsDeclaration = 177 ,
195+ TSExternalModuleReference = 178 ,
196+ TSNonNullExpression = 179 ,
197+ Decorator = 180 ,
198+ TSExportAssignment = 181 ,
199+ TSNamespaceExportDeclaration = 182 ,
200+ TSInstantiationExpression = 183 ,
201+ JSDocNullableType = 184 ,
202+ JSDocNonNullableType = 185 ,
203+ JSDocUnknownType = 186 ,
203204}
204205
205206/// Untyped AST Node Kind
@@ -388,6 +389,8 @@ pub enum AstKind<'a> {
388389 TSInferType ( & ' a TSInferType < ' a > ) = AstType :: TSInferType as u8 ,
389390 TSTypeQuery ( & ' a TSTypeQuery < ' a > ) = AstType :: TSTypeQuery as u8 ,
390391 TSImportType ( & ' a TSImportType < ' a > ) = AstType :: TSImportType as u8 ,
392+ TSImportTypeQualifiedName ( & ' a TSImportTypeQualifiedName < ' a > ) =
393+ AstType :: TSImportTypeQualifiedName as u8 ,
391394 TSFunctionType ( & ' a TSFunctionType < ' a > ) = AstType :: TSFunctionType as u8 ,
392395 TSConstructorType ( & ' a TSConstructorType < ' a > ) = AstType :: TSConstructorType as u8 ,
393396 TSMappedType ( & ' a TSMappedType < ' a > ) = AstType :: TSMappedType as u8 ,
@@ -595,6 +598,7 @@ impl GetSpan for AstKind<'_> {
595598 Self :: TSInferType ( it) => it. span ( ) ,
596599 Self :: TSTypeQuery ( it) => it. span ( ) ,
597600 Self :: TSImportType ( it) => it. span ( ) ,
601+ Self :: TSImportTypeQualifiedName ( it) => it. span ( ) ,
598602 Self :: TSFunctionType ( it) => it. span ( ) ,
599603 Self :: TSConstructorType ( it) => it. span ( ) ,
600604 Self :: TSMappedType ( it) => it. span ( ) ,
@@ -788,6 +792,7 @@ impl GetAddress for AstKind<'_> {
788792 Self :: TSInferType ( it) => Address :: from_ptr ( it) ,
789793 Self :: TSTypeQuery ( it) => Address :: from_ptr ( it) ,
790794 Self :: TSImportType ( it) => Address :: from_ptr ( it) ,
795+ Self :: TSImportTypeQualifiedName ( it) => Address :: from_ptr ( it) ,
791796 Self :: TSFunctionType ( it) => Address :: from_ptr ( it) ,
792797 Self :: TSConstructorType ( it) => Address :: from_ptr ( it) ,
793798 Self :: TSMappedType ( it) => Address :: from_ptr ( it) ,
@@ -1663,6 +1668,11 @@ impl<'a> AstKind<'a> {
16631668 if let Self :: TSImportType ( v) = self { Some ( v) } else { None }
16641669 }
16651670
1671+ #[ inline]
1672+ pub fn as_ts_import_type_qualified_name ( self ) -> Option < & ' a TSImportTypeQualifiedName < ' a > > {
1673+ if let Self :: TSImportTypeQualifiedName ( v) = self { Some ( v) } else { None }
1674+ }
1675+
16661676 #[ inline]
16671677 pub fn as_ts_function_type ( self ) -> Option < & ' a TSFunctionType < ' a > > {
16681678 if let Self :: TSFunctionType ( v) = self { Some ( v) } else { None }
0 commit comments