@@ -529,7 +529,7 @@ ql_implication_def(
529
529
int right: @ql_implication_right_type ref
530
530
);
531
531
532
- @ql_importDirective_child_type = @ql_import_module_expr | @ql_token_module_name
532
+ @ql_importDirective_child_type = @ql_import_module_expr | @ql_module_name
533
533
534
534
#keyset[ql_import_directive, index]
535
535
ql_import_directive_child(
@@ -626,22 +626,22 @@ ql_module_child(
626
626
627
627
ql_module_def(
628
628
unique int id: @ql_module,
629
- int name: @ql_token_module_name ref
629
+ int name: @ql_module_name ref
630
630
);
631
631
632
632
ql_module_alias_body_def(
633
633
unique int id: @ql_module_alias_body,
634
634
int child: @ql_module_expr ref
635
635
);
636
636
637
- @ql_moduleExpr_name_type = @ql_module_instantiation | @ql_token_module_name
637
+ @ql_moduleExpr_name_type = @ql_module_instantiation | @ql_token_simple_id
638
638
639
639
ql_module_expr_name(
640
640
unique int ql_module_expr: @ql_module_expr ref,
641
641
unique int name: @ql_moduleExpr_name_type ref
642
642
);
643
643
644
- @ql_moduleExpr_child_type = @ql_module_expr | @ql_module_instantiation | @ql_token_module_name
644
+ @ql_moduleExpr_child_type = @ql_module_expr | @ql_module_instantiation | @ql_token_simple_id
645
645
646
646
ql_module_expr_def(
647
647
unique int id: @ql_module_expr,
@@ -657,7 +657,7 @@ ql_module_instantiation_child(
657
657
658
658
ql_module_instantiation_def(
659
659
unique int id: @ql_module_instantiation,
660
- int name: @ql_token_module_name ref
660
+ int name: @ql_module_name ref
661
661
);
662
662
663
663
@ql_moduleMember_child_type = @ql_annotation | @ql_classless_predicate | @ql_dataclass | @ql_datatype | @ql_import_directive | @ql_module | @ql_select | @ql_token_qldoc
@@ -673,6 +673,11 @@ ql_module_member_def(
673
673
unique int id: @ql_module_member
674
674
);
675
675
676
+ ql_module_name_def(
677
+ unique int id: @ql_module_name,
678
+ int child: @ql_token_simple_id ref
679
+ );
680
+
676
681
ql_module_param_def(
677
682
unique int id: @ql_module_param,
678
683
int parameter: @ql_token_simple_id ref,
@@ -1086,27 +1091,26 @@ case @ql_token.kind of
1086
1091
| 22 = @ql_token_integer
1087
1092
| 23 = @ql_token_line_comment
1088
1093
| 24 = @ql_token_literal_id
1089
- | 25 = @ql_token_module_name
1090
- | 26 = @ql_token_mulop
1091
- | 27 = @ql_token_predicate
1092
- | 28 = @ql_token_predicate_name
1093
- | 29 = @ql_token_primitive_type
1094
- | 30 = @ql_token_qldoc
1095
- | 31 = @ql_token_quantifier
1096
- | 32 = @ql_token_result
1097
- | 33 = @ql_token_simple_id
1098
- | 34 = @ql_token_special_id
1099
- | 35 = @ql_token_string
1100
- | 36 = @ql_token_super
1101
- | 37 = @ql_token_this
1102
- | 38 = @ql_token_true
1103
- | 39 = @ql_token_underscore
1104
- | 40 = @ql_token_unop
1105
- | 41 = @ql_token_yaml_value
1094
+ | 25 = @ql_token_mulop
1095
+ | 26 = @ql_token_predicate
1096
+ | 27 = @ql_token_predicate_name
1097
+ | 28 = @ql_token_primitive_type
1098
+ | 29 = @ql_token_qldoc
1099
+ | 30 = @ql_token_quantifier
1100
+ | 31 = @ql_token_result
1101
+ | 32 = @ql_token_simple_id
1102
+ | 33 = @ql_token_special_id
1103
+ | 34 = @ql_token_string
1104
+ | 35 = @ql_token_super
1105
+ | 36 = @ql_token_this
1106
+ | 37 = @ql_token_true
1107
+ | 38 = @ql_token_underscore
1108
+ | 39 = @ql_token_unop
1109
+ | 40 = @ql_token_yaml_value
1106
1110
;
1107
1111
1108
1112
1109
- @ql_ast_node = @ql_add_expr | @ql_aggregate | @ql_annot_arg | @ql_annotation | @ql_arityless_predicate_expr | @ql_as_expr | @ql_as_exprs | @ql_body | @ql_bool | @ql_call_body | @ql_call_or_unqual_agg_expr | @ql_charpred | @ql_class_member | @ql_classless_predicate | @ql_comp_term | @ql_conjunction | @ql_dataclass | @ql_datatype | @ql_datatype_branch | @ql_datatype_branches | @ql_db_annotation | @ql_db_args_annotation | @ql_db_branch | @ql_db_case_decl | @ql_db_col_type | @ql_db_column | @ql_db_entry | @ql_db_repr_type | @ql_db_table | @ql_db_table_name | @ql_db_union_decl | @ql_disjunction | @ql_expr_aggregate_body | @ql_expr_annotation | @ql_field | @ql_full_aggregate_body | @ql_higher_order_term | @ql_if_term | @ql_implication | @ql_import_directive | @ql_import_module_expr | @ql_in_expr | @ql_instance_of | @ql_literal | @ql_member_predicate | @ql_module | @ql_module_alias_body | @ql_module_expr | @ql_module_instantiation | @ql_module_member | @ql_module_param | @ql_mul_expr | @ql_negation | @ql_order_by | @ql_order_bys | @ql_par_expr | @ql_predicate_alias_body | @ql_predicate_expr | @ql_prefix_cast | @ql_ql | @ql_qual_module_expr | @ql_qualified_expr | @ql_qualified_rhs | @ql_quantified | @ql_range | @ql_select | @ql_set_literal | @ql_signature_expr | @ql_special_call | @ql_super_ref | @ql_token | @ql_type_alias_body | @ql_type_expr | @ql_type_union_body | @ql_unary_expr | @ql_unqual_agg_body | @ql_var_decl | @ql_var_name | @ql_variable | @ql_yaml_comment | @ql_yaml_entry | @ql_yaml_key | @ql_yaml_keyvaluepair | @ql_yaml_listitem
1113
+ @ql_ast_node = @ql_add_expr | @ql_aggregate | @ql_annot_arg | @ql_annotation | @ql_arityless_predicate_expr | @ql_as_expr | @ql_as_exprs | @ql_body | @ql_bool | @ql_call_body | @ql_call_or_unqual_agg_expr | @ql_charpred | @ql_class_member | @ql_classless_predicate | @ql_comp_term | @ql_conjunction | @ql_dataclass | @ql_datatype | @ql_datatype_branch | @ql_datatype_branches | @ql_db_annotation | @ql_db_args_annotation | @ql_db_branch | @ql_db_case_decl | @ql_db_col_type | @ql_db_column | @ql_db_entry | @ql_db_repr_type | @ql_db_table | @ql_db_table_name | @ql_db_union_decl | @ql_disjunction | @ql_expr_aggregate_body | @ql_expr_annotation | @ql_field | @ql_full_aggregate_body | @ql_higher_order_term | @ql_if_term | @ql_implication | @ql_import_directive | @ql_import_module_expr | @ql_in_expr | @ql_instance_of | @ql_literal | @ql_member_predicate | @ql_module | @ql_module_alias_body | @ql_module_expr | @ql_module_instantiation | @ql_module_member | @ql_module_name | @ql_module_param | @ql_mul_expr | @ql_negation | @ql_order_by | @ql_order_bys | @ql_par_expr | @ql_predicate_alias_body | @ql_predicate_expr | @ql_prefix_cast | @ql_ql | @ql_qual_module_expr | @ql_qualified_expr | @ql_qualified_rhs | @ql_quantified | @ql_range | @ql_select | @ql_set_literal | @ql_signature_expr | @ql_special_call | @ql_super_ref | @ql_token | @ql_type_alias_body | @ql_type_expr | @ql_type_union_body | @ql_unary_expr | @ql_unqual_agg_body | @ql_var_decl | @ql_var_name | @ql_variable | @ql_yaml_comment | @ql_yaml_entry | @ql_yaml_key | @ql_yaml_keyvaluepair | @ql_yaml_listitem
1110
1114
1111
1115
@ql_ast_node_parent = @file | @ql_ast_node
1112
1116
0 commit comments