Swift: update test .expected files

This commit is contained in:
Nora Dimitrijević
2022-12-08 18:13:36 -05:00
parent 799b4c932f
commit f6d5e8db5f
18 changed files with 816 additions and 401 deletions

View File

@@ -1,6 +1,6 @@
| declarations.swift:1:1:7:1 | Foo |
| declarations.swift:1:8:1:8 | init() |
| declarations.swift:1:8:1:8 | init(x:) |
| declarations.swift:1:8:1:8 | Foo.init() |
| declarations.swift:1:8:1:8 | Foo.init(x:) |
| declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | x |
@@ -23,8 +23,8 @@
| declarations.swift:5:5:5:38 | set |
| declarations.swift:5:9:5:9 | newValue |
| declarations.swift:9:1:9:34 | Bar |
| declarations.swift:9:7:9:7 | deinit() |
| declarations.swift:9:7:9:7 | init() |
| declarations.swift:9:7:9:7 | Bar.deinit() |
| declarations.swift:9:7:9:7 | Bar.init() |
| declarations.swift:9:7:9:7 | self |
| declarations.swift:9:7:9:7 | self |
| declarations.swift:9:13:9:30 | var ... = ... |
@@ -95,9 +95,9 @@
| declarations.swift:41:7:41:7 | set |
| declarations.swift:41:7:41:7 | value |
| declarations.swift:42:3:42:3 | self |
| declarations.swift:42:3:44:3 | init() |
| declarations.swift:42:3:44:3 | Baz.init() |
| declarations.swift:46:3:46:3 | self |
| declarations.swift:46:3:48:3 | deinit() |
| declarations.swift:46:3:48:3 | Baz.deinit() |
| declarations.swift:50:3:52:3 | +-(_:) |
| declarations.swift:50:22:50:22 | self |
| declarations.swift:50:26:50:33 | other |
@@ -106,7 +106,7 @@
| declarations.swift:64:7:64:16 | +++ |
| declarations.swift:66:7:66:21 | *** |
| declarations.swift:68:18:74:1 | ZeroWrapper |
| declarations.swift:68:25:68:25 | init() |
| declarations.swift:68:25:68:25 | ZeroWrapper.init() |
| declarations.swift:68:25:68:25 | self |
| declarations.swift:69:3:73:3 | var ... = ... |
| declarations.swift:69:7:69:7 | wrappedValue |
@@ -118,12 +118,12 @@
| declarations.swift:77:20:77:20 | get |
| declarations.swift:77:20:77:20 | x |
| declarations.swift:81:1:136:1 | HasPropertyAndObserver |
| declarations.swift:81:8:81:8 | HasPropertyAndObserver.init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) |
| declarations.swift:81:8:81:8 | hasBoth |
| declarations.swift:81:8:81:8 | hasDidSet1 |
| declarations.swift:81:8:81:8 | hasDidSet2 |
| declarations.swift:81:8:81:8 | hasWillSet1 |
| declarations.swift:81:8:81:8 | hasWillSet2 |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) |
| declarations.swift:81:8:81:8 | normalField |
| declarations.swift:81:8:81:8 | self |
| declarations.swift:82:3:87:3 | var ... = ... |
@@ -236,8 +236,8 @@
| declarations.swift:139:8:139:8 | self |
| declarations.swift:144:1:144:7 | { ... } |
| declarations.swift:146:1:148:1 | GenericClass |
| declarations.swift:146:7:146:7 | deinit() |
| declarations.swift:146:7:146:7 | init() |
| declarations.swift:146:7:146:7 | GenericClass<A, B, C>.deinit() |
| declarations.swift:146:7:146:7 | GenericClass<A, B, C>.init() |
| declarations.swift:146:7:146:7 | self |
| declarations.swift:146:7:146:7 | self |
| declarations.swift:146:20:146:20 | A |
@@ -256,9 +256,9 @@
| declarations.swift:150:50:150:53 | _ |
| declarations.swift:150:56:150:59 | _ |
| declarations.swift:152:1:152:22 | Derived |
| declarations.swift:152:7:152:7 | deinit() |
| declarations.swift:152:7:152:7 | Derived.deinit() |
| declarations.swift:152:7:152:7 | self |
| declarations.swift:152:21:152:21 | init() |
| declarations.swift:152:21:152:21 | Derived.init() |
| declarations.swift:152:21:152:21 | self |
| declarations.swift:155:1:155:28 | var ... = ... |
| declarations.swift:155:1:155:28 | { ... } |

View File

