60
60
/// `#require()` macros. Do not call it directly.
61
61
public func __checkValue(
62
62
_ condition: Bool ,
63
- expression: Expression ,
64
- expressionWithCapturedRuntimeValues: @autoclosure ( ) -> Expression ? = nil ,
63
+ expression: __Expression ,
64
+ expressionWithCapturedRuntimeValues: @autoclosure ( ) -> __Expression ? = nil ,
65
65
mismatchedErrorDescription: @autoclosure ( ) -> String ? = nil ,
66
66
difference: @autoclosure ( ) -> String ? = nil ,
67
67
comments: @autoclosure ( ) -> [ Comment ] ,
@@ -73,7 +73,7 @@ public func __checkValue(
73
73
// in case of multiple prefix operators (!!(a == b), for example.)
74
74
var condition = condition
75
75
do {
76
- var expression : Expression ? = expression
76
+ var expression : __Expression ? = expression
77
77
while case let . negation( subexpression, _) = expression? . kind {
78
78
defer {
79
79
expression = subexpression
@@ -163,7 +163,7 @@ private func _callBinaryOperator<T, U, R>(
163
163
/// `#require()` macros. Do not call it directly.
164
164
public func __checkBinaryOperation< T, U> (
165
165
_ lhs: T , _ op: ( T , ( ) -> U ) -> Bool , _ rhs: @autoclosure ( ) -> U ,
166
- expression: Expression ,
166
+ expression: __Expression ,
167
167
comments: @autoclosure ( ) -> [ Comment ] ,
168
168
isRequired: Bool ,
169
169
sourceLocation: SourceLocation
@@ -194,7 +194,7 @@ public func __checkBinaryOperation<T, U>(
194
194
/// `#require()` macros. Do not call it directly.
195
195
public func __checkFunctionCall< T, each U > (
196
196
_ lhs: T , calling functionCall: ( T , repeat each U ) throws -> Bool , _ arguments: repeat each U ,
197
- expression: Expression ,
197
+ expression: __Expression ,
198
198
comments: @autoclosure ( ) -> [ Comment ] ,
199
199
isRequired: Bool ,
200
200
sourceLocation: SourceLocation
@@ -222,7 +222,7 @@ public func __checkFunctionCall<T, each U>(
222
222
/// `#require()` macros. Do not call it directly.
223
223
public func __checkFunctionCall< T, Arg0> (
224
224
_ lhs: T , calling functionCall: ( T , Arg0 ) throws -> Bool , _ argument0: Arg0 ,
225
- expression: Expression ,
225
+ expression: __Expression ,
226
226
comments: @autoclosure ( ) -> [ Comment ] ,
227
227
isRequired: Bool ,
228
228
sourceLocation: SourceLocation
@@ -249,7 +249,7 @@ public func __checkFunctionCall<T, Arg0>(
249
249
/// `#require()` macros. Do not call it directly.
250
250
public func __checkFunctionCall< T, Arg0, Arg1> (
251
251
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 ) throws -> Bool , _ argument0: Arg0 , _ argument1: Arg1 ,
252
- expression: Expression ,
252
+ expression: __Expression ,
253
253
comments: @autoclosure ( ) -> [ Comment ] ,
254
254
isRequired: Bool ,
255
255
sourceLocation: SourceLocation
@@ -276,7 +276,7 @@ public func __checkFunctionCall<T, Arg0, Arg1>(
276
276
/// `#require()` macros. Do not call it directly.
277
277
public func __checkFunctionCall< T, Arg0, Arg1, Arg2> (
278
278
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 , Arg2 ) throws -> Bool , _ argument0: Arg0 , _ argument1: Arg1 , _ argument2: Arg2 ,
279
- expression: Expression ,
279
+ expression: __Expression ,
280
280
comments: @autoclosure ( ) -> [ Comment ] ,
281
281
isRequired: Bool ,
282
282
sourceLocation: SourceLocation
@@ -303,7 +303,7 @@ public func __checkFunctionCall<T, Arg0, Arg1, Arg2>(
303
303
/// `#require()` macros. Do not call it directly.
304
304
public func __checkFunctionCall< T, Arg0, Arg1, Arg2, Arg3> (
305
305
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 , Arg2 , Arg3 ) throws -> Bool , _ argument0: Arg0 , _ argument1: Arg1 , _ argument2: Arg2 , _ argument3: Arg3 ,
306
- expression: Expression ,
306
+ expression: __Expression ,
307
307
comments: @autoclosure ( ) -> [ Comment ] ,
308
308
isRequired: Bool ,
309
309
sourceLocation: SourceLocation
@@ -333,7 +333,7 @@ public func __checkFunctionCall<T, Arg0, Arg1, Arg2, Arg3>(
333
333
/// `#require()` macros. Do not call it directly.
334
334
public func __checkInoutFunctionCall< T, /*each*/ U> (
335
335
_ lhs: T , calling functionCall: ( T , inout /*repeat each*/ U ) throws -> Bool , _ arguments: inout /*repeat each*/ U ,
336
- expression: Expression ,
336
+ expression: __Expression ,
337
337
comments: @autoclosure ( ) -> [ Comment ] ,
338
338
isRequired: Bool ,
339
339
sourceLocation: SourceLocation
@@ -363,7 +363,7 @@ public func __checkInoutFunctionCall<T, /*each*/ U>(
363
363
/// `#require()` macros. Do not call it directly.
364
364
public func __checkFunctionCall< T, each U , R> (
365
365
_ lhs: T , calling functionCall: ( T , repeat each U ) throws -> R ? , _ arguments: repeat each U ,
366
- expression: Expression ,
366
+ expression: __Expression ,
367
367
comments: @autoclosure ( ) -> [ Comment ] ,
368
368
isRequired: Bool ,
369
369
sourceLocation: SourceLocation
@@ -391,7 +391,7 @@ public func __checkFunctionCall<T, each U, R>(
391
391
/// `#require()` macros. Do not call it directly.
392
392
public func __checkFunctionCall< T, Arg0, R> (
393
393
_ lhs: T , calling functionCall: ( T , Arg0 ) throws -> R ? , _ argument0: Arg0 ,
394
- expression: Expression ,
394
+ expression: __Expression ,
395
395
comments: @autoclosure ( ) -> [ Comment ] ,
396
396
isRequired: Bool ,
397
397
sourceLocation: SourceLocation
@@ -418,7 +418,7 @@ public func __checkFunctionCall<T, Arg0, R>(
418
418
/// `#require()` macros. Do not call it directly.
419
419
public func __checkFunctionCall< T, Arg0, Arg1, R> (
420
420
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 ) throws -> R ? , _ argument0: Arg0 , _ argument1: Arg1 ,
421
- expression: Expression ,
421
+ expression: __Expression ,
422
422
comments: @autoclosure ( ) -> [ Comment ] ,
423
423
isRequired: Bool ,
424
424
sourceLocation: SourceLocation
@@ -445,7 +445,7 @@ public func __checkFunctionCall<T, Arg0, Arg1, R>(
445
445
/// `#require()` macros. Do not call it directly.
446
446
public func __checkFunctionCall< T, Arg0, Arg1, Arg2, R> (
447
447
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 , Arg2 ) throws -> R ? , _ argument0: Arg0 , _ argument1: Arg1 , _ argument2: Arg2 ,
448
- expression: Expression ,
448
+ expression: __Expression ,
449
449
comments: @autoclosure ( ) -> [ Comment ] ,
450
450
isRequired: Bool ,
451
451
sourceLocation: SourceLocation
@@ -472,7 +472,7 @@ public func __checkFunctionCall<T, Arg0, Arg1, Arg2, R>(
472
472
/// `#require()` macros. Do not call it directly.
473
473
public func __checkFunctionCall< T, Arg0, Arg1, Arg2, Arg3, R> (
474
474
_ lhs: T , calling functionCall: ( T , Arg0 , Arg1 , Arg2 , Arg3 ) throws -> R ? , _ argument0: Arg0 , _ argument1: Arg1 , _ argument2: Arg2 , _ argument3: Arg3 ,
475
- expression: Expression ,
475
+ expression: __Expression ,
476
476
comments: @autoclosure ( ) -> [ Comment ] ,
477
477
isRequired: Bool ,
478
478
sourceLocation: SourceLocation
@@ -503,7 +503,7 @@ public func __checkFunctionCall<T, Arg0, Arg1, Arg2, Arg3, R>(
503
503
/// `#require()` macros. Do not call it directly.
504
504
public func __checkInoutFunctionCall< T, /*each*/ U, R> (
505
505
_ lhs: T , calling functionCall: ( T , inout /*repeat each*/ U ) throws -> R ? , _ arguments: inout /*repeat each*/ U ,
506
- expression: Expression ,
506
+ expression: __Expression ,
507
507
comments: @autoclosure ( ) -> [ Comment ] ,
508
508
isRequired: Bool ,
509
509
sourceLocation: SourceLocation
@@ -534,7 +534,7 @@ public func __checkInoutFunctionCall<T, /*each*/ U, R>(
534
534
/// `#require()` macros. Do not call it directly.
535
535
public func __checkPropertyAccess< T> (
536
536
_ lhs: T , getting memberAccess: ( T ) -> Bool ,
537
- expression: Expression ,
537
+ expression: __Expression ,
538
538
comments: @autoclosure ( ) -> [ Comment ] ,
539
539
isRequired: Bool ,
540
540
sourceLocation: SourceLocation
@@ -564,7 +564,7 @@ public func __checkPropertyAccess<T>(
564
564
/// `#require()` macros. Do not call it directly.
565
565
public func __checkPropertyAccess< T, U> (
566
566
_ lhs: T , getting memberAccess: ( T ) -> U ? ,
567
- expression: Expression ,
567
+ expression: __Expression ,
568
568
comments: @autoclosure ( ) -> [ Comment ] ,
569
569
isRequired: Bool ,
570
570
sourceLocation: SourceLocation
@@ -592,7 +592,7 @@ public func __checkPropertyAccess<T, U>(
592
592
/// `#require()` macros. Do not call it directly.
593
593
public func __checkBinaryOperation< T> (
594
594
_ lhs: T , _ op: ( T , ( ) -> T ) -> Bool , _ rhs: @autoclosure ( ) -> T ,
595
- expression: Expression ,
595
+ expression: __Expression ,
596
596
comments: @autoclosure ( ) -> [ Comment ] ,
597
597
isRequired: Bool ,
598
598
sourceLocation: SourceLocation
@@ -639,7 +639,7 @@ public func __checkBinaryOperation<T>(
639
639
/// `#require()` macros. Do not call it directly.
640
640
public func __checkBinaryOperation(
641
641
_ lhs: String , _ op: ( String , ( ) -> String ) -> Bool , _ rhs: @autoclosure ( ) -> String ,
642
- expression: Expression ,
642
+ expression: __Expression ,
643
643
comments: @autoclosure ( ) -> [ Comment ] ,
644
644
isRequired: Bool ,
645
645
sourceLocation: SourceLocation
@@ -666,7 +666,7 @@ public func __checkBinaryOperation(
666
666
public func __checkCast< V, T> (
667
667
_ value: V ,
668
668
is _: T . Type ,
669
- expression: Expression ,
669
+ expression: __Expression ,
670
670
comments: @autoclosure ( ) -> [ Comment ] ,
671
671
isRequired: Bool ,
672
672
sourceLocation: SourceLocation
@@ -698,8 +698,8 @@ public func __checkCast<V, T>(
698
698
/// `#require()` macros. Do not call it directly.
699
699
public func __checkValue< T> (
700
700
_ optionalValue: T ? ,
701
- expression: Expression ,
702
- expressionWithCapturedRuntimeValues: @autoclosure ( ) -> Expression ? = nil ,
701
+ expression: __Expression ,
702
+ expressionWithCapturedRuntimeValues: @autoclosure ( ) -> __Expression ? = nil ,
703
703
comments: @autoclosure ( ) -> [ Comment ] ,
704
704
isRequired: Bool ,
705
705
sourceLocation: SourceLocation
@@ -738,7 +738,7 @@ public func __checkValue<T>(
738
738
/// `#require()` macros. Do not call it directly.
739
739
public func __checkBinaryOperation< T> (
740
740
_ lhs: T ? , _ op: ( T ? , ( ) -> T ? ) -> T ? , _ rhs: @autoclosure ( ) -> T ? ,
741
- expression: Expression ,
741
+ expression: __Expression ,
742
742
comments: @autoclosure ( ) -> [ Comment ] ,
743
743
isRequired: Bool ,
744
744
sourceLocation: SourceLocation
@@ -764,7 +764,7 @@ public func __checkBinaryOperation<T>(
764
764
public func __checkCast< V, T> (
765
765
_ value: V ,
766
766
as _: T . Type ,
767
- expression: Expression ,
767
+ expression: __Expression ,
768
768
comments: @autoclosure ( ) -> [ Comment ] ,
769
769
isRequired: Bool ,
770
770
sourceLocation: SourceLocation
@@ -797,7 +797,7 @@ public func __checkCast<V, T>(
797
797
public func __checkClosureCall< E> (
798
798
throws errorType: E . Type ,
799
799
performing body: ( ) throws -> some Any ,
800
- expression: Expression ,
800
+ expression: __Expression ,
801
801
comments: @autoclosure ( ) -> [ Comment ] ,
802
802
isRequired: Bool ,
803
803
sourceLocation: SourceLocation
@@ -834,7 +834,7 @@ public func __checkClosureCall<E>(
834
834
public func __checkClosureCall< E> (
835
835
throws errorType: E . Type ,
836
836
performing body: ( ) async throws -> some Any ,
837
- expression: Expression ,
837
+ expression: __Expression ,
838
838
comments: @autoclosure ( ) -> [ Comment ] ,
839
839
isRequired: Bool ,
840
840
sourceLocation: SourceLocation
@@ -874,7 +874,7 @@ public func __checkClosureCall<E>(
874
874
public func __checkClosureCall(
875
875
throws _: Never . Type ,
876
876
performing body: ( ) throws -> some Any ,
877
- expression: Expression ,
877
+ expression: __Expression ,
878
878
comments: @autoclosure ( ) -> [ Comment ] ,
879
879
isRequired: Bool ,
880
880
sourceLocation: SourceLocation
@@ -910,7 +910,7 @@ public func __checkClosureCall(
910
910
public func __checkClosureCall(
911
911
throws _: Never . Type ,
912
912
performing body: ( ) async throws -> some Any ,
913
- expression: Expression ,
913
+ expression: __Expression ,
914
914
comments: @autoclosure ( ) -> [ Comment ] ,
915
915
isRequired: Bool ,
916
916
sourceLocation: SourceLocation
@@ -946,7 +946,7 @@ public func __checkClosureCall(
946
946
public func __checkClosureCall< E> (
947
947
throws error: E ,
948
948
performing body: ( ) throws -> some Any ,
949
- expression: Expression ,
949
+ expression: __Expression ,
950
950
comments: @autoclosure ( ) -> [ Comment ] ,
951
951
isRequired: Bool ,
952
952
sourceLocation: SourceLocation
@@ -972,7 +972,7 @@ public func __checkClosureCall<E>(
972
972
public func __checkClosureCall< E> (
973
973
throws error: E ,
974
974
performing body: ( ) async throws -> some Any ,
975
- expression: Expression ,
975
+ expression: __Expression ,
976
976
comments: @autoclosure ( ) -> [ Comment ] ,
977
977
isRequired: Bool ,
978
978
sourceLocation: SourceLocation
@@ -1000,7 +1000,7 @@ public func __checkClosureCall<R>(
1000
1000
performing body: ( ) throws -> R ,
1001
1001
throws errorMatcher: ( any Error ) throws -> Bool ,
1002
1002
mismatchExplanation: ( ( any Error ) -> String ) ? = nil ,
1003
- expression: Expression ,
1003
+ expression: __Expression ,
1004
1004
comments: @autoclosure ( ) -> [ Comment ] ,
1005
1005
isRequired: Bool ,
1006
1006
sourceLocation: SourceLocation
@@ -1048,7 +1048,7 @@ public func __checkClosureCall<R>(
1048
1048
performing body: ( ) async throws -> R ,
1049
1049
throws errorMatcher: ( any Error ) async throws -> Bool ,
1050
1050
mismatchExplanation: ( ( any Error ) -> String ) ? = nil ,
1051
- expression: Expression ,
1051
+ expression: __Expression ,
1052
1052
comments: @autoclosure ( ) -> [ Comment ] ,
1053
1053
isRequired: Bool ,
1054
1054
sourceLocation: SourceLocation
@@ -1102,7 +1102,7 @@ public func __checkClosureCall<R>(
1102
1102
public func __checkClosureCall(
1103
1103
exitsWith expectedExitCondition: ExitCondition ,
1104
1104
performing body: @convention ( thin) ( ) async -> Void ,
1105
- expression: Expression ,
1105
+ expression: __Expression ,
1106
1106
comments: @autoclosure ( ) -> [ Comment ] ,
1107
1107
isRequired: Bool ,
1108
1108
sourceLocation: SourceLocation
0 commit comments