@@ -137,13 +137,13 @@ module QL {
137137 /** Gets the node corresponding to the field `name`. */
138138 final LiteralId getName ( ) { ql_arityless_predicate_expr_def ( this , result ) }
139139
140- /** Gets the child of this node . */
141- final ModuleExpr getChild ( ) { ql_arityless_predicate_expr_child ( this , result ) }
140+ /** Gets the node corresponding to the field `qualifier` . */
141+ final ModuleExpr getQualifier ( ) { ql_arityless_predicate_expr_qualifier ( this , result ) }
142142
143143 /** Gets a field or child node of this node. */
144144 final override AstNode getAFieldOrChild ( ) {
145145 ql_arityless_predicate_expr_def ( this , result ) or
146- ql_arityless_predicate_expr_child ( this , result )
146+ ql_arityless_predicate_expr_qualifier ( this , result )
147147 }
148148 }
149149
@@ -944,15 +944,24 @@ module QL {
944944 /** Gets the name of the primary QL class for this element. */
945945 final override string getAPrimaryQlClass ( ) { result = "Module" }
946946
947+ /** Gets the node corresponding to the field `implements`. */
948+ final SignatureExpr getImplements ( int i ) { ql_module_implements ( this , i , result ) }
949+
947950 /** Gets the node corresponding to the field `name`. */
948951 final ModuleName getName ( ) { ql_module_def ( this , result ) }
949952
953+ /** Gets the node corresponding to the field `parameter`. */
954+ final ModuleParam getParameter ( int i ) { ql_module_parameter ( this , i , result ) }
955+
950956 /** Gets the `i`th child of this node. */
951957 final AstNode getChild ( int i ) { ql_module_child ( this , i , result ) }
952958
953959 /** Gets a field or child node of this node. */
954960 final override AstNode getAFieldOrChild ( ) {
955- ql_module_def ( this , result ) or ql_module_child ( this , _, result )
961+ ql_module_implements ( this , _, result ) or
962+ ql_module_def ( this , result ) or
963+ ql_module_parameter ( this , _, result ) or
964+ ql_module_child ( this , _, result )
956965 }
957966 }
958967
@@ -985,6 +994,18 @@ module QL {
985994 }
986995 }
987996
997+ /** A class representing `moduleInstantiation` nodes. */
998+ class ModuleInstantiation extends @ql_module_instantiation, AstNode {
999+ /** Gets the name of the primary QL class for this element. */
1000+ final override string getAPrimaryQlClass ( ) { result = "ModuleInstantiation" }
1001+
1002+ /** Gets the `i`th child of this node. */
1003+ final SignatureExpr getChild ( int i ) { ql_module_instantiation_child ( this , i , result ) }
1004+
1005+ /** Gets a field or child node of this node. */
1006+ final override AstNode getAFieldOrChild ( ) { ql_module_instantiation_child ( this , _, result ) }
1007+ }
1008+
9881009 /** A class representing `moduleMember` nodes. */
9891010 class ModuleMember extends @ql_module_member, AstNode {
9901011 /** Gets the name of the primary QL class for this element. */
@@ -1009,6 +1030,23 @@ module QL {
10091030 final override AstNode getAFieldOrChild ( ) { ql_module_name_def ( this , result ) }
10101031 }
10111032
1033+ /** A class representing `moduleParam` nodes. */
1034+ class ModuleParam extends @ql_module_param, AstNode {
1035+ /** Gets the name of the primary QL class for this element. */
1036+ final override string getAPrimaryQlClass ( ) { result = "ModuleParam" }
1037+
1038+ /** Gets the node corresponding to the field `parameter`. */
1039+ final SimpleId getParameter ( ) { ql_module_param_def ( this , result , _) }
1040+
1041+ /** Gets the node corresponding to the field `signature`. */
1042+ final SignatureExpr getSignature ( ) { ql_module_param_def ( this , _, result ) }
1043+
1044+ /** Gets a field or child node of this node. */
1045+ final override AstNode getAFieldOrChild ( ) {
1046+ ql_module_param_def ( this , result , _) or ql_module_param_def ( this , _, result )
1047+ }
1048+ }
1049+
10121050 /** A class representing `mul_expr` nodes. */
10131051 class MulExpr extends @ql_mul_expr, AstNode {
10141052 /** Gets the name of the primary QL class for this element. */
@@ -1277,6 +1315,23 @@ module QL {
12771315 final override AstNode getAFieldOrChild ( ) { ql_set_literal_child ( this , _, result ) }
12781316 }
12791317
1318+ /** A class representing `signatureExpr` nodes. */
1319+ class SignatureExpr extends @ql_signature_expr, AstNode {
1320+ /** Gets the name of the primary QL class for this element. */
1321+ final override string getAPrimaryQlClass ( ) { result = "SignatureExpr" }
1322+
1323+ /** Gets the node corresponding to the field `predicate`. */
1324+ final PredicateExpr getPredicate ( ) { ql_signature_expr_predicate ( this , result ) }
1325+
1326+ /** Gets the node corresponding to the field `type_expr`. */
1327+ final TypeExpr getTypeExpr ( ) { ql_signature_expr_type_expr ( this , result ) }
1328+
1329+ /** Gets a field or child node of this node. */
1330+ final override AstNode getAFieldOrChild ( ) {
1331+ ql_signature_expr_predicate ( this , result ) or ql_signature_expr_type_expr ( this , result )
1332+ }
1333+ }
1334+
12801335 /** A class representing `simpleId` tokens. */
12811336 class SimpleId extends @ql_token_simple_id, Token {
12821337 /** Gets the name of the primary QL class for this element. */
@@ -1357,12 +1412,17 @@ module QL {
13571412 /** Gets the node corresponding to the field `name`. */
13581413 final ClassName getName ( ) { ql_type_expr_name ( this , result ) }
13591414
1415+ /** Gets the node corresponding to the field `qualifier`. */
1416+ final ModuleExpr getQualifier ( ) { ql_type_expr_qualifier ( this , result ) }
1417+
13601418 /** Gets the child of this node. */
13611419 final AstNode getChild ( ) { ql_type_expr_child ( this , result ) }
13621420
13631421 /** Gets a field or child node of this node. */
13641422 final override AstNode getAFieldOrChild ( ) {
1365- ql_type_expr_name ( this , result ) or ql_type_expr_child ( this , result )
1423+ ql_type_expr_name ( this , result ) or
1424+ ql_type_expr_qualifier ( this , result ) or
1425+ ql_type_expr_child ( this , result )
13661426 }
13671427 }
13681428
0 commit comments