Skip to content

Commit f9e7f90

Browse files
committed
unified: regenerate files
1 parent 31386f5 commit f9e7f90

2 files changed

Lines changed: 1 addition & 23 deletions

File tree

unified/ql/lib/codeql/unified/Ast.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,9 +1571,6 @@ module Swift {
15711571
/** Gets the name of the primary QL class for this element. */
15721572
final override string getAPrimaryQlClass() { result = "NavigationExpression" }
15731573

1574-
/** Gets the node corresponding to the field `element`. */
1575-
final AstNode getElement() { swift_navigation_expression_element(this, result) }
1576-
15771574
/** Gets the node corresponding to the field `suffix`. */
15781575
final NavigationSuffix getSuffix() { swift_navigation_expression_def(this, result) }
15791576

@@ -1582,7 +1579,6 @@ module Swift {
15821579

15831580
/** Gets a field or child node of this node. */
15841581
final override AstNode getAFieldOrChild() {
1585-
swift_navigation_expression_element(this, result) or
15861582
swift_navigation_expression_def(this, result) or
15871583
swift_navigation_expression_target(this, _, result)
15881584
}
@@ -2445,9 +2441,6 @@ module Swift {
24452441
/** Gets the name of the primary QL class for this element. */
24462442
final override string getAPrimaryQlClass() { result = "TupleTypeItem" }
24472443

2448-
/** Gets the node corresponding to the field `element`. */
2449-
final AstNode getElement() { swift_tuple_type_item_element(this, result) }
2450-
24512444
/** Gets the node corresponding to the field `name`. */
24522445
final SimpleIdentifier getName() { swift_tuple_type_item_name(this, result) }
24532446

@@ -2459,7 +2452,6 @@ module Swift {
24592452

24602453
/** Gets a field or child node of this node. */
24612454
final override AstNode getAFieldOrChild() {
2462-
swift_tuple_type_item_element(this, result) or
24632455
swift_tuple_type_item_name(this, result) or
24642456
swift_tuple_type_item_type(this, result) or
24652457
swift_tuple_type_item_child(this, _, result)

unified/ql/lib/unified.dbscheme

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,13 +1206,6 @@ swift_multiplicative_expression_def(
12061206
int rhs: @swift_expression ref
12071207
);
12081208

1209-
@swift_navigation_expression_element_type = @swift_dictionary_type | @swift_existential_type | @swift_opaque_type
1210-
1211-
swift_navigation_expression_element(
1212-
unique int swift_navigation_expression: @swift_navigation_expression ref,
1213-
unique int element: @swift_navigation_expression_element_type ref
1214-
);
1215-
12161209
@swift_navigation_expression_target_type = @swift_array_type | @swift_dictionary_type | @swift_existential_type | @swift_expression | @swift_opaque_type | @swift_reserved_word | @swift_user_type
12171210

12181211
#keyset[swift_navigation_expression, index]
@@ -1784,13 +1777,6 @@ swift_tuple_type_def(
17841777
unique int id: @swift_tuple_type
17851778
);
17861779

1787-
@swift_tuple_type_item_element_type = @swift_dictionary_type | @swift_existential_type | @swift_opaque_type
1788-
1789-
swift_tuple_type_item_element(
1790-
unique int swift_tuple_type_item: @swift_tuple_type_item ref,
1791-
unique int element: @swift_tuple_type_item_element_type ref
1792-
);
1793-
17941780
swift_tuple_type_item_name(
17951781
unique int swift_tuple_type_item: @swift_tuple_type_item ref,
17961782
unique int name: @swift_token_simple_identifier ref
@@ -1801,7 +1787,7 @@ swift_tuple_type_item_type(
18011787
unique int type__: @swift_type__ ref
18021788
);
18031789

1804-
@swift_tuple_type_item_child_type = @swift_parameter_modifiers | @swift_token_wildcard_pattern
1790+
@swift_tuple_type_item_child_type = @swift_dictionary_type | @swift_existential_type | @swift_opaque_type | @swift_parameter_modifiers | @swift_token_wildcard_pattern
18051791

18061792
#keyset[swift_tuple_type_item, index]
18071793
swift_tuple_type_item_child(

0 commit comments

Comments
 (0)