@@ -137,13 +137,13 @@ module QL {
137
137
/** Gets the node corresponding to the field `name`. */
138
138
final LiteralId getName ( ) { ql_arityless_predicate_expr_def ( this , result ) }
139
139
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 ) }
142
142
143
143
/** Gets a field or child node of this node. */
144
144
final override AstNode getAFieldOrChild ( ) {
145
145
ql_arityless_predicate_expr_def ( this , result ) or
146
- ql_arityless_predicate_expr_child ( this , result )
146
+ ql_arityless_predicate_expr_qualifier ( this , result )
147
147
}
148
148
}
149
149
@@ -944,15 +944,24 @@ module QL {
944
944
/** Gets the name of the primary QL class for this element. */
945
945
final override string getAPrimaryQlClass ( ) { result = "Module" }
946
946
947
+ /** Gets the node corresponding to the field `implements`. */
948
+ final SignatureExpr getImplements ( int i ) { ql_module_implements ( this , i , result ) }
949
+
947
950
/** Gets the node corresponding to the field `name`. */
948
951
final ModuleName getName ( ) { ql_module_def ( this , result ) }
949
952
953
+ /** Gets the node corresponding to the field `parameter`. */
954
+ final ModuleParam getParameter ( int i ) { ql_module_parameter ( this , i , result ) }
955
+
950
956
/** Gets the `i`th child of this node. */
951
957
final AstNode getChild ( int i ) { ql_module_child ( this , i , result ) }
952
958
953
959
/** Gets a field or child node of this node. */
954
960
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 )
956
965
}
957
966
}
958
967
@@ -985,6 +994,18 @@ module QL {
985
994
}
986
995
}
987
996
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
+
988
1009
/** A class representing `moduleMember` nodes. */
989
1010
class ModuleMember extends @ql_module_member, AstNode {
990
1011
/** Gets the name of the primary QL class for this element. */
@@ -1009,6 +1030,23 @@ module QL {
1009
1030
final override AstNode getAFieldOrChild ( ) { ql_module_name_def ( this , result ) }
1010
1031
}
1011
1032
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
+
1012
1050
/** A class representing `mul_expr` nodes. */
1013
1051
class MulExpr extends @ql_mul_expr, AstNode {
1014
1052
/** Gets the name of the primary QL class for this element. */
@@ -1277,6 +1315,23 @@ module QL {
1277
1315
final override AstNode getAFieldOrChild ( ) { ql_set_literal_child ( this , _, result ) }
1278
1316
}
1279
1317
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
+
1280
1335
/** A class representing `simpleId` tokens. */
1281
1336
class SimpleId extends @ql_token_simple_id, Token {
1282
1337
/** Gets the name of the primary QL class for this element. */
@@ -1357,12 +1412,17 @@ module QL {
1357
1412
/** Gets the node corresponding to the field `name`. */
1358
1413
final ClassName getName ( ) { ql_type_expr_name ( this , result ) }
1359
1414
1415
+ /** Gets the node corresponding to the field `qualifier`. */
1416
+ final ModuleExpr getQualifier ( ) { ql_type_expr_qualifier ( this , result ) }
1417
+
1360
1418
/** Gets the child of this node. */
1361
1419
final AstNode getChild ( ) { ql_type_expr_child ( this , result ) }
1362
1420
1363
1421
/** Gets a field or child node of this node. */
1364
1422
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 )
1366
1426
}
1367
1427
}
1368
1428
0 commit comments