@@ -11,26 +11,26 @@
| expressions.swift:7:11:7:10 | call to appendLiteral(_:) | CallExpr |
| expressions.swift:7:11:7:11 | $interpolation | DeclRefExpr |
| expressions.swift:7:11:7:11 | &... | InOutExpr |
| expressions.swift:7:11:7:11 | .appendLiteral(_:) | MethodRefExpr |
| expressions.swift:7:11:7:11 | .appendLiteral(_:) | MethodLookupExpr |
| expressions.swift:7:18:7:18 | $interpolation | DeclRefExpr |
| expressions.swift:7:18:7:18 | &... | InOutExpr |
| expressions.swift:7:18:7:18 | .appendInterpolation(_:) | MethodRefExpr |
| expressions.swift:7:18:7:18 | .appendInterpolation(_:) | MethodLookupExpr |
| expressions.swift:7:18:7:20 | call to appendInterpolation(_:) | CallExpr |
| expressions.swift:7:19:7:19 | a | DeclRefExpr |
| expressions.swift:7:21:7:21 | | StringLiteralExpr |
| expressions.swift:7:21:7:21 | $interpolation | DeclRefExpr |
| expressions.swift:7:21:7:21 | &... | InOutExpr |
| expressions.swift:7:21:7:21 | .appendLiteral(_:) | MethodRefExpr |
| expressions.swift:7:21:7:21 | .appendLiteral(_:) | MethodLookupExpr |
| expressions.swift:7:21:7:21 | call to appendLiteral(_:) | CallExpr |
| expressions.swift:8:15:8:15 | nil | NilLiteralExpr |
| expressions.swift:15:9:15:9 | x | DeclRefExpr |
| expressions.swift:15:9:15:14 | ... .!=(_:_:) ... | BinaryExpr |
| expressions.swift:15:11:15:11 | .!=(_:_:) | MethodRefExpr |
| expressions.swift:15:11:15:11 | .!=(_:_:) | MethodLookupExpr |
| expressions.swift:15:11:15:11 | Int.Type | TypeExpr |
| expressions.swift:15:14:15:14 | 0 | IntegerLiteralExpr |
| expressions.swift:16:11:16:11 | AnError.Type | TypeExpr |
| expressions.swift:16:11:16:19 | (Error) ... | ErasureExpr |
| expressions.swift:16:11:16:19 | .failed | MethodRefExpr |
| expressions.swift:16:11:16:19 | .failed | MethodLookupExpr |
| expressions.swift:20:1:20:16 | try! ... | ForceTryExpr |
| expressions.swift:20:6:20:6 | failure(_:) | DeclRefExpr |
| expressions.swift:20:6:20:16 | call to failure(_:) | CallExpr |
@@ -41,9 +41,9 @@
| expressions.swift:21:6:21:16 | call to failure(_:) | CallExpr |
| expressions.swift:21:14:21:14 | 11 | IntegerLiteralExpr |
| expressions.swift:27:13:27:13 | Klass.Type | TypeExpr |
| expressions.swift:27:13:27:13 | call to init() | ConstructorRefCallExpr |
| expressions.swift:27:13:27:13 | init() | DeclRefExpr |
| expressions.swift:27:13:27:19 | call to init() | CallExpr |
| expressions.swift:27:13:27:13 | Klass.init() | DeclRefExpr |
| expressions.swift:27:13:27:13 | Klass.init() | MethodLookupExpr |
| expressions.swift:27:13:27:19 | call to Klass.init() | CallExpr |
| expressions.swift:29:9:29:19 | [...] | DictionaryExpr |
| expressions.swift:29:10:29:10 | 1 | StringLiteralExpr |
| expressions.swift:29:10:29:16 | (...) | TupleExpr |
@@ -86,7 +86,7 @@
| expressions.swift:41:10:43:1 | { ... } | ClosureExpr |
| expressions.swift:42:12:42:12 | x | DeclRefExpr |
| expressions.swift:42:12:42:16 | ... .+(_:_:) ... | BinaryExpr |
| expressions.swift:42:14:42:14 | .+(_:_:) | MethodRefExpr |
| expressions.swift:42:14:42:14 | .+(_:_:) | MethodLookupExpr |
| expressions.swift:42:14:42:14 | Int.Type | TypeExpr |
| expressions.swift:42:16:42:16 | y | DeclRefExpr |
| expressions.swift:44:1:44:1 | closured(closure:) | DeclRefExpr |
@@ -94,7 +94,7 @@
| expressions.swift:44:10:46:1 | { ... } | ClosureExpr |
| expressions.swift:45:12:45:12 | x | DeclRefExpr |
| expressions.swift:45:12:45:16 | ... .+(_:_:) ... | BinaryExpr |
| expressions.swift:45:14:45:14 | .+(_:_:) | MethodRefExpr |
| expressions.swift:45:14:45:14 | .+(_:_:) | MethodLookupExpr |
| expressions.swift:45:14:45:14 | Int.Type | TypeExpr |
| expressions.swift:45:16:45:16 | y | DeclRefExpr |
| expressions.swift:47:1:47:1 | closured(closure:) | DeclRefExpr |
@@ -102,7 +102,7 @@
| expressions.swift:47:10:47:27 | { ... } | ClosureExpr |
| expressions.swift:47:19:47:19 | $0 | DeclRefExpr |
| expressions.swift:47:19:47:24 | ... .+(_:_:) ... | BinaryExpr |
| expressions.swift:47:22:47:22 | .+(_:_:) | MethodRefExpr |
| expressions.swift:47:22:47:22 | .+(_:_:) | MethodLookupExpr |
| expressions.swift:47:22:47:22 | Int.Type | TypeExpr |
| expressions.swift:47:24:47:24 | $1 | DeclRefExpr |
| expressions.swift:48:1:48:1 | closured(closure:) | DeclRefExpr |
@@ -110,7 +110,7 @@
| expressions.swift:48:10:48:20 | { ... } | ClosureExpr |
| expressions.swift:48:12:48:12 | $0 | DeclRefExpr |
| expressions.swift:48:12:48:17 | ... .+(_:_:) ... | BinaryExpr |
| expressions.swift:48:15:48:15 | .+(_:_:) | MethodRefExpr |
| expressions.swift:48:15:48:15 | .+(_:_:) | MethodLookupExpr |
| expressions.swift:48:15:48:15 | Int.Type | TypeExpr |
| expressions.swift:48:17:48:17 | $1 | DeclRefExpr |
| expressions.swift:54:1:54:1 | _ | DiscardAssignmentExpr |
@@ -133,7 +133,7 @@
| expressions.swift:60:59:60:59 | $0 | DeclRefExpr |
| expressions.swift:64:8:64:8 | x | DeclRefExpr |
| expressions.swift:64:8:64:12 | ... .<(_:_:) ... | BinaryExpr |
| expressions.swift:64:10:64:10 | .<(_:_:) | MethodRefExpr |
| expressions.swift:64:10:64:10 | .<(_:_:) | MethodLookupExpr |
| expressions.swift:64:10:64:10 | Int.Type | TypeExpr |
| expressions.swift:64:12:64:12 | 0 | IntegerLiteralExpr |
| expressions.swift:73:5:73:5 | .xx | MemberRefExpr |
@@ -148,15 +148,15 @@
| expressions.swift:77:7:77:7 | call to _unimplementedInitializer(className:initName:file:line:column:) | CallExpr |
| expressions.swift:77:7:77:7 | expressions.Derived | StringLiteralExpr |
| expressions.swift:79:5:79:5 | super | SuperRefExpr |
| expressions.swift:79:5:79:11 | call to ... | DotSyntaxCallExpr |
| expressions.swift:79:5:79:21 | call to ... | CallExpr |
| expressions.swift:79:5:79:11 | Base.init(x:) | MethodLookupExpr |
| expressions.swift:79:5:79:21 | call to Base.init(x:) | CallExpr |
| expressions.swift:79:5:79:21 | self = ... | RebindSelfInConstructorExpr |
| expressions.swift:79:11:79:11 | init(x:) | OtherConstructorDeclRefExpr |
| expressions.swift:79:11:79:11 | Base.init(x:) | OtherConstructorDeclRefExpr |
| expressions.swift:79:19:79:19 | 22 | IntegerLiteralExpr |
| expressions.swift:83:15:83:15 | Derived.Type | TypeExpr |
| expressions.swift:83:15:83:15 | call to init() | ConstructorRefCallExpr |
| expressions.swift:83:15:83:15 | init() | DeclRefExpr |
| expressions.swift:83:15:83:23 | call to init() | CallExpr |
| expressions.swift:83:15:83:15 | Derived.init() | DeclRefExpr |
| expressions.swift:83:15:83:15 | Derived.init() | MethodLookupExpr |
| expressions.swift:83:15:83:23 | call to Derived.init() | CallExpr |
| expressions.swift:84:1:84:1 | _ | DiscardAssignmentExpr |
| expressions.swift:84:1:84:13 | ... = ... | AssignExpr |
| expressions.swift:84:5:84:5 | (Base) ... | DerivedToBaseExpr |
@@ -169,16 +169,16 @@
| expressions.swift:88:1:88:7 | ...! | ForceValueExpr |
| expressions.swift:88:3:88:3 | a | StringLiteralExpr |
| expressions.swift:92:14:92:14 | Unmanaged<ToPtr>.Type | TypeExpr |
| expressions.swift:92:14:92:24 | .passRetained(_:) | MethodRefExpr |
| expressions.swift:92:14:92:24 | .passRetained(_:) | MethodLookupExpr |
| expressions.swift:92:14:92:44 | call to passRetained(_:) | CallExpr |
| expressions.swift:92:14:92:46 | .toOpaque() | MethodRefExpr |
| expressions.swift:92:14:92:46 | .toOpaque() | MethodLookupExpr |
| expressions.swift:92:14:92:55 | call to toOpaque() | CallExpr |
| expressions.swift:92:37:92:37 | ToPtr.Type | TypeExpr |
| expressions.swift:92:37:92:37 | call to init() | ConstructorRefCallExpr |
| expressions.swift:92:37:92:37 | init() | DeclRefExpr |
| expressions.swift:92:37:92:43 | call to init() | CallExpr |
| expressions.swift:92:37:92:37 | ToPtr.init() | DeclRefExpr |
| expressions.swift:92:37:92:37 | ToPtr.init() | MethodLookupExpr |
| expressions.swift:92:37:92:43 | call to ToPtr.init() | CallExpr |
| expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type | TypeExpr |
| expressions.swift:93:1:93:18 | .fromOpaque(_:) | MethodRefExpr |
| expressions.swift:93:1:93:18 | .fromOpaque(_:) | MethodLookupExpr |
| expressions.swift:93:1:93:35 | call to fromOpaque(_:) | CallExpr |
| expressions.swift:93:29:93:29 | (UnsafeRawPointer) ... | PointerToPointerExpr |
| expressions.swift:93:29:93:29 | opaque | DeclRefExpr |
@@ -231,7 +231,7 @@
| expressions.swift:154:52:154:55 | #keyPath(...) | KeyPathExpr |
| expressions.swift:158:3:158:3 | _ | DiscardAssignmentExpr |
| expressions.swift:158:3:158:8 | ... = ... | AssignExpr |
| expressions.swift:158:7:158:7 | .~(_:) | MethodRefExpr |
| expressions.swift:158:7:158:7 | .~(_:) | MethodLookupExpr |
| expressions.swift:158:7:158:7 | Int.Type | TypeExpr |
| expressions.swift:158:7:158:8 | call to ~(_:) | PrefixUnaryExpr |
| expressions.swift:158:8:158:8 | 1 | IntegerLiteralExpr |
@@ -239,34 +239,34 @@
| expressions.swift:159:3:159:11 | ... = ... | AssignExpr |
| expressions.swift:159:7:159:7 | 1 | IntegerLiteralExpr |
| expressions.swift:159:7:159:11 | ... .&(_:_:) ... | BinaryExpr |
| expressions.swift:159:9:159:9 | .&(_:_:) | MethodRefExpr |
| expressions.swift:159:9:159:9 | .&(_:_:) | MethodLookupExpr |
| expressions.swift:159:9:159:9 | Int.Type | TypeExpr |
| expressions.swift:159:11:159:11 | 2 | IntegerLiteralExpr |
| expressions.swift:160:3:160:3 | _ | DiscardAssignmentExpr |
| expressions.swift:160:3:160:11 | ... = ... | AssignExpr |
| expressions.swift:160:7:160:7 | 1 | IntegerLiteralExpr |
| expressions.swift:160:7:160:11 | ... .\|(_:_:) ... | BinaryExpr |
| expressions.swift:160:9:160:9 | .\|(_:_:) | MethodRefExpr |
| expressions.swift:160:9:160:9 | .\|(_:_:) | MethodLookupExpr |
| expressions.swift:160:9:160:9 | Int.Type | TypeExpr |
| expressions.swift:160:11:160:11 | 2 | IntegerLiteralExpr |
| expressions.swift:161:3:161:3 | _ | DiscardAssignmentExpr |
| expressions.swift:161:3:161:11 | ... = ... | AssignExpr |
| expressions.swift:161:7:161:7 | 1 | IntegerLiteralExpr |
| expressions.swift:161:7:161:11 | ... .^(_:_:) ... | BinaryExpr |
| expressions.swift:161:9:161:9 | .^(_:_:) | MethodRefExpr |
| expressions.swift:161:9:161:9 | .^(_:_:) | MethodLookupExpr |
| expressions.swift:161:9:161:9 | Int.Type | TypeExpr |
| expressions.swift:161:11:161:11 | 2 | IntegerLiteralExpr |
| expressions.swift:162:3:162:3 | _ | DiscardAssignmentExpr |
| expressions.swift:162:3:162:12 | ... = ... | AssignExpr |
| expressions.swift:162:7:162:7 | 1 | IntegerLiteralExpr |
| expressions.swift:162:7:162:12 | ... .<<(_:_:) ... | BinaryExpr |
| expressions.swift:162:9:162:9 | .<<(_:_:) | MethodRefExpr |
| expressions.swift:162:9:162:9 | .<<(_:_:) | MethodLookupExpr |
| expressions.swift:162:9:162:9 | Int.Type | TypeExpr |
| expressions.swift:162:12:162:12 | 0 | IntegerLiteralExpr |
| expressions.swift:163:3:163:3 | _ | DiscardAssignmentExpr |
| expressions.swift:163:3:163:12 | ... = ... | AssignExpr |
| expressions.swift:163:7:163:7 | 1 | IntegerLiteralExpr |
| expressions.swift:163:7:163:12 | ... .>>(_:_:) ... | BinaryExpr |
| expressions.swift:163:9:163:9 | .>>(_:_:) | MethodRefExpr |
| expressions.swift:163:9:163:9 | .>>(_:_:) | MethodLookupExpr |
| expressions.swift:163:9:163:9 | Int.Type | TypeExpr |
| expressions.swift:163:12:163:12 | 0 | IntegerLiteralExpr |

View File

