@@ -96,7 +96,7 @@ module Unified {
9696 }
9797
9898 /** A class representing `accessor_declaration` nodes. */
99- class AccessorDeclaration extends @unified_accessor_declaration, F:: Member , F:: Stmt {
99+ class AccessorDeclaration extends @unified_accessor_declaration, F:: Callable , F :: Member , F:: Stmt {
100100 /** Gets the name of the primary QL class for this element. */
101101 final override string getAPrimaryQlClass ( ) { result = "AccessorDeclaration" }
102102
@@ -373,6 +373,8 @@ module Unified {
373373 }
374374 }
375375
376+ class Callable extends @unified_callable, F:: AstNode { }
377+
376378 /** A class representing `catch_clause` nodes. */
377379 class CatchClause extends @unified_catch_clause, F:: AstNode {
378380 /** Gets the name of the primary QL class for this element. */
@@ -503,7 +505,9 @@ module Unified {
503505 }
504506
505507 /** A class representing `constructor_declaration` nodes. */
506- class ConstructorDeclaration extends @unified_constructor_declaration, F:: Member , F:: Stmt {
508+ class ConstructorDeclaration extends @unified_constructor_declaration, F:: Callable , F:: Member ,
509+ F:: Stmt
510+ {
507511 /** Gets the name of the primary QL class for this element. */
508512 final override string getAPrimaryQlClass ( ) { result = "ConstructorDeclaration" }
509513
@@ -581,7 +585,9 @@ module Unified {
581585 }
582586
583587 /** A class representing `destructor_declaration` nodes. */
584- class DestructorDeclaration extends @unified_destructor_declaration, F:: Member , F:: Stmt {
588+ class DestructorDeclaration extends @unified_destructor_declaration, F:: Callable , F:: Member ,
589+ F:: Stmt
590+ {
585591 /** Gets the name of the primary QL class for this element. */
586592 final override string getAPrimaryQlClass ( ) { result = "DestructorDeclaration" }
587593
@@ -718,7 +724,7 @@ module Unified {
718724 }
719725
720726 /** A class representing `function_declaration` nodes. */
721- class FunctionDeclaration extends @unified_function_declaration, F:: Member , F:: Stmt {
727+ class FunctionDeclaration extends @unified_function_declaration, F:: Callable , F :: Member , F:: Stmt {
722728 /** Gets the name of the primary QL class for this element. */
723729 final override string getAPrimaryQlClass ( ) { result = "FunctionDeclaration" }
724730
@@ -774,7 +780,7 @@ module Unified {
774780 }
775781
776782 /** A class representing `function_expr` nodes. */
777- class FunctionExpr extends @unified_function_expr, F:: Expr {
783+ class FunctionExpr extends @unified_function_expr, F:: Callable , F :: Expr {
778784 /** Gets the name of the primary QL class for this element. */
779785 final override string getAPrimaryQlClass ( ) { result = "FunctionExpr" }
780786
@@ -949,7 +955,7 @@ module Unified {
949955 }
950956
951957 /** A class representing `initializer_declaration` nodes. */
952- class InitializerDeclaration extends @unified_initializer_declaration, F:: Member {
958+ class InitializerDeclaration extends @unified_initializer_declaration, F:: Callable , F :: Member {
953959 /** Gets the name of the primary QL class for this element. */
954960 final override string getAPrimaryQlClass ( ) { result = "InitializerDeclaration" }
955961
@@ -1350,7 +1356,7 @@ module Unified {
13501356 }
13511357
13521358 /** A class representing `top_level` nodes. */
1353- class TopLevel extends @unified_top_level, F:: AstNode {
1359+ class TopLevel extends @unified_top_level, F:: Callable {
13541360 /** Gets the name of the primary QL class for this element. */
13551361 final override string getAPrimaryQlClass ( ) { result = "TopLevel" }
13561362
@@ -2071,6 +2077,8 @@ module UnifiedFinal {
20712077
20722078 final class CallExpr = F:: CallExpr ;
20732079
2080+ final class Callable = F:: Callable ;
2081+
20742082 final class CatchClause = F:: CatchClause ;
20752083
20762084 final class ClassLikeDeclaration = F:: ClassLikeDeclaration ;
0 commit comments