Skip to content

Commit e85cdf2

Browse files
committed
Swift: rename certain dbscheme columns
1 parent a5189ea commit e85cdf2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

swift/codegen/schema.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ ArrowExpr:
308308
AssignExpr:
309309
_extends: Expr
310310
dest: Expr
311-
src: Expr
311+
source: Expr
312312

313313
BindOptionalExpr:
314314
_extends: Expr
@@ -661,7 +661,7 @@ PrefixUnaryExpr:
661661

662662
SelfApplyExpr:
663663
_extends: ApplyExpr
664-
base: Expr
664+
base_expr: Expr
665665

666666
ArrayExpr:
667667
_extends: CollectionExpr
@@ -843,12 +843,12 @@ StmtCondition:
843843

844844
RepeatWhileStmt:
845845
_extends: LabeledStmt
846-
cond: Expr
846+
condition: Expr
847847
body: Stmt
848848

849849
SwitchStmt:
850850
_extends: LabeledStmt
851-
subject_expr: Expr
851+
expr: Expr
852852
cases: CaseStmt*
853853

854854
BoundGenericClassType:

swift/ql/lib/swift.dbscheme

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ arrow_exprs(
659659
assign_exprs(
660660
unique int id: @assign_expr,
661661
int dest: @expr ref,
662-
int src: @expr ref
662+
int source: @expr ref
663663
);
664664

665665
bind_optional_exprs(
@@ -1324,7 +1324,7 @@ prefix_unary_exprs(
13241324
#keyset[id]
13251325
self_apply_exprs(
13261326
int id: @self_apply_expr ref,
1327-
int base: @expr ref
1327+
int base_expr: @expr ref
13281328
);
13291329

13301330
array_exprs(
@@ -1625,13 +1625,13 @@ stmt_condition_elements(
16251625

16261626
repeat_while_stmts(
16271627
unique int id: @repeat_while_stmt,
1628-
int cond: @expr ref,
1628+
int condition: @expr ref,
16291629
int body: @stmt ref
16301630
);
16311631

16321632
switch_stmts(
16331633
unique int id: @switch_stmt,
1634-
int subject_expr: @expr ref
1634+
int expr: @expr ref
16351635
);
16361636

16371637
#keyset[id, index]

0 commit comments

Comments
 (0)