@@ -1,271 +1,706 @@
#-----| [PatternBindingDecl] var ... = ...
#-----| getPattern(0) -> [TypedPattern] ... as ...
#-----| [ReturnStmt] return ...
#-----| getResult() -> [CallExpr] call to UnownedSerialExecutor.init(_:)
#-----| [AccessorDecl] get
#-----| InterfaceType = (Bar) -> () -> UnownedSerialExecutor
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
#-----| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return ...
#-----| [ModuleDecl] __ObjC
#-----| [ModuleDecl] methodlookup
#-----| [ParamDecl] self
#-----| Type = Bar
#-----| [ParamDecl] self
#-----| Type = Foo
#-----| [ParamDecl] self
#-----| Type = Baz
#-----| [CallExpr] call to UnownedSerialExecutor.init(_:)
#-----| getFunction() -> [MethodLookupExpr] UnownedSerialExecutor.init(_:)
#-----| getArgument(0) -> [Argument] : call to ...
#-----| [CallExpr] call to ...
#-----| getFunction() -> (no string representation)
#-----| getArgument(0) -> [Argument] : self
#-----| [TypedPattern] ... as ...
#-----| getSubPattern() -> [NamedPattern] unownedExecutor
#-----| [NamedPattern] unownedExecutor
#-----| [ConcreteVarDecl] unownedExecutor
#-----| Type = UnownedSerialExecutor
#-----| getAccessorDecl(0) -> [AccessorDecl] get
#-----| (no string representation)
#-----| [DeclRefExpr] self
#-----| [DeclRefExpr] self
#-----| [DeclRefExpr] self
#-----| [MethodLookupExpr] UnownedSerialExecutor.init(_:)
#-----| [Argument] : call to ...
#-----| getExpr() -> [CallExpr] call to ...
#-----| [Argument] : self
#-----| getExpr() -> [DeclRefExpr] self
methodlookup.swift:
# 1| [ClassDecl] Foo
# 2| getMember(0): [ConstructorDecl] init()
# 2| InterfaceType = (Foo.Type) -> () -> Foo
# 2| getSelfParam(): [ParamDecl] self
# 2| Type = Foo
# 2| getBody(): [BraceStmt] { ... }
# 2| getElement(0): [ReturnStmt] return
# 3| getMember(1): [ConcreteFuncDecl] instanceMethod()
# 3| InterfaceType = (Foo) -> () -> ()
# 3| getSelfParam(): [ParamDecl] self
# 3| Type = Foo
# 3| getBody(): [BraceStmt] { ... }
# 4| getMember(2): [ConcreteFuncDecl] staticMethod()
# 4| InterfaceType = (Foo.Type) -> () -> ()
# 4| getSelfParam(): [ParamDecl] self
# 4| Type = Foo.Type
# 4| getBody(): [BraceStmt] { ... }
# 5| getMember(3): [ConcreteFuncDecl] classMethod()
# 5| InterfaceType = (Foo.Type) -> () -> ()
# 5| getSelfParam(): [ParamDecl] self
# 5| Type = Foo.Type
# 5| getBody(): [BraceStmt] { ... }
# 1| getMember(4): [DestructorDecl] deinit()
# 1| InterfaceType = (Foo) -> () -> ()
# 1| getSelfParam(): [ParamDecl] self
# 1| Type = Foo
# 1| getBody(): [BraceStmt] { ... }
#-----| getMember(0) -> [ConstructorDecl] Foo.init()
#-----| getMember(1) -> [ConcreteFuncDecl] instanceMethod()
#-----| getMember(2) -> [ConcreteFuncDecl] staticMethod()
#-----| getMember(3) -> [ConcreteFuncDecl] classMethod()
#-----| getMember(4) -> [DestructorDecl] Foo.deinit()
# 1| [DestructorDecl] Foo.deinit()
# 1| InterfaceType = (Foo) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 1| [BraceStmt] { ... }
# 1| [ParamDecl] self
# 1| Type = Foo
# 2| [ParamDecl] self
# 2| Type = Foo
# 2| [ConstructorDecl] Foo.init()
# 2| InterfaceType = (Foo.Type) -> () -> Foo
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 2| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return
# 2| [ReturnStmt] return
# 3| [ConcreteFuncDecl] instanceMethod()
# 3| InterfaceType = (Foo) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 3| [ParamDecl] self
# 3| Type = Foo
# 3| [BraceStmt] { ... }
# 4| [ConcreteFuncDecl] staticMethod()
# 4| InterfaceType = (Foo.Type) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 4| [ParamDecl] self
# 4| Type = Foo.Type
# 4| [BraceStmt] { ... }
# 5| [ConcreteFuncDecl] classMethod()
# 5| InterfaceType = (Foo.Type) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 5| [ParamDecl] self
# 5| Type = Foo.Type
# 5| [BraceStmt] { ... }
# 8| [ClassDecl] Bar
# 9| getMember(0): [ConstructorDecl] init()
# 9| InterfaceType = (Bar.Type) -> () -> Bar
# 9| getSelfParam(): [ParamDecl] self
# 9| Type = Bar
# 9| getBody(): [BraceStmt] { ... }
# 9| getElement(0): [ReturnStmt] return
# 10| getMember(1): [ConcreteFuncDecl] instanceMethod()
# 10| InterfaceType = (isolated Bar) -> () -> ()
# 10| getSelfParam(): [ParamDecl] self
# 10| Type = Bar
# 10| getBody(): [BraceStmt] { ... }
# 11| getMember(2): [ConcreteFuncDecl] staticMethod()
# 11| InterfaceType = (Bar.Type) -> () -> ()
# 11| getSelfParam(): [ParamDecl] self
# 11| Type = Bar.Type
# 11| getBody(): [BraceStmt] { ... }
#-----| getMember(3): [PatternBindingDecl] var ... = ...
#-----| getPattern(0): [TypedPattern] ... as ...
#-----| getSubPattern(): [NamedPattern] unownedExecutor
# 8| getMember(4): [DestructorDecl] deinit()
# 8| InterfaceType = (Bar) -> () -> ()
# 8| getSelfParam(): [ParamDecl] self
# 8| Type = Bar
# 8| getBody(): [BraceStmt] { ... }
#-----| getMember(5): [ConcreteVarDecl] unownedExecutor
#-----| Type = UnownedSerialExecutor
#-----| getAccessorDecl(0): [AccessorDecl] get
#-----| InterfaceType = (Bar) -> () -> UnownedSerialExecutor
#-----| getSelfParam(): [ParamDecl] self
#-----| Type = Bar
#-----| getBody(): [BraceStmt] { ... }
#-----| getElement(0): [ReturnStmt] return ...
#-----| getResult(): [CallExpr] call to init(_:)
#-----| getFunction(): [ConstructorRefCallExpr] call to init(_:)
#-----| getFunction(): [DeclRefExpr] init(_:)
#-----| getArgument(0): [Argument] : UnownedSerialExecutor.Type
#-----| getExpr(): [TypeExpr] UnownedSerialExecutor.Type
#-----| getArgument(0): [Argument] : call to ...
#-----| getExpr(): [CallExpr] call to ...
#-----| getFunction(): (no string representation)
#-----| getArgument(0): [Argument] : self
#-----| getExpr(): [DeclRefExpr] self
#-----| getMember(0) -> [ConstructorDecl] Bar.init()
#-----| getMember(1) -> [ConcreteFuncDecl] instanceMethod()
#-----| getMember(2) -> [ConcreteFuncDecl] staticMethod()
#-----| getMember(3) -> [PatternBindingDecl] var ... = ...
#-----| getMember(4) -> [DestructorDecl] Bar.deinit()
#-----| getMember(5) -> [ConcreteVarDecl] unownedExecutor
# 8| [DestructorDecl] Bar.deinit()
# 8| InterfaceType = (Bar) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 8| [BraceStmt] { ... }
# 8| [ParamDecl] self
# 8| Type = Bar
# 9| [ParamDecl] self
# 9| Type = Bar
# 9| [ConstructorDecl] Bar.init()
# 9| InterfaceType = (Bar.Type) -> () -> Bar
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 9| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return
# 9| [ReturnStmt] return
# 10| [ConcreteFuncDecl] instanceMethod()
# 10| InterfaceType = (isolated Bar) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 10| [ParamDecl] self
# 10| Type = Bar
# 10| [BraceStmt] { ... }
# 11| [ConcreteFuncDecl] staticMethod()
# 11| InterfaceType = (Bar.Type) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 11| [ParamDecl] self
# 11| Type = Bar.Type
# 11| [BraceStmt] { ... }
# 15| [ClassDecl] Baz
# 16| getMember(0): [ConstructorDecl] init()
# 16| InterfaceType = (Baz.Type) -> () -> Baz
# 16| getSelfParam(): [ParamDecl] self
# 16| Type = Baz
# 16| getBody(): [BraceStmt] { ... }
# 16| getElement(0): [ReturnStmt] return
# 17| getMember(1): [ConcreteFuncDecl] instanceMethod()
# 17| InterfaceType = (Baz) -> () -> ()
# 17| getSelfParam(): [ParamDecl] self
# 17| Type = Baz
# 17| getBody(): [BraceStmt] { ... }
# 18| getMember(2): [ConcreteFuncDecl] staticMethod()
# 18| InterfaceType = (Baz.Type) -> () -> ()
# 18| getSelfParam(): [ParamDecl] self
# 18| Type = Baz.Type
# 18| getBody(): [BraceStmt] { ... }
# 19| getMember(3): [ConcreteFuncDecl] classMethod()
# 19| InterfaceType = (Baz.Type) -> () -> ()
# 19| getSelfParam(): [ParamDecl] self
# 19| Type = Baz.Type
# 19| getBody(): [BraceStmt] { ... }
# 15| getMember(4): [DestructorDecl] deinit()
# 15| InterfaceType = (Baz) -> () -> ()
# 15| getSelfParam(): [ParamDecl] self
# 15| Type = Baz
# 15| getBody(): [BraceStmt] { ... }
#-----| getMember(0) -> [ConstructorDecl] Baz.init()
#-----| getMember(1) -> [ConcreteFuncDecl] instanceMethod()
#-----| getMember(2) -> [ConcreteFuncDecl] staticMethod()
#-----| getMember(3) -> [ConcreteFuncDecl] classMethod()
#-----| getMember(4) -> [DestructorDecl] Baz.deinit()
# 15| [DestructorDecl] Baz.deinit()
# 15| InterfaceType = (Baz) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 15| [BraceStmt] { ... }
# 15| [ParamDecl] self
# 15| Type = Baz
# 16| [ParamDecl] self
# 16| Type = Baz
# 16| [ConstructorDecl] Baz.init()
# 16| InterfaceType = (Baz.Type) -> () -> Baz
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 16| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return
# 16| [ReturnStmt] return
# 17| [ConcreteFuncDecl] instanceMethod()
# 17| InterfaceType = (Baz) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 17| [ParamDecl] self
# 17| Type = Baz
# 17| [BraceStmt] { ... }
# 18| [ConcreteFuncDecl] staticMethod()
# 18| InterfaceType = (Baz.Type) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 18| [ParamDecl] self
# 18| Type = Baz.Type
# 18| [BraceStmt] { ... }
# 19| [ConcreteFuncDecl] classMethod()
# 19| InterfaceType = (Baz.Type) -> () -> ()
#-----| getSelfParam() -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 19| [ParamDecl] self
# 19| Type = Baz.Type
# 19| [BraceStmt] { ... }
# 22| [BraceStmt] { ... }
#-----| getElement(0) -> [DoStmt] do { ... }
# 22| [DoStmt] do { ... }
#-----| getBody() -> [BraceStmt] { ... }
# 22| [TopLevelCodeDecl] { ... }
# 22| getBody(): [BraceStmt] { ... }
# 22| getElement(0): [DoStmt] do { ... }
# 22| getBody(): [BraceStmt] { ... }
# 23| getElement(0): [PatternBindingDecl] var ... = ...
# 23| getInit(0): [CallExpr] call to init()
# 23| getFunction(): [ConstructorRefCallExpr] call to init()
# 23| getFunction(): [DeclRefExpr] init()
# 23| getArgument(0): [Argument] : Foo.Type
# 23| getExpr(): [TypeExpr] Foo.Type
# 23| getTypeRepr(): [TypeRepr] Foo
# 23| getPattern(0): [NamedPattern] foo
# 23| getElement(1): [ConcreteVarDecl] foo
# 23| Type = Foo
# 24| getElement(2): [AssignExpr] ... = ...
# 24| getDest(): [DiscardAssignmentExpr] _
# 24| getSource(): [CallExpr] call to init()
# 24| getFunction(): [ConstructorRefCallExpr] call to init()
# 24| getFunction(): [DeclRefExpr] init()
# 24| getArgument(0): [Argument] : Foo.Type
# 24| getExpr(): [TypeExpr] Foo.Type
# 24| getTypeRepr(): [TypeRepr] Foo
# 26| getElement(3): [CallExpr] call to instanceMethod()
# 26| getFunction(): [MethodRefExpr] .instanceMethod()
# 26| getBase(): [DeclRefExpr] foo
# 27| getElement(4): [CallExpr] call to ...
# 27| getFunction(): [CallExpr] call to ...
# 27| getFunction(): [DotSyntaxBaseIgnoredExpr] .{ ... }
# 27| getQualifier(): [TypeExpr] Foo.Type
# 27| getTypeRepr(): [TypeRepr] Foo
# 27| getSubExpr(): [AutoClosureExpr] { ... }
#-----| getParam(0): [ParamDecl] self
#-----| Type = Foo
# 27| getBody(): [BraceStmt] { ... }
# 27| getElement(0): [ReturnStmt] return ...
# 27| getResult(): [AutoClosureExpr] { ... }
# 27| getBody(): [BraceStmt] { ... }
# 27| getElement(0): [ReturnStmt] return ...
# 27| getResult(): [CallExpr] call to instanceMethod()
# 27| getFunction(): [MethodRefExpr] .instanceMethod()
#-----| getBase(): [DeclRefExpr] self
# 27| getArgument(0): [Argument] : foo
# 27| getExpr(): [DeclRefExpr] foo
# 29| getElement(5): [CallExpr] call to classMethod()
# 29| getFunction(): [MethodRefExpr] .classMethod()
# 29| getBase(): [TypeExpr] Foo.Type
# 29| getTypeRepr(): [TypeRepr] Foo
# 30| getElement(6): [CallExpr] call to staticMethod()
# 30| getFunction(): [MethodRefExpr] .staticMethod()
# 30| getBase(): [TypeExpr] Foo.Type
# 30| getTypeRepr(): [TypeRepr] Foo
#-----| getBody() -> [BraceStmt] { ... }
# 22| [BraceStmt] { ... }
#-----| getElement(0) -> [PatternBindingDecl] var ... = ...
#-----| getElement(1) -> [ConcreteVarDecl] foo
#-----| getElement(2) -> [AssignExpr] ... = ...
#-----| getElement(3) -> [CallExpr] call to instanceMethod()
#-----| getElement(4) -> [CallExpr] call to call to Foo.instanceMethod()
#-----| getElement(5) -> [CallExpr] call to classMethod()
#-----| getElement(6) -> [CallExpr] call to staticMethod()
# 23| [PatternBindingDecl] var ... = ...
#-----| getInit(0) -> [CallExpr] call to Foo.init()
#-----| getPattern(0) -> [NamedPattern] foo
# 23| [NamedPattern] foo
# 23| [ConcreteVarDecl] foo
# 23| Type = Foo
# 23| [TypeExpr] Foo.Type
#-----| getTypeRepr() -> [TypeRepr] Foo
# 23| [TypeRepr] Foo
# 23| [DeclRefExpr] Foo.init()
# 23| [MethodLookupExpr] Foo.init()
#-----| getBase() -> [TypeExpr] Foo.Type
# 23| [Argument] : Foo.Type
#-----| getExpr() -> [TypeExpr] Foo.Type
# 23| [CallExpr] call to Foo.init()
#-----| getFunction() -> [MethodLookupExpr] Foo.init()
# 24| [DiscardAssignmentExpr] _
# 24| [AssignExpr] ... = ...
#-----| getDest() -> [DiscardAssignmentExpr] _
#-----| getSource() -> [CallExpr] call to Foo.init()
# 24| [TypeExpr] Foo.Type
#-----| getTypeRepr() -> [TypeRepr] Foo
# 24| [TypeRepr] Foo
# 24| [Argument] : Foo.Type
#-----| getExpr() -> [TypeExpr] Foo.Type
# 24| [MethodLookupExpr] Foo.init()
#-----| getBase() -> [TypeExpr] Foo.Type
# 24| [CallExpr] call to Foo.init()
#-----| getFunction() -> [MethodLookupExpr] Foo.init()
# 24| [DeclRefExpr] Foo.init()
# 26| [DeclRefExpr] foo
# 26| [MethodLookupExpr] .instanceMethod()
#-----| getBase() -> [DeclRefExpr] foo
# 26| [CallExpr] call to instanceMethod()
#-----| getFunction() -> [MethodLookupExpr] .instanceMethod()
# 27| [TypeExpr] Foo.Type
#-----| getTypeRepr() -> [TypeRepr] Foo
# 27| [TypeRepr] Foo
# 27| [DotSyntaxBaseIgnoredExpr] Foo.instanceMethod()
#-----| getQualifier() -> [TypeExpr] Foo.Type
#-----| getSubExpr() -> [AutoClosureExpr] { ... }
# 27| [CallExpr] call to Foo.instanceMethod()
#-----| getFunction() -> [DotSyntaxBaseIgnoredExpr] Foo.instanceMethod()
#-----| getArgument(0) -> [Argument] : foo
# 27| [CallExpr] call to call to Foo.instanceMethod()
#-----| getFunction() -> [CallExpr] call to Foo.instanceMethod()
# 27| [AutoClosureExpr] { ... }
#-----| getParam(0) -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 27| [AutoClosureExpr] { ... }
#-----| getBody() -> [BraceStmt] { ... }
# 27| [ReturnStmt] return ...
#-----| getResult() -> [AutoClosureExpr] { ... }
# 27| [ReturnStmt] return ...
#-----| getResult() -> [CallExpr] call to instanceMethod()
# 27| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return ...
# 27| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return ...
# 27| [CallExpr] call to instanceMethod()
#-----| getFunction() -> [MethodLookupExpr] .instanceMethod()
# 27| [MethodLookupExpr] .instanceMethod()
#-----| getBase() -> [DeclRefExpr] self
# 27| [DeclRefExpr] foo
# 27| [Argument] : foo
#-----| getExpr() -> [DeclRefExpr] foo
# 29| [TypeExpr] Foo.Type
#-----| getTypeRepr() -> [TypeRepr] Foo
# 29| [TypeRepr] Foo
# 29| [MethodLookupExpr] .classMethod()
#-----| getBase() -> [TypeExpr] Foo.Type
# 29| [CallExpr] call to classMethod()
#-----| getFunction() -> [MethodLookupExpr] .classMethod()
# 30| [TypeExpr] Foo.Type
#-----| getTypeRepr() -> [TypeRepr] Foo
# 30| [TypeRepr] Foo
# 30| [MethodLookupExpr] .staticMethod()
#-----| getBase() -> [TypeExpr] Foo.Type
# 30| [CallExpr] call to staticMethod()
#-----| getFunction() -> [MethodLookupExpr] .staticMethod()
# 33| [TypeExpr] Task<(), Never>.Type
#-----| getTypeRepr() -> [TypeRepr] Task<(), Never>
# 33| [TypeRepr] Task<(), Never>
# 33| [DeclRefExpr] Task<Success, Never>.init(priority:operation:)
# 33| [MethodLookupExpr] Task<Success, Never>.init(priority:operation:)
#-----| getBase() -> [TypeExpr] Task<(), Never>.Type
# 33| [Argument] : Task<(), Never>.Type
#-----| getExpr() -> [TypeExpr] Task<(), Never>.Type
# 33| [BraceStmt] { ... }
#-----| getElement(0) -> [CallExpr] call to Task<Success, Never>.init(priority:operation:)
# 33| [CallExpr] call to Task<Success, Never>.init(priority:operation:)
#-----| getFunction() -> [MethodLookupExpr] Task<Success, Never>.init(priority:operation:)
#-----| getArgument(0) -> [Argument] priority: default priority
#-----| getArgument(1) -> [Argument] operation: { ... }
# 33| [TopLevelCodeDecl] { ... }
# 33| getBody(): [BraceStmt] { ... }
# 33| getElement(0): [CallExpr] call to init(priority:operation:)
# 33| getFunction(): [ConstructorRefCallExpr] call to init(priority:operation:)
# 33| getFunction(): [DeclRefExpr] init(priority:operation:)
# 33| getArgument(0): [Argument] : Task<(), Never>.Type
# 33| getExpr(): [TypeExpr] Task<(), Never>.Type
# 33| getTypeRepr(): [TypeRepr] Task<(), Never>
# 33| getArgument(0): [Argument] priority: default priority
# 33| getExpr(): [DefaultArgumentExpr] default priority
# 33| getArgument(1): [Argument] operation: { ... }
# 33| getExpr(): [ClosureExpr] { ... }
# 33| getBody(): [BraceStmt] { ... }
# 34| getElement(0): [PatternBindingDecl] var ... = ...
# 34| getInit(0): [CallExpr] call to init()
# 34| getFunction(): [ConstructorRefCallExpr] call to init()
# 34| getFunction(): [DeclRefExpr] init()
# 34| getArgument(0): [Argument] : Bar.Type
# 34| getExpr(): [TypeExpr] Bar.Type
# 34| getTypeRepr(): [TypeRepr] Bar
# 34| getPattern(0): [NamedPattern] bar
# 34| getElement(1): [ConcreteVarDecl] bar
# 34| Type = Bar
# 35| getElement(2): [AssignExpr] ... = ...
# 35| getDest(): [DiscardAssignmentExpr] _
# 35| getSource(): [CallExpr] call to init()
# 35| getFunction(): [ConstructorRefCallExpr] call to init()
# 35| getFunction(): [DeclRefExpr] init()
# 35| getArgument(0): [Argument] : Bar.Type
# 35| getExpr(): [TypeExpr] Bar.Type
# 35| getTypeRepr(): [TypeRepr] Bar
# 37| getElement(3): [CallExpr] call to instanceMethod()
# 37| getFunction(): [MethodRefExpr] .instanceMethod()
# 37| getBase(): [DeclRefExpr] bar
# 37| getElement(3).getFullyConverted(): [AwaitExpr] await ...
# 40| getElement(4): [CallExpr] call to staticMethod()
# 40| getFunction(): [MethodRefExpr] .staticMethod()
# 40| getBase(): [TypeExpr] Bar.Type
# 40| getTypeRepr(): [TypeRepr] Bar
#-----| getBody() -> [BraceStmt] { ... }
# 33| [NilLiteralExpr] nil
# 33| [DefaultArgumentExpr] default priority
# 33| [Argument] priority: default priority
#-----| getExpr() -> [DefaultArgumentExpr] default priority
# 33| [ClosureExpr] { ... }
#-----| getBody() -> [BraceStmt] { ... }
# 33| [BraceStmt] { ... }
#-----| getElement(0) -> [PatternBindingDecl] var ... = ...
#-----| getElement(1) -> [ConcreteVarDecl] bar
#-----| getElement(2) -> [AssignExpr] ... = ...
#-----| getElement(3) -> [CallExpr] call to instanceMethod()
#-----| getElement(3).getFullyConverted() -> [AwaitExpr] await ...
#-----| getElement(4) -> [CallExpr] call to staticMethod()
# 33| [Argument] operation: { ... }
#-----| getExpr() -> [ClosureExpr] { ... }
# 34| [PatternBindingDecl] var ... = ...
#-----| getInit(0) -> [CallExpr] call to Bar.init()
#-----| getPattern(0) -> [NamedPattern] bar
# 34| [NamedPattern] bar
# 34| [ConcreteVarDecl] bar
# 34| Type = Bar
# 34| [TypeExpr] Bar.Type
#-----| getTypeRepr() -> [TypeRepr] Bar
# 34| [TypeRepr] Bar
# 34| [DeclRefExpr] Bar.init()
# 34| [MethodLookupExpr] Bar.init()
#-----| getBase() -> [TypeExpr] Bar.Type
# 34| [Argument] : Bar.Type
#-----| getExpr() -> [TypeExpr] Bar.Type
# 34| [CallExpr] call to Bar.init()
#-----| getFunction() -> [MethodLookupExpr] Bar.init()
# 35| [DiscardAssignmentExpr] _
# 35| [AssignExpr] ... = ...
#-----| getDest() -> [DiscardAssignmentExpr] _
#-----| getSource() -> [CallExpr] call to Bar.init()
# 35| [TypeExpr] Bar.Type
#-----| getTypeRepr() -> [TypeRepr] Bar
# 35| [TypeRepr] Bar
# 35| [Argument] : Bar.Type
#-----| getExpr() -> [TypeExpr] Bar.Type
# 35| [MethodLookupExpr] Bar.init()
#-----| getBase() -> [TypeExpr] Bar.Type
# 35| [CallExpr] call to Bar.init()
#-----| getFunction() -> [MethodLookupExpr] Bar.init()
# 35| [DeclRefExpr] Bar.init()
# 37| [AwaitExpr] await ...
# 37| [DeclRefExpr] bar
# 37| [MethodLookupExpr] .instanceMethod()
#-----| getBase() -> [DeclRefExpr] bar
# 37| [CallExpr] call to instanceMethod()
#-----| getFunction() -> [MethodLookupExpr] .instanceMethod()
# 38| [Comment] // Bar.instanceMethod(bar2)() // error: actor-isolated instance method 'instanceMethod()' can not be referenced from a non-isolated context
# 38|
# 40| [TypeExpr] Bar.Type
#-----| getTypeRepr() -> [TypeRepr] Bar
# 40| [TypeRepr] Bar
# 40| [MethodLookupExpr] .staticMethod()
#-----| getBase() -> [TypeExpr] Bar.Type
# 40| [CallExpr] call to staticMethod()
#-----| getFunction() -> [MethodLookupExpr] .staticMethod()
# 43| [TypeExpr] Task<(), Never>.Type
#-----| getTypeRepr() -> [TypeRepr] Task<(), Never>
# 43| [TypeRepr] Task<(), Never>
# 43| [DeclRefExpr] Task<Success, Never>.init(priority:operation:)
# 43| [MethodLookupExpr] Task<Success, Never>.init(priority:operation:)
#-----| getBase() -> [TypeExpr] Task<(), Never>.Type
# 43| [Argument] : Task<(), Never>.Type
#-----| getExpr() -> [TypeExpr] Task<(), Never>.Type
# 43| [BraceStmt] { ... }
#-----| getElement(0) -> [CallExpr] call to Task<Success, Never>.init(priority:operation:)
# 43| [CallExpr] call to Task<Success, Never>.init(priority:operation:)
#-----| getFunction() -> [MethodLookupExpr] Task<Success, Never>.init(priority:operation:)
#-----| getArgument(0) -> [Argument] priority: default priority
#-----| getArgument(1) -> [Argument] operation: { ... }
# 43| [TopLevelCodeDecl] { ... }
# 43| getBody(): [BraceStmt] { ... }
# 43| getElement(0): [CallExpr] call to init(priority:operation:)
# 43| getFunction(): [ConstructorRefCallExpr] call to init(priority:operation:)
# 43| getFunction(): [DeclRefExpr] init(priority:operation:)
# 43| getArgument(0): [Argument] : Task<(), Never>.Type
# 43| getExpr(): [TypeExpr] Task<(), Never>.Type
# 43| getTypeRepr(): [TypeRepr] Task<(), Never>
# 43| getArgument(0): [Argument] priority: default priority
# 43| getExpr(): [DefaultArgumentExpr] default priority
# 43| getArgument(1): [Argument] operation: { ... }
# 43| getExpr(): [ClosureExpr] { ... }
# 43| getBody(): [BraceStmt] { ... }
# 44| getElement(0): [PatternBindingDecl] var ... = ...
# 44| getInit(0): [CallExpr] call to init()
# 44| getFunction(): [ConstructorRefCallExpr] call to init()
# 44| getFunction(): [DeclRefExpr] init()
# 44| getFunction().getFullyConverted(): [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> Baz) ...
# 44| getArgument(0): [Argument] : Baz.Type
# 44| getExpr(): [TypeExpr] Baz.Type
# 44| getTypeRepr(): [TypeRepr] Baz
# 44| getInit(0).getFullyConverted(): [AwaitExpr] await ...
# 44| getPattern(0): [NamedPattern] baz
# 44| getElement(1): [ConcreteVarDecl] baz
# 44| Type = Baz
# 45| getElement(2): [AssignExpr] ... = ...
# 45| getDest(): [DiscardAssignmentExpr] _
# 45| getSource(): [CallExpr] call to init()
# 45| getFunction(): [ConstructorRefCallExpr] call to init()
# 45| getFunction(): [DeclRefExpr] init()
# 45| getFunction().getFullyConverted(): [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> Baz) ...
# 45| getArgument(0): [Argument] : Baz.Type
# 45| getExpr(): [TypeExpr] Baz.Type
# 45| getTypeRepr(): [TypeRepr] Baz
# 45| getSource().getFullyConverted(): [AwaitExpr] await ...
# 47| getElement(3): [CallExpr] call to ...
# 47| getFunction(): [DotSyntaxCallExpr] call to instanceMethod()
# 47| getFunction(): [DeclRefExpr] instanceMethod()
# 47| getFunction().getFullyConverted(): [FunctionConversionExpr] ((Baz) -> @MainActor () -> ()) ...
# 47| getArgument(0): [Argument] : baz
# 47| getExpr(): [DeclRefExpr] baz
# 47| getElement(3).getFullyConverted(): [AwaitExpr] await ...
# 48| getElement(4): [CallExpr] call to ...
# 48| getFunction(): [CallExpr] call to ...
# 48| getFunction(): [DotSyntaxBaseIgnoredExpr] .{ ... }
# 48| getQualifier(): [TypeExpr] Baz.Type
# 48| getTypeRepr(): [TypeRepr] Baz
# 48| getSubExpr(): [AutoClosureExpr] { ... }
#-----| getParam(0): [ParamDecl] self
#-----| Type = Baz
# 48| getBody(): [BraceStmt] { ... }
# 48| getElement(0): [ReturnStmt] return ...
# 48| getResult(): [AutoClosureExpr] { ... }
# 48| getBody(): [BraceStmt] { ... }
# 48| getElement(0): [ReturnStmt] return ...
# 48| getResult(): [CallExpr] call to instanceMethod()
# 48| getFunction(): [MethodRefExpr] .instanceMethod()
#-----| getBase(): [DeclRefExpr] self
# 48| getArgument(0): [Argument] : baz
# 48| getExpr(): [DeclRefExpr] baz
# 48| getElement(4).getFullyConverted(): [AwaitExpr] await ...
# 50| getElement(5): [CallExpr] call to ...
# 50| getFunction(): [DotSyntaxCallExpr] call to classMethod()
# 50| getFunction(): [DeclRefExpr] classMethod()
# 50| getFunction().getFullyConverted(): [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> ()) ...
# 50| getArgument(0): [Argument] : Baz.Type
# 50| getExpr(): [TypeExpr] Baz.Type
# 50| getTypeRepr(): [TypeRepr] Baz
# 50| getElement(5).getFullyConverted(): [AwaitExpr] await ...
# 51| getElement(6): [CallExpr] call to ...
# 51| getFunction(): [DotSyntaxCallExpr] call to staticMethod()
# 51| getFunction(): [DeclRefExpr] staticMethod()
# 51| getFunction().getFullyConverted(): [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> ()) ...
# 51| getArgument(0): [Argument] : Baz.Type
# 51| getExpr(): [TypeExpr] Baz.Type
# 51| getTypeRepr(): [TypeRepr] Baz
# 51| getElement(6).getFullyConverted(): [AwaitExpr] await ...
#-----| getBody() -> [BraceStmt] { ... }
# 43| [NilLiteralExpr] nil
# 43| [DefaultArgumentExpr] default priority
# 43| [Argument] priority: default priority
#-----| getExpr() -> [DefaultArgumentExpr] default priority
# 43| [ClosureExpr] { ... }
#-----| getBody() -> [BraceStmt] { ... }
# 43| [BraceStmt] { ... }
#-----| getElement(0) -> [PatternBindingDecl] var ... = ...
#-----| getElement(1) -> [ConcreteVarDecl] baz
#-----| getElement(2) -> [AssignExpr] ... = ...
#-----| getElement(3) -> [CallExpr] call to instanceMethod()
#-----| getElement(3).getFullyConverted() -> [AwaitExpr] await ...
#-----| getElement(4) -> [CallExpr] call to call to Baz.instanceMethod()
#-----| getElement(4).getFullyConverted() -> [AwaitExpr] await ...
#-----| getElement(5) -> [CallExpr] call to classMethod()
#-----| getElement(5).getFullyConverted() -> [AwaitExpr] await ...
#-----| getElement(6) -> [CallExpr] call to staticMethod()
#-----| getElement(6).getFullyConverted() -> [AwaitExpr] await ...
# 43| [Argument] operation: { ... }
#-----| getExpr() -> [ClosureExpr] { ... }
# 44| [PatternBindingDecl] var ... = ...
#-----| getInit(0) -> [CallExpr] call to Baz.init()
#-----| getInit(0).getFullyConverted() -> [AwaitExpr] await ...
#-----| getPattern(0) -> [NamedPattern] baz
# 44| [NamedPattern] baz
# 44| [ConcreteVarDecl] baz
# 44| Type = Baz
# 44| [AwaitExpr] await ...
# 44| [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> Baz) ...
# 44| [TypeExpr] Baz.Type
#-----| getTypeRepr() -> [TypeRepr] Baz
# 44| [TypeRepr] Baz
# 44| [DeclRefExpr] Baz.init()
# 44| [MethodLookupExpr] Baz.init()
#-----| getBase() -> [TypeExpr] Baz.Type
# 44| [Argument] : Baz.Type
#-----| getExpr() -> [TypeExpr] Baz.Type
# 44| [CallExpr] call to Baz.init()
#-----| getFunction() -> [MethodLookupExpr] Baz.init()
# 45| [DiscardAssignmentExpr] _
# 45| [AssignExpr] ... = ...
#-----| getDest() -> [DiscardAssignmentExpr] _
#-----| getSource() -> [CallExpr] call to Baz.init()
#-----| getSource().getFullyConverted() -> [AwaitExpr] await ...
# 45| [AwaitExpr] await ...
# 45| [TypeExpr] Baz.Type
#-----| getTypeRepr() -> [TypeRepr] Baz
# 45| [TypeRepr] Baz
# 45| [Argument] : Baz.Type
#-----| getExpr() -> [TypeExpr] Baz.Type
# 45| [MethodLookupExpr] Baz.init()
#-----| getBase() -> [TypeExpr] Baz.Type
# 45| [CallExpr] call to Baz.init()
#-----| getFunction() -> [MethodLookupExpr] Baz.init()
# 45| [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> Baz) ...
# 45| [DeclRefExpr] Baz.init()
# 47| [AwaitExpr] await ...
# 47| [DeclRefExpr] baz
# 47| [Argument] : baz
#-----| getExpr() -> [DeclRefExpr] baz
# 47| [MethodLookupExpr] .instanceMethod()
#-----| getBase() -> [DeclRefExpr] baz
# 47| [CallExpr] call to instanceMethod()
#-----| getFunction() -> [MethodLookupExpr] .instanceMethod()
# 47| [FunctionConversionExpr] ((Baz) -> @MainActor () -> ()) ...
# 47| [DeclRefExpr] instanceMethod()
# 47| [Comment] // DotSyntaxCallExpr
# 47|
# 48| [AwaitExpr] await ...
# 48| [TypeExpr] Baz.Type
#-----| getTypeRepr() -> [TypeRepr] Baz
# 48| [TypeRepr] Baz
# 48| [DotSyntaxBaseIgnoredExpr] Baz.instanceMethod()
#-----| getQualifier() -> [TypeExpr] Baz.Type
#-----| getSubExpr() -> [AutoClosureExpr] { ... }
# 48| [CallExpr] call to Baz.instanceMethod()
#-----| getFunction() -> [DotSyntaxBaseIgnoredExpr] Baz.instanceMethod()
#-----| getArgument(0) -> [Argument] : baz
# 48| [CallExpr] call to call to Baz.instanceMethod()
#-----| getFunction() -> [CallExpr] call to Baz.instanceMethod()
# 48| [AutoClosureExpr] { ... }
#-----| getParam(0) -> [ParamDecl] self
#-----| getBody() -> [BraceStmt] { ... }
# 48| [AutoClosureExpr] { ... }
#-----| getBody() -> [BraceStmt] { ... }
# 48| [ReturnStmt] return ...
#-----| getResult() -> [AutoClosureExpr] { ... }
# 48| [ReturnStmt] return ...
#-----| getResult() -> [CallExpr] call to instanceMethod()
# 48| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return ...
# 48| [BraceStmt] { ... }
#-----| getElement(0) -> [ReturnStmt] return ...
# 48| [CallExpr] call to instanceMethod()
#-----| getFunction() -> [MethodLookupExpr] .instanceMethod()
# 48| [MethodLookupExpr] .instanceMethod()
#-----| getBase() -> [DeclRefExpr] self
# 48| [DeclRefExpr] baz
# 48| [Argument] : baz
#-----| getExpr() -> [DeclRefExpr] baz
# 48| [Comment] // DotSyntaxBaseIgnoredExpr
# 48|
# 50| [AwaitExpr] await ...
# 50| [TypeExpr] Baz.Type
#-----| getTypeRepr() -> [TypeRepr] Baz
# 50| [TypeRepr] Baz
# 50| [Argument] : Baz.Type
#-----| getExpr() -> [TypeExpr] Baz.Type
# 50| [MethodLookupExpr] .classMethod()
#-----| getBase() -> [TypeExpr] Baz.Type
# 50| [CallExpr] call to classMethod()
#-----| getFunction() -> [MethodLookupExpr] .classMethod()
# 50| [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> ()) ...
# 50| [DeclRefExpr] classMethod()
# 51| [AwaitExpr] await ...
# 51| [TypeExpr] Baz.Type
#-----| getTypeRepr() -> [TypeRepr] Baz
# 51| [TypeRepr] Baz
# 51| [Argument] : Baz.Type
#-----| getExpr() -> [TypeExpr] Baz.Type
# 51| [MethodLookupExpr] .staticMethod()
#-----| getBase() -> [TypeExpr] Baz.Type
# 51| [CallExpr] call to staticMethod()
#-----| getFunction() -> [MethodLookupExpr] .staticMethod()
# 51| [FunctionConversionExpr] ((Baz.Type) -> @MainActor () -> ()) ...
# 51| [DeclRefExpr] staticMethod()

