@@ -87,7 +87,7 @@ export abstract class AttributeSpecifierAST extends AST {}
8787export abstract class AttributeTokenAST extends AST { }
8888export abstract class CoreDeclaratorAST extends AST { }
8989export abstract class DeclarationAST extends AST { }
90- export abstract class DeclaratorModifierAST extends AST { }
90+ export abstract class DeclaratorChunkAST extends AST { }
9191export abstract class ExceptionDeclarationAST extends AST { }
9292export abstract class ExceptionSpecifierAST extends AST { }
9393export abstract class ExpressionAST extends AST { }
@@ -259,13 +259,13 @@ export class DeclaratorAST extends AST {
259259 this . parser ,
260260 ) ;
261261 }
262- * getModifiers ( ) : Generator < DeclaratorModifierAST | undefined > {
262+ * getDeclaratorChunkList ( ) : Generator < DeclaratorChunkAST | undefined > {
263263 for (
264264 let it = cxx . getASTSlot ( this . getHandle ( ) , 2 ) ;
265265 it ;
266266 it = cxx . getListNext ( it )
267267 ) {
268- yield AST . from < DeclaratorModifierAST > ( cxx . getListValue ( it ) , this . parser ) ;
268+ yield AST . from < DeclaratorChunkAST > ( cxx . getListValue ( it ) , this . parser ) ;
269269 }
270270 }
271271}
@@ -376,13 +376,16 @@ export class NewDeclaratorAST extends AST {
376376 yield AST . from < PtrOperatorAST > ( cxx . getListValue ( it ) , this . parser ) ;
377377 }
378378 }
379- * getModifiers ( ) : Generator < ArrayDeclaratorAST | undefined > {
379+ * getDeclaratorChunkList ( ) : Generator < ArrayDeclaratorChunkAST | undefined > {
380380 for (
381381 let it = cxx . getASTSlot ( this . getHandle ( ) , 1 ) ;
382382 it ;
383383 it = cxx . getListNext ( it )
384384 ) {
385- yield AST . from < ArrayDeclaratorAST > ( cxx . getListValue ( it ) , this . parser ) ;
385+ yield AST . from < ArrayDeclaratorChunkAST > (
386+ cxx . getListValue ( it ) ,
387+ this . parser ,
388+ ) ;
386389 }
387390 }
388391}
@@ -5336,12 +5339,12 @@ export class PtrToMemberOperatorAST extends PtrOperatorAST {
53365339 }
53375340}
53385341
5339- export class FunctionDeclaratorAST extends DeclaratorModifierAST {
5342+ export class FunctionDeclaratorChunkAST extends DeclaratorChunkAST {
53405343 accept < Context , Result > (
53415344 visitor : ASTVisitor < Context , Result > ,
53425345 context : Context ,
53435346 ) : Result {
5344- return visitor . visitFunctionDeclarator ( this , context ) ;
5347+ return visitor . visitFunctionDeclaratorChunk ( this , context ) ;
53455348 }
53465349 getParametersAndQualifiers ( ) : ParametersAndQualifiersAST | undefined {
53475350 return AST . from < ParametersAndQualifiersAST > (
@@ -5366,12 +5369,12 @@ export class FunctionDeclaratorAST extends DeclaratorModifierAST {
53665369 }
53675370}
53685371
5369- export class ArrayDeclaratorAST extends DeclaratorModifierAST {
5372+ export class ArrayDeclaratorChunkAST extends DeclaratorChunkAST {
53705373 accept < Context , Result > (
53715374 visitor : ASTVisitor < Context , Result > ,
53725375 context : Context ,
53735376 ) : Result {
5374- return visitor . visitArrayDeclarator ( this , context ) ;
5377+ return visitor . visitArrayDeclaratorChunk ( this , context ) ;
53755378 }
53765379 getLbracketToken ( ) : Token | undefined {
53775380 return Token . from ( cxx . getASTSlot ( this . getHandle ( ) , 0 ) , this . parser ) ;
@@ -5760,8 +5763,8 @@ const AST_CONSTRUCTORS: Array<
57605763 PointerOperatorAST ,
57615764 ReferenceOperatorAST ,
57625765 PtrToMemberOperatorAST ,
5763- FunctionDeclaratorAST ,
5764- ArrayDeclaratorAST ,
5766+ FunctionDeclaratorChunkAST ,
5767+ ArrayDeclaratorChunkAST ,
57655768 CxxAttributeAST ,
57665769 GccAttributeAST ,
57675770 AlignasAttributeAST ,
0 commit comments