View File

@@ -1,15 +1,8 @@
noStaticTarget
| file://:0:0:0:0 | call to ... | file://:0:0:0:0 | (no string representation) | DeclRefExpr |
| methodlookup.swift:27:5:27:27 | call to ... | methodlookup.swift:27:5:27:9 | .{ ... } | DotSyntaxBaseIgnoredExpr |
| methodlookup.swift:27:5:27:29 | call to ... | methodlookup.swift:27:5:27:27 | call to ... | CallExpr |
| methodlookup.swift:47:11:47:30 | call to ... | methodlookup.swift:47:11:47:15 | call to instanceMethod() | DotSyntaxCallExpr |
| methodlookup.swift:48:11:48:33 | call to ... | methodlookup.swift:48:11:48:15 | .{ ... } | DotSyntaxBaseIgnoredExpr |
| methodlookup.swift:48:11:48:35 | call to ... | methodlookup.swift:48:11:48:33 | call to ... | CallExpr |
| methodlookup.swift:50:11:50:27 | call to ... | methodlookup.swift:50:11:50:15 | call to classMethod() | DotSyntaxCallExpr |
| methodlookup.swift:51:11:51:28 | call to ... | methodlookup.swift:51:11:51:15 | call to staticMethod() | DotSyntaxCallExpr |
#select
| file://:0:0:0:0 | call to ... | false | - |
| file://:0:0:0:0 | call to init(_:) | true | init(_:) |
| file://:0:0:0:0 | call to UnownedSerialExecutor.init(_:) | true | UnownedSerialExecutor.init(_:) |
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
@@ -26,25 +19,25 @@ noStaticTarget
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
| methodlookup.swift:23:15:23:19 | call to init() | true | init() |
| methodlookup.swift:24:9:24:18 | call to init() | true | init() |
| methodlookup.swift:23:15:23:19 | call to Foo.init() | true | Foo.init() |
| methodlookup.swift:24:9:24:18 | call to Foo.init() | true | Foo.init() |
| methodlookup.swift:26:5:26:24 | call to instanceMethod() | true | instanceMethod() |
| methodlookup.swift:27:5:27:27 | call to ... | false | - |
| methodlookup.swift:27:5:27:29 | call to ... | false | - |
| methodlookup.swift:27:5:27:27 | call to Foo.instanceMethod() | true | { ... } |
| methodlookup.swift:27:5:27:29 | call to call to Foo.instanceMethod() | true | { ... } |
| methodlookup.swift:27:9:27:9 | call to instanceMethod() | true | instanceMethod() |
| methodlookup.swift:29:5:29:21 | call to classMethod() | true | classMethod() |
| methodlookup.swift:30:5:30:22 | call to staticMethod() | true | staticMethod() |
| methodlookup.swift:33:1:41:1 | call to init(priority:operation:) | true | init(priority:operation:) |
| methodlookup.swift:34:15:34:19 | call to init() | true | init() |
| methodlookup.swift:35:9:35:18 | call to init() | true | init() |
| methodlookup.swift:33:1:41:1 | call to Task<Success, Never>.init(priority:operation:) | true | Task<Success, Never>.init(priority:operation:) |
| methodlookup.swift:34:15:34:19 | call to Bar.init() | true | Bar.init() |
| methodlookup.swift:35:9:35:18 | call to Bar.init() | true | Bar.init() |
| methodlookup.swift:37:11:37:30 | call to instanceMethod() | true | instanceMethod() |
| methodlookup.swift:40:5:40:22 | call to staticMethod() | true | staticMethod() |
| methodlookup.swift:43:1:52:1 | call to init(priority:operation:) | true | init(priority:operation:) |
| methodlookup.swift:44:21:44:25 | call to init() | true | init() |
| methodlookup.swift:45:15:45:24 | call to init() | true | init() |
| methodlookup.swift:47:11:47:30 | call to ... | false | - |
| methodlookup.swift:48:11:48:33 | call to ... | false | - |
| methodlookup.swift:48:11:48:35 | call to ... | false | - |
| methodlookup.swift:43:1:52:1 | call to Task<Success, Never>.init(priority:operation:) | true | Task<Success, Never>.init(priority:operation:) |
| methodlookup.swift:44:21:44:25 | call to Baz.init() | true | Baz.init() |
| methodlookup.swift:45:15:45:24 | call to Baz.init() | true | Baz.init() |
| methodlookup.swift:47:11:47:30 | call to instanceMethod() | true | instanceMethod() |
| methodlookup.swift:48:11:48:33 | call to Baz.instanceMethod() | true | { ... } |
| methodlookup.swift:48:11:48:35 | call to call to Baz.instanceMethod() | true | { ... } |
| methodlookup.swift:48:15:48:15 | call to instanceMethod() | true | instanceMethod() |
| methodlookup.swift:50:11:50:27 | call to ... | false | - |
| methodlookup.swift:51:11:51:28 | call to ... | false | - |
| methodlookup.swift:50:11:50:27 | call to classMethod() | true | classMethod() |
| methodlookup.swift:51:11:51:28 | call to staticMethod() | true | staticMethod() |

View File

@@ -5,7 +5,7 @@
| expressions.swift:15:9:15:9 | x | OrdinarySemantics |
| expressions.swift:20:6:20:6 | failure(_:) | OrdinarySemantics |
| expressions.swift:21:6:21:6 | failure(_:) | OrdinarySemantics |
| expressions.swift:27:13:27:13 | init() | OrdinarySemantics |
| expressions.swift:27:13:27:13 | Klass.init() | OrdinarySemantics |
| expressions.swift:35:1:35:1 | print(_:separator:terminator:) | OrdinarySemantics |
| expressions.swift:35:7:35:7 | d | OrdinarySemantics |
| expressions.swift:35:7:35:12 | ...[...] | OrdinarySemantics |
@@ -33,13 +33,13 @@
| expressions.swift:73:5:73:5 | self | OrdinarySemantics |
| expressions.swift:73:10:73:10 | x | OrdinarySemantics |
| expressions.swift:77:7:77:7 | _unimplementedInitializer(className:initName:file:line:column:) | OrdinarySemantics |
| expressions.swift:83:15:83:15 | init() | OrdinarySemantics |
| expressions.swift:83:15:83:15 | Derived.init() | OrdinarySemantics |
| expressions.swift:84:5:84:5 | derived | OrdinarySemantics |
| expressions.swift:84:5:84:13 | .xx | OrdinarySemantics |
| expressions.swift:87:1:87:1 | opt | OrdinarySemantics |
| expressions.swift:88:1:88:1 | d | OrdinarySemantics |
| expressions.swift:88:1:88:6 | ...[...] | OrdinarySemantics |
| expressions.swift:92:37:92:37 | init() | OrdinarySemantics |
| expressions.swift:92:37:92:37 | ToPtr.init() | OrdinarySemantics |
| expressions.swift:93:29:93:29 | opaque | OrdinarySemantics |
| expressions.swift:131:3:131:3 | hp | OrdinarySemantics |
| expressions.swift:131:3:131:6 | .settableField | OrdinarySemantics |

View File

@@ -1,12 +1,12 @@
| class.swift:1:1:7:1 | Foo | 0 | class.swift:2:5:2:16 | var ... = ... |
| class.swift:1:1:7:1 | Foo | 1 | class.swift:2:9:2:9 | field |
| class.swift:1:1:7:1 | Foo | 2 | class.swift:4:5:6:5 | init() |
| class.swift:1:1:7:1 | Foo | 3 | class.swift:1:7:1:7 | deinit() |
| class.swift:1:1:7:1 | Foo | 2 | class.swift:4:5:6:5 | Foo.init() |
| class.swift:1:1:7:1 | Foo | 3 | class.swift:1:7:1:7 | Foo.deinit() |
| class.swift:11:1:14:1 | Generic | 0 | class.swift:12:5:12:13 | var ... = ... |
| class.swift:11:1:14:1 | Generic | 1 | class.swift:12:9:12:9 | x |
| class.swift:11:1:14:1 | Generic | 2 | class.swift:13:5:13:13 | var ... = ... |
| class.swift:11:1:14:1 | Generic | 3 | class.swift:13:9:13:9 | y |
| class.swift:11:1:14:1 | Generic | 4 | class.swift:11:7:11:7 | deinit() |
| class.swift:11:1:14:1 | Generic | 5 | class.swift:11:7:11:7 | init() |
| class.swift:16:1:17:1 | Baz | 0 | class.swift:16:21:16:21 | init() |
| class.swift:16:1:17:1 | Baz | 1 | class.swift:16:7:16:7 | deinit() |
| class.swift:11:1:14:1 | Generic | 4 | class.swift:11:7:11:7 | Generic<X, Y>.deinit() |
| class.swift:11:1:14:1 | Generic | 5 | class.swift:11:7:11:7 | Generic<X, Y>.init() |
| class.swift:16:1:17:1 | Baz | 0 | class.swift:16:21:16:21 | Baz.init() |
| class.swift:16:1:17:1 | Baz | 1 | class.swift:16:7:16:7 | Baz.deinit() |

View File

@@ -3,11 +3,11 @@
| var_decls.swift:10:12:10:12 | numbers | var_decls.swift:10:22:10:35 | [...] |
| var_decls.swift:34:7:34:7 | wrappedValue | var_decls.swift:34:28:34:28 | 42 |
| var_decls.swift:35:7:35:7 | projectedValue | var_decls.swift:35:31:35:31 | false |
| var_decls.swift:54:10:54:10 | _w1 | var_decls.swift:54:4:54:15 | call to init(wrappedValue:) |
| var_decls.swift:54:10:54:10 | w1 | var_decls.swift:54:4:54:15 | call to init(wrappedValue:) |
| var_decls.swift:55:24:55:24 | _w2 | var_decls.swift:55:4:55:29 | call to init(wrappedValue:) |
| var_decls.swift:55:24:55:24 | w2 | var_decls.swift:55:4:55:29 | call to init(wrappedValue:) |
| var_decls.swift:56:29:56:29 | _w3 | var_decls.swift:56:4:56:34 | call to init(wrappedValue:projectedValue:) |
| var_decls.swift:56:29:56:29 | w3 | var_decls.swift:56:4:56:34 | call to init(wrappedValue:projectedValue:) |
| var_decls.swift:57:36:57:36 | _w4 | var_decls.swift:57:4:57:41 | call to init(wrappedValue:) |
| var_decls.swift:57:36:57:36 | w4 | var_decls.swift:57:4:57:41 | call to init(wrappedValue:) |
| var_decls.swift:54:10:54:10 | _w1 | var_decls.swift:54:4:54:15 | call to X<T>.init(wrappedValue:) |
| var_decls.swift:54:10:54:10 | w1 | var_decls.swift:54:4:54:15 | call to X<T>.init(wrappedValue:) |
| var_decls.swift:55:24:55:24 | _w2 | var_decls.swift:55:4:55:29 | call to WrapperWithInit.init(wrappedValue:) |
| var_decls.swift:55:24:55:24 | w2 | var_decls.swift:55:4:55:29 | call to WrapperWithInit.init(wrappedValue:) |
| var_decls.swift:56:29:56:29 | _w3 | var_decls.swift:56:4:56:34 | call to WrapperWithProjected.init(wrappedValue:projectedValue:) |
| var_decls.swift:56:29:56:29 | w3 | var_decls.swift:56:4:56:34 | call to WrapperWithProjected.init(wrappedValue:projectedValue:) |
| var_decls.swift:57:36:57:36 | _w4 | var_decls.swift:57:4:57:41 | call to WrapperWithProjectedAndInit.init(wrappedValue:) |
| var_decls.swift:57:36:57:36 | w4 | var_decls.swift:57:4:57:41 | call to WrapperWithProjectedAndInit.init(wrappedValue:) |

View File

@@ -16,7 +16,7 @@
| enums.swift:7:1:10:1 | EnumValuesWithBase | 4 | enums.swift:9:10:9:10 | value3 |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 5 | enums.swift:9:18:9:18 | value4 |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 6 | enums.swift:9:26:9:26 | value5 |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 7 | file://:0:0:0:0 | init(rawValue:) |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 7 | file://:0:0:0:0 | EnumValuesWithBase.init(rawValue:) |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 8 | file://:0:0:0:0 | var ... = ... |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 9 | file://:0:0:0:0 | RawValue |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 10 | file://:0:0:0:0 | rawValue |

View File

@@ -1,3 +0,0 @@
| constructor_ref_calls.swift:7:9:7:9 | call to init() | hasType: | yes | getFunction: | constructor_ref_calls.swift:7:9:7:9 | init() | getNumberOfArguments: | 1 | getBase: | constructor_ref_calls.swift:7:9:7:9 | X.Type |
| constructor_ref_calls.swift:8:10:8:10 | call to init(_:) | hasType: | yes | getFunction: | constructor_ref_calls.swift:8:10:8:10 | init(_:) | getNumberOfArguments: | 1 | getBase: | constructor_ref_calls.swift:8:10:8:10 | Y.Type |
| constructor_ref_calls.swift:9:10:9:10 | call to init() | hasType: | yes | getFunction: | constructor_ref_calls.swift:9:10:9:10 | init() | getNumberOfArguments: | 1 | getBase: | constructor_ref_calls.swift:9:10:9:10 | Y.Type |

View File

@@ -1,3 +0,0 @@
| constructor_ref_calls.swift:7:9:7:9 | call to init() | 0 | constructor_ref_calls.swift:7:9:7:9 | : X.Type |
| constructor_ref_calls.swift:8:10:8:10 | call to init(_:) | 0 | constructor_ref_calls.swift:8:10:8:10 | : Y.Type |
| constructor_ref_calls.swift:9:10:9:10 | call to init() | 0 | constructor_ref_calls.swift:9:10:9:10 | : Y.Type |

View File

@@ -1,3 +0,0 @@
| constructor_ref_calls.swift:7:9:7:9 | call to init() | () -> X |
| constructor_ref_calls.swift:8:10:8:10 | call to init(_:) | (Int) -> Y |
| constructor_ref_calls.swift:9:10:9:10 | call to init() | () -> Y |

View File

@@ -1,3 +0,0 @@
| dot_syntax_call.swift:7:13:7:13 | call to ... | hasType: | yes | getFunction: | dot_syntax_call.swift:7:13:7:13 | { ... } | getNumberOfArguments: | 1 | getBase: | dot_syntax_call.swift:7:13:7:13 | self |
| dot_syntax_call.swift:15:9:15:11 | call to ... | hasType: | yes | getFunction: | dot_syntax_call.swift:15:11:15:11 | { ... } | getNumberOfArguments: | 1 | getBase: | dot_syntax_call.swift:15:9:15:9 | X.Type |
| dot_syntax_call.swift:16:9:16:13 | call to ... | hasType: | yes | getFunction: | dot_syntax_call.swift:16:13:16:13 | { ... } | getNumberOfArguments: | 1 | getBase: | dot_syntax_call.swift:16:9:16:11 | call to init() |

View File

@@ -1,3 +0,0 @@
| dot_syntax_call.swift:7:13:7:13 | call to ... | 0 | dot_syntax_call.swift:7:13:7:13 | : self |
| dot_syntax_call.swift:15:9:15:11 | call to ... | 0 | dot_syntax_call.swift:15:9:15:9 | : X.Type |
| dot_syntax_call.swift:16:9:16:13 | call to ... | 0 | dot_syntax_call.swift:16:9:16:11 | : call to init() |

View File

@@ -1,3 +0,0 @@
| dot_syntax_call.swift:7:13:7:13 | call to ... | (Int) -> () |
| dot_syntax_call.swift:15:9:15:11 | call to ... | () -> () |
| dot_syntax_call.swift:16:9:16:13 | call to ... | (Int) -> () |

View File

@@ -1,4 +1,4 @@
| file://:0:0:0:0 | .init(_:) | getBase: | file://:0:0:0:0 | UnownedSerialExecutor.Type |
| file://:0:0:0:0 | UnownedSerialExecutor.init(_:) | getBase: | file://:0:0:0:0 | UnownedSerialExecutor.Type |
| method_lookups.swift:7:13:7:13 | (no string representation) | getBase: | method_lookups.swift:7:13:7:13 | self |
| method_lookups.swift:7:13:7:13 | .baz(_:) | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:16:13:16:13 | (no string representation) | getBase: | method_lookups.swift:16:13:16:13 | self |
@@ -7,26 +7,26 @@
| method_lookups.swift:27:13:27:13 | .baz(_:) | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:32:3:32:5 | .foo(_:_:) | getBase: | method_lookups.swift:32:3:32:3 | X.Type |
| method_lookups.swift:33:3:33:5 | .bar() | getBase: | method_lookups.swift:33:3:33:3 | X.Type |
| method_lookups.swift:34:3:34:3 | .init() | getBase: | method_lookups.swift:34:3:34:3 | X.Type |
| method_lookups.swift:34:3:34:7 | .baz(_:) | getBase: | method_lookups.swift:34:3:34:5 | call to init() |
| method_lookups.swift:34:3:34:3 | X.init() | getBase: | method_lookups.swift:34:3:34:3 | X.Type |
| method_lookups.swift:34:3:34:7 | .baz(_:) | getBase: | method_lookups.swift:34:3:34:5 | call to X.init() |
| method_lookups.swift:36:11:36:13 | (no string representation) | getBase: | method_lookups.swift:36:11:36:11 | X.Type |
| method_lookups.swift:36:13:36:13 | .bar() | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:37:11:37:11 | .init() | getBase: | method_lookups.swift:37:11:37:11 | X.Type |
| method_lookups.swift:37:11:37:15 | (no string representation) | getBase: | method_lookups.swift:37:11:37:13 | call to init() |
| method_lookups.swift:37:11:37:11 | X.init() | getBase: | method_lookups.swift:37:11:37:11 | X.Type |
| method_lookups.swift:37:11:37:15 | (no string representation) | getBase: | method_lookups.swift:37:11:37:13 | call to X.init() |
| method_lookups.swift:37:15:37:15 | .baz(_:) | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:40:1:40:1 | .init(priority:operation:) | getBase: | method_lookups.swift:40:1:40:1 | Task<(), Never>.Type |
| method_lookups.swift:40:1:40:1 | Task<Success, Never>.init(priority:operation:) | getBase: | method_lookups.swift:40:1:40:1 | Task<(), Never>.Type |
| method_lookups.swift:41:3:41:5 | .foo(_:_:) | getBase: | method_lookups.swift:41:3:41:3 | Y.Type |
| method_lookups.swift:42:9:42:9 | .init() | getBase: | method_lookups.swift:42:9:42:9 | Y.Type |
| method_lookups.swift:42:9:42:13 | .baz(_:) | getBase: | method_lookups.swift:42:9:42:11 | call to init() |
| method_lookups.swift:42:9:42:9 | Y.init() | getBase: | method_lookups.swift:42:9:42:9 | Y.Type |
| method_lookups.swift:42:9:42:13 | .baz(_:) | getBase: | method_lookups.swift:42:9:42:11 | call to Y.init() |
| method_lookups.swift:44:11:44:13 | (no string representation) | getBase: | method_lookups.swift:44:11:44:11 | Y.Type |
| method_lookups.swift:44:13:44:13 | .foo(_:_:) | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:47:1:47:1 | .init(priority:operation:) | getBase: | method_lookups.swift:47:1:47:1 | Task<(), Never>.Type |
| method_lookups.swift:48:9:48:11 | (no string representation) | getBase: | method_lookups.swift:48:9:48:9 | Z.Type |
| method_lookups.swift:49:9:49:11 | (no string representation) | getBase: | method_lookups.swift:49:9:49:9 | Z.Type |
| method_lookups.swift:50:9:50:9 | (no string representation) | getBase: | method_lookups.swift:50:9:50:9 | Z.Type |
| method_lookups.swift:50:9:50:13 | (no string representation) | getBase: | method_lookups.swift:50:9:50:11 | call to ... |
| method_lookups.swift:47:1:47:1 | Task<Success, Never>.init(priority:operation:) | getBase: | method_lookups.swift:47:1:47:1 | Task<(), Never>.Type |
| method_lookups.swift:48:9:48:11 | .foo(_:_:) | getBase: | method_lookups.swift:48:9:48:9 | Z.Type |
| method_lookups.swift:49:9:49:11 | .bar() | getBase: | method_lookups.swift:49:9:49:9 | Z.Type |
| method_lookups.swift:50:9:50:9 | Z.init() | getBase: | method_lookups.swift:50:9:50:9 | Z.Type |
| method_lookups.swift:50:9:50:13 | .baz(_:) | getBase: | method_lookups.swift:50:9:50:11 | call to Z.init() |
| method_lookups.swift:52:11:52:13 | (no string representation) | getBase: | method_lookups.swift:52:11:52:11 | Z.Type |
| method_lookups.swift:52:13:52:13 | .bar() | getBase: | file://:0:0:0:0 | self |
| method_lookups.swift:53:11:53:23 | (no string representation) | getBase: | method_lookups.swift:53:18:53:20 | call to ... |
| method_lookups.swift:53:18:53:18 | (no string representation) | getBase: | method_lookups.swift:53:18:53:18 | Z.Type |
| method_lookups.swift:53:11:53:23 | (no string representation) | getBase: | method_lookups.swift:53:18:53:20 | call to Z.init() |
| method_lookups.swift:53:18:53:18 | Z.init() | getBase: | method_lookups.swift:53:18:53:18 | Z.Type |
| method_lookups.swift:53:23:53:23 | .baz(_:) | getBase: | file://:0:0:0:0 | self |

View File

@@ -1,19 +1,24 @@
| file://:0:0:0:0 | .init(_:) | file://:0:0:0:0 | init(_:) |
| file://:0:0:0:0 | UnownedSerialExecutor.init(_:) | file://:0:0:0:0 | UnownedSerialExecutor.init(_:) |
| method_lookups.swift:7:13:7:13 | .baz(_:) | method_lookups.swift:4:3:4:21 | baz(_:) |
| method_lookups.swift:16:13:16:13 | .baz(_:) | method_lookups.swift:13:3:13:21 | baz(_:) |
| method_lookups.swift:27:13:27:13 | .baz(_:) | method_lookups.swift:24:3:24:21 | baz(_:) |
| method_lookups.swift:32:3:32:5 | .foo(_:_:) | method_lookups.swift:2:3:2:35 | foo(_:_:) |
| method_lookups.swift:33:3:33:5 | .bar() | method_lookups.swift:3:3:3:21 | bar() |
| method_lookups.swift:34:3:34:3 | .init() | method_lookups.swift:6:3:8:3 | init() |
| method_lookups.swift:34:3:34:3 | X.init() | method_lookups.swift:6:3:8:3 | X.init() |
| method_lookups.swift:34:3:34:7 | .baz(_:) | method_lookups.swift:4:3:4:21 | baz(_:) |
| method_lookups.swift:36:13:36:13 | .bar() | method_lookups.swift:3:3:3:21 | bar() |
| method_lookups.swift:37:11:37:11 | .init() | method_lookups.swift:6:3:8:3 | init() |
| method_lookups.swift:37:11:37:11 | X.init() | method_lookups.swift:6:3:8:3 | X.init() |
| method_lookups.swift:37:15:37:15 | .baz(_:) | method_lookups.swift:4:3:4:21 | baz(_:) |
| method_lookups.swift:40:1:40:1 | .init(priority:operation:) | file://:0:0:0:0 | init(priority:operation:) |
| method_lookups.swift:40:1:40:1 | Task<Success, Never>.init(priority:operation:) | file://:0:0:0:0 | Task<Success, Never>.init(priority:operation:) |
| method_lookups.swift:41:3:41:5 | .foo(_:_:) | method_lookups.swift:12:3:12:35 | foo(_:_:) |
| method_lookups.swift:42:9:42:9 | .init() | method_lookups.swift:15:3:17:3 | init() |
| method_lookups.swift:42:9:42:9 | Y.init() | method_lookups.swift:15:3:17:3 | Y.init() |
| method_lookups.swift:42:9:42:13 | .baz(_:) | method_lookups.swift:13:3:13:21 | baz(_:) |
| method_lookups.swift:44:13:44:13 | .foo(_:_:) | method_lookups.swift:12:3:12:35 | foo(_:_:) |
| method_lookups.swift:47:1:47:1 | .init(priority:operation:) | file://:0:0:0:0 | init(priority:operation:) |
| method_lookups.swift:47:1:47:1 | Task<Success, Never>.init(priority:operation:) | file://:0:0:0:0 | Task<Success, Never>.init(priority:operation:) |
| method_lookups.swift:48:9:48:11 | .foo(_:_:) | method_lookups.swift:22:3:22:35 | foo(_:_:) |
| method_lookups.swift:49:9:49:11 | .bar() | method_lookups.swift:23:3:23:21 | bar() |
| method_lookups.swift:50:9:50:9 | Z.init() | method_lookups.swift:26:3:28:3 | Z.init() |
| method_lookups.swift:50:9:50:13 | .baz(_:) | method_lookups.swift:24:3:24:21 | baz(_:) |
| method_lookups.swift:52:13:52:13 | .bar() | method_lookups.swift:23:3:23:21 | bar() |
| method_lookups.swift:53:18:53:18 | Z.init() | method_lookups.swift:26:3:28:3 | Z.init() |
| method_lookups.swift:53:23:53:23 | .baz(_:) | method_lookups.swift:24:3:24:21 | baz(_:) |

View File

@@ -1,4 +1,4 @@
| file://:0:0:0:0 | .init(_:) | (Builtin.Executor) -> UnownedSerialExecutor |
| file://:0:0:0:0 | UnownedSerialExecutor.init(_:) | (Builtin.Executor) -> UnownedSerialExecutor |
| method_lookups.swift:7:13:7:13 | (no string representation) | (Int) -> () |
| method_lookups.swift:7:13:7:13 | .baz(_:) | (Int) -> () |
| method_lookups.swift:16:13:16:13 | (no string representation) | (Int) -> () |
@@ -7,26 +7,26 @@
| method_lookups.swift:27:13:27:13 | .baz(_:) | (Int) -> () |
| method_lookups.swift:32:3:32:5 | .foo(_:_:) | (Int, Int) -> () |
| method_lookups.swift:33:3:33:5 | .bar() | () -> () |
| method_lookups.swift:34:3:34:3 | .init() | () -> X |
| method_lookups.swift:34:3:34:3 | X.init() | () -> X |
| method_lookups.swift:34:3:34:7 | .baz(_:) | (Int) -> () |
| method_lookups.swift:36:11:36:13 | (no string representation) | () -> () |
| method_lookups.swift:36:13:36:13 | .bar() | () -> () |
| method_lookups.swift:37:11:37:11 | .init() | () -> X |
| method_lookups.swift:37:11:37:11 | X.init() | () -> X |
| method_lookups.swift:37:11:37:15 | (no string representation) | (Int) -> () |
| method_lookups.swift:37:15:37:15 | .baz(_:) | (Int) -> () |
| method_lookups.swift:40:1:40:1 | .init(priority:operation:) | (TaskPriority?, __owned @escaping @Sendable () async -> ()) -> Task<(), Never> |
| method_lookups.swift:40:1:40:1 | Task<Success, Never>.init(priority:operation:) | (TaskPriority?, __owned @escaping @Sendable () async -> ()) -> Task<(), Never> |
| method_lookups.swift:41:3:41:5 | .foo(_:_:) | (Int, Int) -> () |
| method_lookups.swift:42:9:42:9 | .init() | () -> Y |
| method_lookups.swift:42:9:42:9 | Y.init() | () -> Y |
| method_lookups.swift:42:9:42:13 | .baz(_:) | (Int) -> () |
| method_lookups.swift:44:11:44:13 | (no string representation) | (Int, Int) -> () |
| method_lookups.swift:44:13:44:13 | .foo(_:_:) | (Int, Int) -> () |
| method_lookups.swift:47:1:47:1 | .init(priority:operation:) | (TaskPriority?, __owned @escaping @Sendable () async -> ()) -> Task<(), Never> |
| method_lookups.swift:48:9:48:11 | (no string representation) | @MainActor (Int, Int) -> () |
| method_lookups.swift:49:9:49:11 | (no string representation) | @MainActor () -> () |
| method_lookups.swift:50:9:50:9 | (no string representation) | @MainActor () -> Z |
| method_lookups.swift:50:9:50:13 | (no string representation) | @MainActor (Int) -> () |
| method_lookups.swift:47:1:47:1 | Task<Success, Never>.init(priority:operation:) | (TaskPriority?, __owned @escaping @Sendable () async -> ()) -> Task<(), Never> |
| method_lookups.swift:48:9:48:11 | .foo(_:_:) | @MainActor (Int, Int) -> () |
| method_lookups.swift:49:9:49:11 | .bar() | @MainActor () -> () |
| method_lookups.swift:50:9:50:9 | Z.init() | @MainActor () -> Z |
| method_lookups.swift:50:9:50:13 | .baz(_:) | @MainActor (Int) -> () |
| method_lookups.swift:52:11:52:13 | (no string representation) | @MainActor () -> () |
| method_lookups.swift:52:13:52:13 | .bar() | () -> () |
| method_lookups.swift:53:11:53:23 | (no string representation) | @MainActor (Int) -> () |
| method_lookups.swift:53:18:53:18 | (no string representation) | @MainActor () -> Z |
| method_lookups.swift:53:18:53:18 | Z.init() | @MainActor () -> Z |
| method_lookups.swift:53:23:53:23 | .baz(_:) | (Int) -> () |

View File

@@ -12,17 +12,17 @@
| types.swift:3:9:3:9 | Int.Type | Int.Type |
| types.swift:3:11:3:11 | 10 | Int |
| types.swift:7:16:7:16 | X.Type | X.Type |
| types.swift:7:16:7:16 | call to init() | () -> X |
| types.swift:7:16:7:16 | init() | (X.Type) -> () -> X |
| types.swift:7:16:7:18 | call to init() | X |
| types.swift:7:16:7:16 | X.init() | () -> X |
| types.swift:7:16:7:16 | X.init() | (X.Type) -> () -> X |
| types.swift:7:16:7:18 | call to X.init() | X |
| types.swift:13:17:13:17 | C.Type | C.Type |
| types.swift:13:17:13:17 | call to init() | () -> C |
| types.swift:13:17:13:17 | init() | (C.Type) -> () -> C |
| types.swift:13:17:13:19 | call to init() | C |
| types.swift:13:17:13:17 | C.init() | () -> C |
| types.swift:13:17:13:17 | C.init() | (C.Type) -> () -> C |
| types.swift:13:17:13:19 | call to C.init() | C |
| types.swift:14:22:14:24 | C.Nested.Type | C.Nested.Type |
| types.swift:14:22:14:24 | call to init() | () -> C.Nested |
| types.swift:14:22:14:31 | call to init() | C.Nested |
| types.swift:14:24:14:24 | init() | (C.Nested.Type) -> () -> C.Nested |
| types.swift:14:22:14:24 | C.Nested.init() | () -> C.Nested |
| types.swift:14:22:14:31 | call to C.Nested.init() | C.Nested |
| types.swift:14:24:14:24 | C.Nested.init() | (C.Nested.Type) -> () -> C.Nested |
| types.swift:17:10:17:10 | x | Int |
| types.swift:17:10:17:14 | ... .+(_:_:) ... | Int |
| types.swift:17:12:17:12 | .+(_:_:) | (Int, Int) -> Int |