Swift: make ConstructorDecl's name include params

In order to distinguish overloads of the constructor and for consistency
with other function calls, `ConstructorDecl` string representation uses
the name which includes parentheses and parameter labels.

For consistency also the destructor got the same change, which means
all `DestructorDecl`s will now show as `deinit()` rather than `deinit`.
This commit is contained in:
Paolo Tranquilli
2022-08-29 16:08:34 +02:00
parent f5471e4e1a
commit 38d65d3fae
21 changed files with 335 additions and 337 deletions

View File

@@ -1,5 +1,4 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
private import codeql.swift.generated.decl.ConstructorDecl
class ConstructorDecl extends ConstructorDeclBase {
override string toString() { result = "init" }
}
class ConstructorDecl extends ConstructorDeclBase { }

View File

@@ -1,5 +1,4 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
private import codeql.swift.generated.decl.DestructorDecl
class DestructorDecl extends DestructorDeclBase {
override string toString() { result = "deinit" }
}
class DestructorDecl extends DestructorDeclBase { }

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 |
| declarations.swift:1:8:1:8 | init() |
| declarations.swift:1:8:1:8 | 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 | deinit() |
| declarations.swift:9:7:9:7 | 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 | init() |
| declarations.swift:46:3:46:3 | self |
| declarations.swift:46:3:48:3 | deinit |
| declarations.swift:46:3:48:3 | 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 | init() |
| declarations.swift:68:25:68:25 | self |
| declarations.swift:69:3:73:3 | var ... = ... |
| declarations.swift:69:7:69:7 | wrappedValue |
@@ -123,7 +123,7 @@
| 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 |
| 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 ... = ... |

View File

@@ -44,9 +44,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 | call to init() | ConstructorRefCallExpr |
| expressions.swift:27:13:27:13 | init() | DeclRefExpr |
| expressions.swift:27:13:27:19 | call to init() | CallExpr |
| expressions.swift:29:9:29:19 | [...] | DictionaryExpr |
| expressions.swift:29:10:29:10 | 1 | StringLiteralExpr |
| expressions.swift:29:10:29:16 | (...) | TupleExpr |
@@ -159,12 +159,12 @@
| expressions.swift:79:5:79:11 | call to ... | DotSyntaxCallExpr |
| expressions.swift:79:5:79:21 | call to ... | CallExpr |
| expressions.swift:79:5:79:21 | self = ... | RebindSelfInConstructorExpr |
| expressions.swift:79:11:79:11 | init | OtherConstructorDeclRefExpr |
| expressions.swift:79:11:79:11 | 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 | call to init() | ConstructorRefCallExpr |
| expressions.swift:83:15:83:15 | init() | DeclRefExpr |
| expressions.swift:83:15:83:23 | call to init() | CallExpr |
| expressions.swift:84:1:84:1 | _ | DiscardAssignmentExpr |
| expressions.swift:84:1:84:13 | ... = ... | AssignExpr |
| expressions.swift:84:5:84:5 | (Base) ... | DerivedToBaseExpr |
@@ -183,9 +183,9 @@
| expressions.swift:92:14:92:55 | call to toOpaque() | CallExpr |
| expressions.swift:92:24:92:24 | passRetained(_:) | DeclRefExpr |
| 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 | 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:46:92:46 | toOpaque() | DeclRefExpr |
| expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type | TypeExpr |
| expressions.swift:93:1:93:18 | .fromOpaque(_:) | MethodRefExpr |

View File

@@ -8,7 +8,7 @@
| expressions.swift:16:19:16:19 | failed | 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 | 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 |
@@ -41,14 +41,14 @@
| 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 | 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:24:92:24 | passRetained(_:) | OrdinarySemantics |
| expressions.swift:92:37:92:37 | init | OrdinarySemantics |
| expressions.swift:92:37:92:37 | init() | OrdinarySemantics |
| expressions.swift:92:46:92:46 | toOpaque() | OrdinarySemantics |
| expressions.swift:93:18:93:18 | fromOpaque(_:) | OrdinarySemantics |
| expressions.swift:93:29:93:29 | opaque | 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 | init() |
| class.swift:1:1:7:1 | Foo | 3 | class.swift:1:7:1:7 | 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 | 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() |

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 |
| enums.swift:7:1:10:1 | EnumValuesWithBase | 7 | file://:0:0:0:0 | 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 +1,3 @@
| constructor_ref_calls.swift:7:9:7:9 | call to init | getFunction: | constructor_ref_calls.swift:7:9:7:9 | init | getBase: | constructor_ref_calls.swift:7:9:7:9 | X.Type |
| constructor_ref_calls.swift:8:10:8:10 | call to init | getFunction: | constructor_ref_calls.swift:8:10:8:10 | init | getBase: | constructor_ref_calls.swift:8:10:8:10 | Y.Type |
| constructor_ref_calls.swift:9:10:9:10 | call to init | getFunction: | constructor_ref_calls.swift:9:10:9:10 | init | getBase: | constructor_ref_calls.swift:9:10:9:10 | Y.Type |
| constructor_ref_calls.swift:7:9:7:9 | call to init() | getFunction: | constructor_ref_calls.swift:7:9:7:9 | init() | getBase: | constructor_ref_calls.swift:7:9:7:9 | X.Type |
| constructor_ref_calls.swift:8:10:8:10 | call to init(_:) | getFunction: | constructor_ref_calls.swift:8:10:8:10 | init(_:) | getBase: | constructor_ref_calls.swift:8:10:8:10 | Y.Type |
| constructor_ref_calls.swift:9:10:9:10 | call to init() | getFunction: | constructor_ref_calls.swift:9:10:9:10 | init() | getBase: | constructor_ref_calls.swift:9:10:9:10 | Y.Type |

View File

@@ -1,3 +1,3 @@
| 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 |
| 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 +1,3 @@
| 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 |
| 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 +1,3 @@
| dot_syntax_call.swift:7:13:7:13 | call to ... | getFunction: | dot_syntax_call.swift:7:13:7:13 | { ... } | getBase: | dot_syntax_call.swift:7:13:7:13 | self |
| dot_syntax_call.swift:15:9:15:11 | call to ... | getFunction: | dot_syntax_call.swift:15:11:15:11 | { ... } | getBase: | dot_syntax_call.swift:15:9:15:9 | X.Type |
| dot_syntax_call.swift:16:9:16:13 | call to ... | getFunction: | dot_syntax_call.swift:16:13:16:13 | { ... } | getBase: | dot_syntax_call.swift:16:9:16:11 | call to init |
| dot_syntax_call.swift:16:9:16:13 | call to ... | getFunction: | dot_syntax_call.swift:16:13:16:13 | { ... } | getBase: | dot_syntax_call.swift:16:9:16:11 | call to init() |

View File

@@ -1,3 +1,3 @@
| 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 |
| dot_syntax_call.swift:16:9:16:13 | call to ... | 0 | dot_syntax_call.swift:16:9:16:11 | : call to init() |

View File

@@ -7,4 +7,4 @@
| enum_is_case.swift:21:1:21:5 | ... is some | getSubExpr: | enum_is_case.swift:21:1:21:5 | [...] | getElement: | file://:0:0:0:0 | some |
| enum_is_case.swift:22:1:22:10 | ... is some | getSubExpr: | enum_is_case.swift:22:1:22:10 | [...] | getElement: | file://:0:0:0:0 | some |
| enum_is_case.swift:23:1:23:10 | ... is some | getSubExpr: | enum_is_case.swift:23:1:23:10 | [...] | getElement: | file://:0:0:0:0 | some |
| enum_is_case.swift:24:1:24:8 | ... is some | getSubExpr: | enum_is_case.swift:24:1:24:8 | call to init | getElement: | file://:0:0:0:0 | some |
| enum_is_case.swift:24:1:24:8 | ... is some | getSubExpr: | enum_is_case.swift:24:1:24:8 | call to init() | getElement: | file://:0:0:0:0 | some |

View File

@@ -1,6 +1,6 @@
| method_refs.swift:7:13:7:13 | .baz(_:) | getBase: | file://:0:0:0:0 | self |
| method_refs.swift:11:1:11:3 | .foo(_:_:) | getBase: | method_refs.swift:11:1:11:1 | X.Type |
| method_refs.swift:12:1:12:3 | .bar() | getBase: | method_refs.swift:12:1:12:1 | X.Type |
| method_refs.swift:13:1:13:5 | .baz(_:) | getBase: | method_refs.swift:13:1:13:3 | call to init |
| method_refs.swift:13:1:13:5 | .baz(_:) | getBase: | method_refs.swift:13:1:13:3 | call to init() |
| method_refs.swift:15:11:15:11 | .bar() | getBase: | file://:0:0:0:0 | self |
| method_refs.swift:16:13:16:13 | .baz(_:) | getBase: | file://:0:0:0:0 | self |

View File

@@ -13,17 +13,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 | 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: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 | 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: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 | 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:17:10:17:10 | x | Int |
| types.swift:17:10:17:14 | ... .+(_:_:) ... | Int |
| types.swift:17:12:17:12 | +(_:_:) | (Int.Type) -> (Int, Int) -> Int |

View File

@@ -683,22 +683,22 @@ cfg.swift:
#-----| match -> ... as ...
# 71| ... as ...
#-----| match -> init
#-----| match -> init(_:)
# 71| Int.Type
#-----| -> call to init
#-----| -> call to init(_:)
# 71| call to init
# 71| call to init(_:)
#-----| -> s
# 71| init
# 71| init(_:)
#-----| -> Int.Type
# 71| call to init
# 71| call to init(_:)
#-----| -> var ... = ...
# 71| s
#-----| -> call to init
#-----| -> call to init(_:)
# 72| return ...
#-----| return -> exit maybeParseInt(s:) (normal)
@@ -948,22 +948,22 @@ cfg.swift:
# 95| ...!
#-----| -> ... .+(_:_:) ...
# 98| deinit
# 98| deinit()
#-----| -> self
# 98| enter deinit
#-----| -> deinit
# 98| enter deinit()
#-----| -> deinit()
# 98| exit deinit
# 98| exit deinit()
# 98| exit deinit (normal)
#-----| -> exit deinit
# 98| exit deinit() (normal)
#-----| -> exit deinit()
# 98| self
#-----| -> { ... }
# 98| { ... }
#-----| -> exit deinit (normal)
#-----| -> exit deinit() (normal)
# 99| enter get
#-----| -> get
@@ -981,15 +981,15 @@ cfg.swift:
# 100| self
#-----| -> n
# 100| enter init
#-----| -> init
# 100| enter init(n:)
#-----| -> init(n:)
# 100| exit init
# 100| exit init(n:)
# 100| exit init (normal)
#-----| -> exit init
# 100| exit init(n:) (normal)
#-----| -> exit init(n:)
# 100| init
# 100| init(n:)
#-----| -> self
# 100| n
@@ -1008,7 +1008,7 @@ cfg.swift:
#-----| -> ... = ...
# 102| return
#-----| return -> exit init (normal)
#-----| return -> exit init(n:) (normal)
# 104| enter getMyInt()
#-----| -> getMyInt()
@@ -1060,22 +1060,22 @@ cfg.swift:
#-----| -> n1
# 110| c
#-----| match -> init
#-----| match -> init(n:)
# 110| C.Type
#-----| -> call to init
#-----| -> call to init(n:)
# 110| call to init
# 110| call to init(n:)
#-----| -> 42
# 110| init
# 110| init(n:)
#-----| -> C.Type
# 110| call to init
# 110| call to init(n:)
#-----| -> var ... = ...
# 110| 42
#-----| -> call to init
#-----| -> call to init(n:)
# 111| var ... = ...
#-----| -> n1
@@ -4689,22 +4689,22 @@ cfg.swift:
# 348| 1
#-----| -> ... .+=(_:_:) ...
# 352| deinit
# 352| deinit()
#-----| -> self
# 352| enter deinit
#-----| -> deinit
# 352| enter deinit()
#-----| -> deinit()
# 352| exit deinit
# 352| exit deinit()
# 352| exit deinit (normal)
#-----| -> exit deinit
# 352| exit deinit() (normal)
#-----| -> exit deinit()
# 352| self
#-----| -> { ... }
# 352| { ... }
#-----| -> exit deinit (normal)
#-----| -> exit deinit() (normal)
# 353| enter get
#-----| -> get
@@ -4722,15 +4722,15 @@ cfg.swift:
# 354| self
#-----| -> arg
# 354| enter init
#-----| -> init
# 354| enter init(arg:)
#-----| -> init(arg:)
# 354| exit init
# 354| exit init(arg:)
# 354| exit init (normal)
#-----| -> exit init
# 354| exit init(arg:) (normal)
#-----| -> exit init(arg:)
# 354| init
# 354| init(arg:)
#-----| -> self
# 354| arg
@@ -4749,7 +4749,7 @@ cfg.swift:
#-----| -> ... = ...
# 356| return
#-----| return -> exit init (normal)
#-----| return -> exit init(arg:) (normal)
# 358| enter getOptional()
#-----| -> getOptional()
@@ -4988,48 +4988,48 @@ cfg.swift:
# 377| cfg.Derived
#-----| -> #...
# 377| deinit
# 377| deinit()
#-----| -> self
# 377| enter deinit
#-----| -> deinit
# 377| enter deinit()
#-----| -> deinit()
# 377| exit deinit
# 377| exit deinit()
# 377| exit deinit (normal)
#-----| -> exit deinit
# 377| exit deinit() (normal)
#-----| -> exit deinit()
# 377| self
#-----| -> { ... }
# 377| { ... }
#-----| -> exit deinit (normal)
#-----| -> exit deinit() (normal)
# 377| enter init
#-----| -> init
# 377| enter init(n:)
#-----| -> init(n:)
# 377| exit init
# 377| exit init(n:)
# 377| exit init (normal)
#-----| -> exit init
# 377| exit init(n:) (normal)
#-----| -> exit init(n:)
# 377| init
# 377| init(n:)
#-----| -> self
# 377| self
# 378| self
#-----| -> init
#-----| -> init(n:)
# 378| enter init
#-----| -> init
# 378| enter init()
#-----| -> init()
# 378| exit init
# 378| exit init()
# 378| exit init (normal)
#-----| -> exit init
# 378| exit init() (normal)
#-----| -> exit init()
# 378| init
# 378| init()
#-----| -> self
# 379| super
@@ -5044,14 +5044,14 @@ cfg.swift:
# 379| self = ...
#-----| -> return
# 379| init
# 379| init(n:)
#-----| -> super
# 379| 0
#-----| -> call to ...
# 380| return
#-----| return -> exit init (normal)
#-----| return -> exit init() (normal)
# 383| doWithoutCatch(x:)
#-----| -> x
@@ -5198,15 +5198,15 @@ cfg.swift:
# 395| self
#-----| -> self
# 395| enter init
#-----| -> init
# 395| enter init()
#-----| -> init()
# 395| exit init
# 395| exit init()
# 395| exit init (normal)
#-----| -> exit init
# 395| exit init() (normal)
#-----| -> exit init()
# 395| init
# 395| init()
#-----| -> self
# 396| .field
@@ -5222,21 +5222,21 @@ cfg.swift:
#-----| -> ... = ...
# 397| return
#-----| return -> exit init (normal)
#-----| return -> exit init() (normal)
# 399| self
#-----| -> self
# 399| deinit
# 399| deinit()
#-----| -> self
# 399| enter deinit
#-----| -> deinit
# 399| enter deinit()
#-----| -> deinit()
# 399| exit deinit
# 399| exit deinit()
# 399| exit deinit (normal)
#-----| -> exit deinit
# 399| exit deinit() (normal)
#-----| -> exit deinit()
# 400| .field
#-----| -> 0
@@ -5245,7 +5245,7 @@ cfg.swift:
#-----| -> .field
# 400| ... = ...
#-----| -> exit deinit (normal)
#-----| -> exit deinit() (normal)
# 400| 0
#-----| -> ... = ...
@@ -5305,22 +5305,22 @@ cfg.swift:
# 409| MyLocalClass
#-----| -> MyLocalStruct
# 409| deinit
# 409| deinit()
#-----| -> self
# 409| enter deinit
#-----| -> deinit
# 409| enter deinit()
#-----| -> deinit()
# 409| exit deinit
# 409| exit deinit()
# 409| exit deinit (normal)
#-----| -> exit deinit
# 409| exit deinit() (normal)
#-----| -> exit deinit()
# 409| self
#-----| -> { ... }
# 409| { ... }
#-----| -> exit deinit (normal)
#-----| -> exit deinit() (normal)
# 410| (unnamed function decl)
#-----| -> self
@@ -5370,15 +5370,15 @@ cfg.swift:
# 411| self
#-----| -> self
# 411| enter init
#-----| -> init
# 411| enter init()
#-----| -> init()
# 411| exit init
# 411| exit init()
# 411| exit init (normal)
#-----| -> exit init
# 411| exit init() (normal)
#-----| -> exit init()
# 411| init
# 411| init()
#-----| -> self
# 412| .x
@@ -5394,7 +5394,7 @@ cfg.swift:
#-----| -> ... = ...
# 413| return
#-----| return -> exit init (normal)
#-----| return -> exit init() (normal)
# 416| MyLocalStruct
#-----| -> MyLocalEnum
@@ -5447,15 +5447,15 @@ cfg.swift:
# 418| self
#-----| -> self
# 418| enter init
#-----| -> init
# 418| enter init()
#-----| -> init()
# 418| exit init
# 418| exit init()
# 418| exit init (normal)
#-----| -> exit init
# 418| exit init() (normal)
#-----| -> exit init()
# 418| init
# 418| init()
#-----| -> self
# 419| .x
@@ -5471,7 +5471,7 @@ cfg.swift:
#-----| -> ... = ...
# 420| return
#-----| return -> exit init (normal)
#-----| return -> exit init() (normal)
# 423| MyLocalEnum
#-----| -> myLocalVar

View File

@@ -106,7 +106,7 @@
| test.swift:169:12:169:22 | value | test.swift:170:9:170:9 | value |
| test.swift:173:8:173:8 | self | test.swift:174:12:174:12 | self |
| test.swift:179:7:179:7 | WriteDef | test.swift:180:3:180:3 | a |
| test.swift:179:11:179:13 | call to init | test.swift:179:7:179:7 | WriteDef |
| test.swift:179:11:179:13 | call to init() | test.swift:179:7:179:7 | WriteDef |
| test.swift:180:3:180:3 | a | test.swift:181:13:181:13 | a |
| test.swift:185:7:185:7 | self | file://:0:0:0:0 | self |
| test.swift:185:7:185:7 | self | file://:0:0:0:0 | self |
@@ -114,23 +114,23 @@
| test.swift:185:7:185:7 | value | file://:0:0:0:0 | value |
| test.swift:187:3:187:3 | self | test.swift:188:5:188:5 | self |
| test.swift:193:7:193:7 | WriteDef | test.swift:194:3:194:3 | b |
| test.swift:193:11:193:13 | call to init | test.swift:193:7:193:7 | WriteDef |
| test.swift:193:11:193:13 | call to init() | test.swift:193:7:193:7 | WriteDef |
| test.swift:194:3:194:3 | b | test.swift:195:13:195:13 | b |
| test.swift:199:7:199:7 | WriteDef | test.swift:200:3:200:3 | a |
| test.swift:199:11:199:13 | call to init | test.swift:199:7:199:7 | WriteDef |
| test.swift:199:11:199:13 | call to init() | test.swift:199:7:199:7 | WriteDef |
| test.swift:200:3:200:3 | a | test.swift:201:13:201:13 | a |
| test.swift:205:7:205:7 | WriteDef | test.swift:206:3:206:3 | a |
| test.swift:205:11:205:13 | call to init | test.swift:205:7:205:7 | WriteDef |
| test.swift:205:11:205:13 | call to init() | test.swift:205:7:205:7 | WriteDef |
| test.swift:206:3:206:3 | a | test.swift:207:13:207:13 | a |
| test.swift:211:7:211:7 | WriteDef | test.swift:212:3:212:3 | a |
| test.swift:211:11:211:13 | call to init | test.swift:211:7:211:7 | WriteDef |
| test.swift:211:11:211:13 | call to init() | test.swift:211:7:211:7 | WriteDef |
| test.swift:212:3:212:3 | a | test.swift:213:13:213:13 | a |
| test.swift:217:7:217:7 | WriteDef | test.swift:218:3:218:3 | b |
| test.swift:217:11:217:13 | call to init | test.swift:217:7:217:7 | WriteDef |
| test.swift:217:11:217:13 | call to init() | test.swift:217:7:217:7 | WriteDef |
| test.swift:218:3:218:3 | b | test.swift:219:13:219:13 | b |
| test.swift:223:7:223:7 | self | file://:0:0:0:0 | self |
| test.swift:234:7:234:7 | WriteDef | test.swift:235:13:235:13 | a |
| test.swift:234:11:234:31 | call to init | test.swift:234:7:234:7 | WriteDef |
| test.swift:234:11:234:31 | call to init() | test.swift:234:7:234:7 | WriteDef |
| test.swift:235:13:235:13 | a | test.swift:237:3:237:3 | a |
| test.swift:237:3:237:3 | a | test.swift:238:13:238:13 | a |
| test.swift:242:9:242:9 | self | file://:0:0:0:0 | self |

View File

@@ -1,9 +1,9 @@
| data.swift:12:6:12:6 | WriteDef | data.swift:16:12:16:12 | dataClean |
| data.swift:12:18:12:36 | call to init | data.swift:12:6:12:6 | WriteDef |
| data.swift:12:18:12:36 | call to init(_:) | data.swift:12:6:12:6 | WriteDef |
| data.swift:13:6:13:6 | WriteDef | data.swift:14:26:14:26 | dataTainted |
| data.swift:13:20:13:38 | call to init | data.swift:13:6:13:6 | WriteDef |
| data.swift:13:20:13:38 | call to init(_:) | data.swift:13:6:13:6 | WriteDef |
| data.swift:14:6:14:6 | WriteDef | data.swift:18:12:18:12 | dataTainted2 |
| data.swift:14:21:14:37 | call to init | data.swift:14:6:14:6 | WriteDef |
| data.swift:14:21:14:37 | call to init(_:) | data.swift:14:6:14:6 | WriteDef |
| data.swift:14:26:14:26 | dataTainted | data.swift:17:12:17:12 | dataTainted |
| data.swift:16:12:16:12 | dataClean | data.swift:20:33:20:33 | dataClean |
| string.swift:5:7:5:7 | WriteDef | string.swift:7:16:7:16 | x |
@@ -161,28 +161,28 @@
| url.swift:13:6:13:6 | WriteDef | url.swift:15:31:15:31 | tainted |
| url.swift:13:16:13:23 | call to source() | url.swift:13:6:13:6 | WriteDef |
| url.swift:14:6:14:6 | WriteDef | url.swift:17:12:17:12 | urlClean |
| url.swift:14:17:14:34 | call to init | url.swift:14:17:14:35 | ...! |
| url.swift:14:17:14:34 | call to init(string:) | url.swift:14:17:14:35 | ...! |
| url.swift:14:17:14:35 | ...! | url.swift:14:6:14:6 | WriteDef |
| url.swift:14:29:14:29 | clean | url.swift:20:24:20:24 | clean |
| url.swift:15:6:15:6 | WriteDef | url.swift:18:12:18:12 | urlTainted |
| url.swift:15:19:15:38 | call to init | url.swift:15:19:15:39 | ...! |
| url.swift:15:19:15:38 | call to init(string:) | url.swift:15:19:15:39 | ...! |
| url.swift:15:19:15:39 | ...! | url.swift:15:6:15:6 | WriteDef |
| url.swift:15:31:15:31 | tainted | url.swift:21:24:21:24 | tainted |
| url.swift:17:12:17:12 | urlClean | url.swift:22:43:22:43 | urlClean |
| url.swift:18:12:18:12 | urlTainted | url.swift:23:43:23:43 | urlTainted |
| url.swift:20:12:20:46 | call to init | url.swift:20:12:20:47 | ...! |
| url.swift:20:12:20:46 | call to init(string:relativeTo:) | url.swift:20:12:20:47 | ...! |
| url.swift:20:24:20:24 | clean | url.swift:22:24:22:24 | clean |
| url.swift:21:12:21:48 | call to init | url.swift:21:12:21:49 | ...! |
| url.swift:21:12:21:48 | call to init(string:relativeTo:) | url.swift:21:12:21:49 | ...! |
| url.swift:21:24:21:24 | tainted | url.swift:29:25:29:25 | tainted |
| url.swift:22:12:22:51 | call to init | url.swift:22:12:22:52 | ...! |
| url.swift:22:12:22:51 | call to init(string:relativeTo:) | url.swift:22:12:22:52 | ...! |
| url.swift:22:24:22:24 | clean | url.swift:23:24:23:24 | clean |
| url.swift:23:12:23:53 | call to init | url.swift:23:12:23:54 | ...! |
| url.swift:23:12:23:53 | call to init(string:relativeTo:) | url.swift:23:12:23:54 | ...! |
| url.swift:23:24:23:24 | clean | url.swift:25:25:25:25 | clean |
| url.swift:25:25:25:25 | clean | url.swift:34:26:34:26 | clean |
| url.swift:29:25:29:25 | tainted | url.swift:38:28:38:28 | tainted |
| url.swift:34:2:34:31 | WriteDef | url.swift:35:12:35:12 | urlClean2 |
| url.swift:34:14:34:31 | call to init | url.swift:34:2:34:31 | WriteDef |
| url.swift:34:14:34:31 | call to init(string:) | url.swift:34:2:34:31 | WriteDef |
| url.swift:35:12:35:12 | urlClean2 | url.swift:35:12:35:12 | ...! |
| url.swift:38:2:38:35 | WriteDef | url.swift:39:12:39:12 | urlTainted2 |
| url.swift:38:16:38:35 | call to init | url.swift:38:2:38:35 | WriteDef |
| url.swift:38:16:38:35 | call to init(string:) | url.swift:38:2:38:35 | WriteDef |
| url.swift:39:12:39:12 | urlTainted2 | url.swift:39:12:39:12 | ...! |

View File

@@ -1,7 +1,7 @@
| declarations.swift:1:8:1:8 | init | 0 | getImmediateSelfParam() | declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | init | 0 | getImmediateSelfParam() | declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | init | 1 | getImmediateBody() | declarations.swift:1:8:1:8 | { ... } |
| declarations.swift:1:8:1:8 | init | 1 | getImmediateParam(0) | declarations.swift:1:8:1:8 | x |
| declarations.swift:1:8:1:8 | init() | 0 | getImmediateSelfParam() | declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | init() | 1 | getImmediateBody() | declarations.swift:1:8:1:8 | { ... } |
| declarations.swift:1:8:1:8 | init(x:) | 0 | getImmediateSelfParam() | declarations.swift:1:8:1:8 | self |
| declarations.swift:1:8:1:8 | init(x:) | 1 | getImmediateParam(0) | declarations.swift:1:8:1:8 | x |
| declarations.swift:1:8:1:8 | { ... } | 0 | getImmediateElement(0) | declarations.swift:1:8:1:8 | return |
| declarations.swift:2:3:2:11 | var ... = ... | 0 | getImmediateInit(0) | declarations.swift:2:11:2:11 | 11 |
| declarations.swift:2:3:2:11 | var ... = ... | 1 | getImmediatePattern(0) | declarations.swift:2:7:2:7 | x |
@@ -47,10 +47,10 @@
| declarations.swift:5:25:5:36 | ... .-(_:_:) ... | 0 | getImmediateFunction() | declarations.swift:5:34:5:34 | .-(_:_:) |
| declarations.swift:5:34:5:34 | .-(_:_:) | 0 | getImmediateBase() | declarations.swift:5:34:5:34 | Int.Type |
| declarations.swift:5:34:5:34 | Int.Type | 0 | getImmediateTypeRepr() | declarations.swift:5:34:5:34 | Int |
| declarations.swift:9:7:9:7 | deinit | 0 | getImmediateSelfParam() | declarations.swift:9:7:9:7 | self |
| declarations.swift:9:7:9:7 | deinit | 1 | getImmediateBody() | declarations.swift:9:7:9:7 | { ... } |
| declarations.swift:9:7:9:7 | init | 0 | getImmediateSelfParam() | declarations.swift:9:7:9:7 | self |
| declarations.swift:9:7:9:7 | init | 1 | getImmediateBody() | declarations.swift:9:7:9:7 | { ... } |
| declarations.swift:9:7:9:7 | deinit() | 0 | getImmediateSelfParam() | declarations.swift:9:7:9:7 | self |
| declarations.swift:9:7:9:7 | deinit() | 1 | getImmediateBody() | declarations.swift:9:7:9:7 | { ... } |
| declarations.swift:9:7:9:7 | init() | 0 | getImmediateSelfParam() | declarations.swift:9:7:9:7 | self |
| declarations.swift:9:7:9:7 | init() | 1 | getImmediateBody() | declarations.swift:9:7:9:7 | { ... } |
| declarations.swift:9:7:9:7 | { ... } | 0 | getImmediateElement(0) | declarations.swift:9:7:9:7 | return |
| declarations.swift:9:13:9:30 | var ... = ... | 0 | getImmediateInit(0) | declarations.swift:9:30:9:30 | 1.3 |
| declarations.swift:9:13:9:30 | var ... = ... | 1 | getImmediatePattern(0) | declarations.swift:9:17:9:21 | ... as ... |
@@ -140,15 +140,15 @@
| declarations.swift:41:7:41:7 | { ... } | 0 | getImmediateElement(0) | file://:0:0:0:0 | return ... |
| declarations.swift:41:7:41:14 | ... as ... | 0 | getImmediateSubPattern() | declarations.swift:41:7:41:7 | field |
| declarations.swift:41:7:41:14 | ... as ... | 1 | getImmediateTypeRepr() | declarations.swift:41:14:41:14 | Int |
| declarations.swift:42:3:44:3 | init | 0 | getImmediateSelfParam() | declarations.swift:42:3:42:3 | self |
| declarations.swift:42:3:44:3 | init | 1 | getImmediateBody() | declarations.swift:42:10:44:3 | { ... } |
| declarations.swift:42:3:44:3 | init() | 0 | getImmediateSelfParam() | declarations.swift:42:3:42:3 | self |
| declarations.swift:42:3:44:3 | init() | 1 | getImmediateBody() | declarations.swift:42:10:44:3 | { ... } |
| declarations.swift:42:10:44:3 | { ... } | 0 | getImmediateElement(0) | declarations.swift:43:5:43:13 | ... = ... |
| declarations.swift:42:10:44:3 | { ... } | 1 | getImmediateElement(1) | declarations.swift:44:3:44:3 | return |
| declarations.swift:43:5:43:5 | .field | 0 | getImmediateBase() | declarations.swift:43:5:43:5 | self |
| declarations.swift:43:5:43:13 | ... = ... | 0 | getImmediateDest() | declarations.swift:43:5:43:5 | .field |
| declarations.swift:43:5:43:13 | ... = ... | 1 | getImmediateSource() | declarations.swift:43:13:43:13 | 10 |
| declarations.swift:46:3:48:3 | deinit | 0 | getImmediateSelfParam() | declarations.swift:46:3:46:3 | self |
| declarations.swift:46:3:48:3 | deinit | 1 | getImmediateBody() | declarations.swift:46:10:48:3 | { ... } |
| declarations.swift:46:3:48:3 | deinit() | 0 | getImmediateSelfParam() | declarations.swift:46:3:46:3 | self |
| declarations.swift:46:3:48:3 | deinit() | 1 | getImmediateBody() | declarations.swift:46:10:48:3 | { ... } |
| declarations.swift:46:10:48:3 | { ... } | 0 | getImmediateElement(0) | declarations.swift:47:5:47:13 | ... = ... |
| declarations.swift:47:5:47:5 | .field | 0 | getImmediateBase() | declarations.swift:47:5:47:5 | self |
| declarations.swift:47:5:47:13 | ... = ... | 0 | getImmediateDest() | declarations.swift:47:5:47:5 | .field |
@@ -158,8 +158,8 @@
| declarations.swift:50:3:52:3 | +-(_:) | 2 | getImmediateBody() | declarations.swift:50:45:52:3 | { ... } |
| declarations.swift:50:45:52:3 | { ... } | 0 | getImmediateElement(0) | declarations.swift:51:5:51:12 | return ... |
| declarations.swift:51:5:51:12 | return ... | 0 | getImmediateResult() | declarations.swift:51:12:51:12 | other |
| declarations.swift:68:25:68:25 | init | 0 | getImmediateSelfParam() | declarations.swift:68:25:68:25 | self |
| declarations.swift:68:25:68:25 | init | 1 | getImmediateBody() | declarations.swift:68:25:68:25 | { ... } |
| declarations.swift:68:25:68:25 | init() | 0 | getImmediateSelfParam() | declarations.swift:68:25:68:25 | self |
| declarations.swift:68:25:68:25 | init() | 1 | getImmediateBody() | declarations.swift:68:25:68:25 | { ... } |
| declarations.swift:68:25:68:25 | { ... } | 0 | getImmediateElement(0) | declarations.swift:68:25:68:25 | return |
| declarations.swift:69:3:73:3 | var ... = ... | 0 | getImmediatePattern(0) | declarations.swift:69:7:69:21 | ... as ... |
| declarations.swift:69:7:69:7 | wrappedValue | 0 | getImmediateAccessorDecl(0) | declarations.swift:70:5:72:5 | get |
@@ -174,9 +174,9 @@
| declarations.swift:76:19:79:1 | { ... } | 1 | getImmediateElement(1) | declarations.swift:77:20:77:20 | x |
| declarations.swift:76:19:79:1 | { ... } | 2 | getImmediateElement(2) | declarations.swift:78:3:78:10 | return ... |
| declarations.swift:77:4:77:4 | ZeroWrapper.Type | 0 | getImmediateTypeRepr() | declarations.swift:77:4:77:4 | ZeroWrapper |
| declarations.swift:77:4:77:4 | call to init | 0 | getImmediateFunction() | declarations.swift:77:4:77:4 | call to init |
| declarations.swift:77:4:77:4 | call to init | 0 | getImmediateFunction() | declarations.swift:77:4:77:4 | init |
| declarations.swift:77:4:77:4 | call to init | 2 | getImmediateBase() | declarations.swift:77:4:77:4 | ZeroWrapper.Type |
| declarations.swift:77:4:77:4 | call to init() | 0 | getImmediateFunction() | declarations.swift:77:4:77:4 | call to init() |
| declarations.swift:77:4:77:4 | call to init() | 0 | getImmediateFunction() | declarations.swift:77:4:77:4 | init() |
| declarations.swift:77:4:77:4 | call to init() | 2 | getImmediateBase() | declarations.swift:77:4:77:4 | ZeroWrapper.Type |
| declarations.swift:77:16:77:23 | var ... = ... | 0 | getImmediatePattern(0) | declarations.swift:77:20:77:23 | ... as ... |
| declarations.swift:77:20:77:20 | ... as ... | 0 | getImmediateSubPattern() | declarations.swift:77:20:77:20 | _x |
| declarations.swift:77:20:77:20 | get | 1 | getImmediateBody() | declarations.swift:77:20:77:20 | { ... } |
@@ -185,13 +185,13 @@
| declarations.swift:77:20:77:23 | ... as ... | 0 | getImmediateSubPattern() | declarations.swift:77:20:77:20 | x |
| declarations.swift:77:20:77:23 | ... as ... | 1 | getImmediateTypeRepr() | declarations.swift:77:23:77:23 | Int |
| declarations.swift:78:3:78:10 | return ... | 0 | getImmediateResult() | declarations.swift:78:10:78:10 | x |
| declarations.swift:81:8:81:8 | init | 0 | getImmediateSelfParam() | declarations.swift:81:8:81:8 | self |
| declarations.swift:81:8:81:8 | init | 1 | getImmediateParam(0) | declarations.swift:81:8:81:8 | normalField |
| declarations.swift:81:8:81:8 | init | 2 | getImmediateParam(1) | declarations.swift:81:8:81:8 | hasWillSet1 |
| declarations.swift:81:8:81:8 | init | 3 | getImmediateParam(2) | declarations.swift:81:8:81:8 | hasWillSet2 |
| declarations.swift:81:8:81:8 | init | 4 | getImmediateParam(3) | declarations.swift:81:8:81:8 | hasDidSet1 |
| declarations.swift:81:8:81:8 | init | 5 | getImmediateParam(4) | declarations.swift:81:8:81:8 | hasDidSet2 |
| declarations.swift:81:8:81:8 | init | 6 | getImmediateParam(5) | declarations.swift:81:8:81:8 | hasBoth |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 0 | getImmediateSelfParam() | declarations.swift:81:8:81:8 | self |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 1 | getImmediateParam(0) | declarations.swift:81:8:81:8 | normalField |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 2 | getImmediateParam(1) | declarations.swift:81:8:81:8 | hasWillSet1 |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 3 | getImmediateParam(2) | declarations.swift:81:8:81:8 | hasWillSet2 |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 4 | getImmediateParam(3) | declarations.swift:81:8:81:8 | hasDidSet1 |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 5 | getImmediateParam(4) | declarations.swift:81:8:81:8 | hasDidSet2 |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | 6 | getImmediateParam(5) | declarations.swift:81:8:81:8 | hasBoth |
| declarations.swift:82:3:87:3 | var ... = ... | 0 | getImmediatePattern(0) | declarations.swift:82:7:82:22 | ... as ... |
| declarations.swift:82:7:82:7 | (unnamed function decl) | 0 | getImmediateSelfParam() | declarations.swift:82:7:82:7 | self |
| declarations.swift:82:7:82:7 | (unnamed function decl) | 1 | getImmediateBody() | declarations.swift:82:7:82:7 | { ... } |
@@ -468,19 +468,19 @@
| expressions.swift:21:1:21:16 | { ... } | 0 | getImmediateElement(0) | expressions.swift:21:1:21:16 | try? ... |
| expressions.swift:21:6:21:16 | (()?) ... | 0 | getImmediateSubExpr() | expressions.swift:21:6:21:16 | call to failure(_:) |
| expressions.swift:21:6:21:16 | call to failure(_:) | 0 | getImmediateFunction() | expressions.swift:21:6:21:6 | failure(_:) |
| expressions.swift:23:7:23:7 | deinit | 0 | getImmediateSelfParam() | expressions.swift:23:7:23:7 | self |
| expressions.swift:23:7:23:7 | deinit | 1 | getImmediateBody() | expressions.swift:23:7:23:7 | { ... } |
| expressions.swift:24:3:24:11 | init | 0 | getImmediateSelfParam() | expressions.swift:24:3:24:3 | self |
| expressions.swift:24:3:24:11 | init | 1 | getImmediateBody() | expressions.swift:24:10:24:11 | { ... } |
| expressions.swift:23:7:23:7 | deinit() | 0 | getImmediateSelfParam() | expressions.swift:23:7:23:7 | self |
| expressions.swift:23:7:23:7 | deinit() | 1 | getImmediateBody() | expressions.swift:23:7:23:7 | { ... } |
| expressions.swift:24:3:24:11 | init() | 0 | getImmediateSelfParam() | expressions.swift:24:3:24:3 | self |
| expressions.swift:24:3:24:11 | init() | 1 | getImmediateBody() | expressions.swift:24:10:24:11 | { ... } |
| expressions.swift:24:10:24:11 | { ... } | 0 | getImmediateElement(0) | expressions.swift:24:11:24:11 | return |
| expressions.swift:27:1:27:19 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:27:13:27:19 | call to init |
| expressions.swift:27:1:27:19 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:27:13:27:19 | call to init() |
| expressions.swift:27:1:27:19 | var ... = ... | 1 | getImmediatePattern(0) | expressions.swift:27:5:27:5 | klass |
| expressions.swift:27:1:27:19 | { ... } | 0 | getImmediateBody() | expressions.swift:27:1:27:19 | { ... } |
| expressions.swift:27:1:27:19 | { ... } | 0 | getImmediateElement(0) | expressions.swift:27:1:27:19 | var ... = ... |
| expressions.swift:27:13:27:13 | Klass.Type | 0 | getImmediateTypeRepr() | expressions.swift:27:13:27:13 | Klass |
| expressions.swift:27:13:27:13 | call to init | 0 | getImmediateFunction() | expressions.swift:27:13:27:13 | init |
| expressions.swift:27:13:27:13 | call to init | 2 | getImmediateBase() | expressions.swift:27:13:27:13 | Klass.Type |
| expressions.swift:27:13:27:19 | call to init | 0 | getImmediateFunction() | expressions.swift:27:13:27:13 | call to init |
| expressions.swift:27:13:27:13 | call to init() | 0 | getImmediateFunction() | expressions.swift:27:13:27:13 | init() |
| expressions.swift:27:13:27:13 | call to init() | 2 | getImmediateBase() | expressions.swift:27:13:27:13 | Klass.Type |
| expressions.swift:27:13:27:19 | call to init() | 0 | getImmediateFunction() | expressions.swift:27:13:27:13 | call to init() |
| expressions.swift:29:1:29:19 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:29:9:29:19 | [...] |
| expressions.swift:29:1:29:19 | var ... = ... | 1 | getImmediatePattern(0) | expressions.swift:29:5:29:5 | d |
| expressions.swift:29:1:29:19 | { ... } | 0 | getImmediateBody() | expressions.swift:29:1:29:19 | { ... } |
@@ -567,8 +567,8 @@
| expressions.swift:48:12:48:17 | return ... | 0 | getImmediateResult() | expressions.swift:48:12:48:17 | ... .+(_:_:) ... |
| expressions.swift:48:15:48:15 | .+(_:_:) | 0 | getImmediateBase() | expressions.swift:48:15:48:15 | Int.Type |
| expressions.swift:48:15:48:15 | Int.Type | 0 | getImmediateTypeRepr() | expressions.swift:48:15:48:15 | Int |
| expressions.swift:50:8:50:8 | init | 0 | getImmediateSelfParam() | expressions.swift:50:8:50:8 | self |
| expressions.swift:50:8:50:8 | init | 1 | getImmediateParam(0) | expressions.swift:50:8:50:8 | x |
| expressions.swift:50:8:50:8 | init(x:) | 0 | getImmediateSelfParam() | expressions.swift:50:8:50:8 | self |
| expressions.swift:50:8:50:8 | init(x:) | 1 | getImmediateParam(0) | expressions.swift:50:8:50:8 | x |
| expressions.swift:51:3:51:10 | var ... = ... | 0 | getImmediatePattern(0) | expressions.swift:51:7:51:10 | ... as ... |
| expressions.swift:51:7:51:7 | get | 0 | getImmediateSelfParam() | expressions.swift:51:7:51:7 | self |
| expressions.swift:51:7:51:7 | get | 1 | getImmediateBody() | expressions.swift:51:7:51:7 | { ... } |
@@ -602,11 +602,11 @@
| expressions.swift:60:33:60:63 | { ... } | 2 | getImmediateBody() | expressions.swift:60:33:60:63 | { ... } |
| expressions.swift:60:35:60:61 | call to unsafeFunction(pointer:) | 0 | getImmediateFunction() | expressions.swift:60:35:60:35 | unsafeFunction(pointer:) |
| expressions.swift:60:35:60:61 | return ... | 0 | getImmediateResult() | expressions.swift:60:35:60:61 | call to unsafeFunction(pointer:) |
| expressions.swift:62:7:62:7 | deinit | 0 | getImmediateSelfParam() | expressions.swift:62:7:62:7 | self |
| expressions.swift:62:7:62:7 | deinit | 1 | getImmediateBody() | expressions.swift:62:7:62:7 | { ... } |
| expressions.swift:63:3:67:3 | init | 0 | getImmediateSelfParam() | expressions.swift:63:3:63:3 | self |
| expressions.swift:63:3:67:3 | init | 1 | getImmediateParam(0) | expressions.swift:63:9:63:12 | x |
| expressions.swift:63:3:67:3 | init | 2 | getImmediateBody() | expressions.swift:63:17:67:3 | { ... } |
| expressions.swift:62:7:62:7 | deinit() | 0 | getImmediateSelfParam() | expressions.swift:62:7:62:7 | self |
| expressions.swift:62:7:62:7 | deinit() | 1 | getImmediateBody() | expressions.swift:62:7:62:7 | { ... } |
| expressions.swift:63:3:67:3 | init(x:) | 0 | getImmediateSelfParam() | expressions.swift:63:3:63:3 | self |
| expressions.swift:63:3:67:3 | init(x:) | 1 | getImmediateParam(0) | expressions.swift:63:9:63:12 | x |
| expressions.swift:63:3:67:3 | init(x:) | 2 | getImmediateBody() | expressions.swift:63:17:67:3 | { ... } |
| expressions.swift:63:17:67:3 | { ... } | 0 | getImmediateElement(0) | expressions.swift:64:5:66:5 | if ... then { ... } |
| expressions.swift:63:17:67:3 | { ... } | 1 | getImmediateElement(1) | expressions.swift:67:3:67:3 | return |
| expressions.swift:64:5:66:5 | if ... then { ... } | 0 | getImmediateCondition() | expressions.swift:64:8:64:12 | StmtCondition |
@@ -615,8 +615,8 @@
| expressions.swift:64:10:64:10 | .<(_:_:) | 0 | getImmediateBase() | expressions.swift:64:10:64:10 | Int.Type |
| expressions.swift:64:10:64:10 | Int.Type | 0 | getImmediateTypeRepr() | expressions.swift:64:10:64:10 | Int |
| expressions.swift:64:14:66:5 | { ... } | 0 | getImmediateElement(0) | expressions.swift:65:7:65:14 | fail |
| expressions.swift:70:7:70:7 | deinit | 0 | getImmediateSelfParam() | expressions.swift:70:7:70:7 | self |
| expressions.swift:70:7:70:7 | deinit | 1 | getImmediateBody() | expressions.swift:70:7:70:7 | { ... } |
| expressions.swift:70:7:70:7 | deinit() | 0 | getImmediateSelfParam() | expressions.swift:70:7:70:7 | self |
| expressions.swift:70:7:70:7 | deinit() | 1 | getImmediateBody() | expressions.swift:70:7:70:7 | { ... } |
| expressions.swift:71:3:71:11 | var ... = ... | 0 | getImmediatePattern(0) | expressions.swift:71:7:71:11 | ... as ... |
| expressions.swift:71:7:71:7 | get | 0 | getImmediateSelfParam() | expressions.swift:71:7:71:7 | self |
| expressions.swift:71:7:71:7 | get | 1 | getImmediateBody() | expressions.swift:71:7:71:7 | { ... } |
@@ -624,36 +624,36 @@
| expressions.swift:71:7:71:7 | { ... } | 0 | getImmediateElement(0) | file://:0:0:0:0 | return ... |
| expressions.swift:71:7:71:11 | ... as ... | 0 | getImmediateSubPattern() | expressions.swift:71:7:71:7 | xx |
| expressions.swift:71:7:71:11 | ... as ... | 1 | getImmediateTypeRepr() | expressions.swift:71:11:71:11 | Int |
| expressions.swift:72:3:74:3 | init | 0 | getImmediateSelfParam() | expressions.swift:72:3:72:3 | self |
| expressions.swift:72:3:74:3 | init | 1 | getImmediateParam(0) | expressions.swift:72:8:72:11 | x |
| expressions.swift:72:3:74:3 | init | 2 | getImmediateBody() | expressions.swift:72:16:74:3 | { ... } |
| expressions.swift:72:3:74:3 | init(x:) | 0 | getImmediateSelfParam() | expressions.swift:72:3:72:3 | self |
| expressions.swift:72:3:74:3 | init(x:) | 1 | getImmediateParam(0) | expressions.swift:72:8:72:11 | x |
| expressions.swift:72:3:74:3 | init(x:) | 2 | getImmediateBody() | expressions.swift:72:16:74:3 | { ... } |
| expressions.swift:72:16:74:3 | { ... } | 0 | getImmediateElement(0) | expressions.swift:73:5:73:10 | ... = ... |
| expressions.swift:72:16:74:3 | { ... } | 1 | getImmediateElement(1) | expressions.swift:74:3:74:3 | return |
| expressions.swift:73:5:73:5 | .xx | 0 | getImmediateBase() | expressions.swift:73:5:73:5 | self |
| expressions.swift:73:5:73:10 | ... = ... | 0 | getImmediateDest() | expressions.swift:73:5:73:5 | .xx |
| expressions.swift:73:5:73:10 | ... = ... | 1 | getImmediateSource() | expressions.swift:73:10:73:10 | x |
| expressions.swift:77:7:77:7 | call to _unimplementedInitializer(className:initName:file:line:column:) | 0 | getImmediateFunction() | expressions.swift:77:7:77:7 | _unimplementedInitializer(className:initName:file:line:column:) |
| expressions.swift:77:7:77:7 | deinit | 0 | getImmediateSelfParam() | expressions.swift:77:7:77:7 | self |
| expressions.swift:77:7:77:7 | deinit | 1 | getImmediateBody() | expressions.swift:77:7:77:7 | { ... } |
| expressions.swift:77:21:77:21 | init | 0 | getImmediateSelfParam() | expressions.swift:77:21:77:21 | self |
| expressions.swift:77:21:77:21 | init | 1 | getImmediateParam(0) | file://:0:0:0:0 | x |
| expressions.swift:77:21:77:21 | init | 2 | getImmediateBody() | file://:0:0:0:0 | { ... } |
| expressions.swift:78:3:80:3 | init | 0 | getImmediateSelfParam() | expressions.swift:78:3:78:3 | self |
| expressions.swift:78:3:80:3 | init | 1 | getImmediateBody() | expressions.swift:78:10:80:3 | { ... } |
| expressions.swift:77:7:77:7 | deinit() | 0 | getImmediateSelfParam() | expressions.swift:77:7:77:7 | self |
| expressions.swift:77:7:77:7 | deinit() | 1 | getImmediateBody() | expressions.swift:77:7:77:7 | { ... } |
| expressions.swift:77:21:77:21 | init(x:) | 0 | getImmediateSelfParam() | expressions.swift:77:21:77:21 | self |
| expressions.swift:77:21:77:21 | init(x:) | 1 | getImmediateParam(0) | file://:0:0:0:0 | x |
| expressions.swift:77:21:77:21 | init(x:) | 2 | getImmediateBody() | file://:0:0:0:0 | { ... } |
| expressions.swift:78:3:80:3 | init() | 0 | getImmediateSelfParam() | expressions.swift:78:3:78:3 | self |
| expressions.swift:78:3:80:3 | init() | 1 | getImmediateBody() | expressions.swift:78:10:80:3 | { ... } |
| expressions.swift:78:10:80:3 | { ... } | 0 | getImmediateElement(0) | expressions.swift:79:5:79:21 | self = ... |
| expressions.swift:78:10:80:3 | { ... } | 1 | getImmediateElement(1) | expressions.swift:80:3:80:3 | return |
| expressions.swift:79:5:79:11 | call to ... | 0 | getImmediateFunction() | expressions.swift:79:11:79:11 | init |
| expressions.swift:79:5:79:11 | call to ... | 0 | getImmediateFunction() | expressions.swift:79:11:79:11 | init(x:) |
| expressions.swift:79:5:79:11 | call to ... | 2 | getImmediateBase() | expressions.swift:79:5:79:5 | super |
| expressions.swift:79:5:79:21 | call to ... | 0 | getImmediateFunction() | expressions.swift:79:5:79:11 | call to ... |
| expressions.swift:79:5:79:21 | self = ... | 0 | getImmediateSubExpr() | expressions.swift:79:5:79:21 | call to ... |
| expressions.swift:83:1:83:23 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:83:15:83:23 | call to init |
| expressions.swift:83:1:83:23 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:83:15:83:23 | call to init() |
| expressions.swift:83:1:83:23 | var ... = ... | 1 | getImmediatePattern(0) | expressions.swift:83:5:83:5 | derived |
| expressions.swift:83:1:83:23 | { ... } | 0 | getImmediateBody() | expressions.swift:83:1:83:23 | { ... } |
| expressions.swift:83:1:83:23 | { ... } | 0 | getImmediateElement(0) | expressions.swift:83:1:83:23 | var ... = ... |
| expressions.swift:83:15:83:15 | Derived.Type | 0 | getImmediateTypeRepr() | expressions.swift:83:15:83:15 | Derived |
| expressions.swift:83:15:83:15 | call to init | 0 | getImmediateFunction() | expressions.swift:83:15:83:15 | init |
| expressions.swift:83:15:83:15 | call to init | 2 | getImmediateBase() | expressions.swift:83:15:83:15 | Derived.Type |
| expressions.swift:83:15:83:23 | call to init | 0 | getImmediateFunction() | expressions.swift:83:15:83:15 | call to init |
| expressions.swift:83:15:83:15 | call to init() | 0 | getImmediateFunction() | expressions.swift:83:15:83:15 | init() |
| expressions.swift:83:15:83:15 | call to init() | 2 | getImmediateBase() | expressions.swift:83:15:83:15 | Derived.Type |
| expressions.swift:83:15:83:23 | call to init() | 0 | getImmediateFunction() | expressions.swift:83:15:83:15 | call to init() |
| expressions.swift:84:1:84:13 | ... = ... | 0 | getImmediateDest() | expressions.swift:84:1:84:1 | _ |
| expressions.swift:84:1:84:13 | ... = ... | 1 | getImmediateSource() | expressions.swift:84:5:84:13 | .xx |
| expressions.swift:84:1:84:13 | { ... } | 0 | getImmediateBody() | expressions.swift:84:1:84:13 | { ... } |
@@ -673,10 +673,10 @@
| expressions.swift:88:1:88:7 | ...! | 0 | getImmediateSubExpr() | expressions.swift:88:1:88:6 | ...[...] |
| expressions.swift:88:1:88:7 | { ... } | 0 | getImmediateBody() | expressions.swift:88:1:88:7 | { ... } |
| expressions.swift:88:1:88:7 | { ... } | 0 | getImmediateElement(0) | expressions.swift:88:1:88:7 | ...! |
| expressions.swift:90:7:90:7 | deinit | 0 | getImmediateSelfParam() | expressions.swift:90:7:90:7 | self |
| expressions.swift:90:7:90:7 | deinit | 1 | getImmediateBody() | expressions.swift:90:7:90:7 | { ... } |
| expressions.swift:90:7:90:7 | init | 0 | getImmediateSelfParam() | expressions.swift:90:7:90:7 | self |
| expressions.swift:90:7:90:7 | init | 1 | getImmediateBody() | expressions.swift:90:7:90:7 | { ... } |
| expressions.swift:90:7:90:7 | deinit() | 0 | getImmediateSelfParam() | expressions.swift:90:7:90:7 | self |
| expressions.swift:90:7:90:7 | deinit() | 1 | getImmediateBody() | expressions.swift:90:7:90:7 | { ... } |
| expressions.swift:90:7:90:7 | init() | 0 | getImmediateSelfParam() | expressions.swift:90:7:90:7 | self |
| expressions.swift:90:7:90:7 | init() | 1 | getImmediateBody() | expressions.swift:90:7:90:7 | { ... } |
| expressions.swift:90:7:90:7 | { ... } | 0 | getImmediateElement(0) | expressions.swift:90:7:90:7 | return |
| expressions.swift:92:1:92:55 | var ... = ... | 0 | getImmediateInit(0) | expressions.swift:92:14:92:55 | call to toOpaque() |
| expressions.swift:92:1:92:55 | var ... = ... | 1 | getImmediatePattern(0) | expressions.swift:92:5:92:5 | opaque |
@@ -688,17 +688,17 @@
| expressions.swift:92:14:92:46 | .toOpaque() | 0 | getImmediateBase() | expressions.swift:92:14:92:44 | call to passRetained(_:) |
| expressions.swift:92:14:92:55 | call to toOpaque() | 0 | getImmediateFunction() | expressions.swift:92:14:92:46 | .toOpaque() |
| expressions.swift:92:37:92:37 | ToPtr.Type | 0 | getImmediateTypeRepr() | expressions.swift:92:37:92:37 | ToPtr |
| expressions.swift:92:37:92:37 | call to init | 0 | getImmediateFunction() | expressions.swift:92:37:92:37 | init |
| expressions.swift:92:37:92:37 | call to init | 2 | getImmediateBase() | expressions.swift:92:37:92:37 | ToPtr.Type |
| expressions.swift:92:37:92:43 | call to init | 0 | getImmediateFunction() | expressions.swift:92:37:92:37 | call to init |
| expressions.swift:92:37:92:37 | call to init() | 0 | getImmediateFunction() | expressions.swift:92:37:92:37 | init() |
| expressions.swift:92:37:92:37 | call to init() | 2 | getImmediateBase() | expressions.swift:92:37:92:37 | ToPtr.Type |
| expressions.swift:92:37:92:43 | call to init() | 0 | getImmediateFunction() | expressions.swift:92:37:92:37 | call to init() |
| expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type | 0 | getImmediateTypeRepr() | expressions.swift:93:1:93:16 | Unmanaged<ToPtr> |
| expressions.swift:93:1:93:18 | .fromOpaque(_:) | 0 | getImmediateBase() | expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type |
| expressions.swift:93:1:93:35 | call to fromOpaque(_:) | 0 | getImmediateFunction() | expressions.swift:93:1:93:18 | .fromOpaque(_:) |
| expressions.swift:93:1:93:35 | { ... } | 0 | getImmediateBody() | expressions.swift:93:1:93:35 | { ... } |
| expressions.swift:93:1:93:35 | { ... } | 0 | getImmediateElement(0) | expressions.swift:93:1:93:35 | call to fromOpaque(_:) |
| expressions.swift:93:29:93:29 | (UnsafeRawPointer) ... | 0 | getImmediateSubExpr() | expressions.swift:93:29:93:29 | opaque |
| expressions.swift:95:8:95:8 | init | 0 | getImmediateSelfParam() | expressions.swift:95:8:95:8 | self |
| expressions.swift:95:8:95:8 | init | 1 | getImmediateParam(0) | expressions.swift:95:8:95:8 | normalField |
| expressions.swift:95:8:95:8 | init(normalField:) | 0 | getImmediateSelfParam() | expressions.swift:95:8:95:8 | self |
| expressions.swift:95:8:95:8 | init(normalField:) | 1 | getImmediateParam(0) | expressions.swift:95:8:95:8 | normalField |
| expressions.swift:96:3:101:3 | var ... = ... | 0 | getImmediatePattern(0) | expressions.swift:96:7:96:22 | ... as ... |
| expressions.swift:96:7:96:7 | (unnamed function decl) | 0 | getImmediateSelfParam() | expressions.swift:96:7:96:7 | self |
| expressions.swift:96:7:96:7 | (unnamed function decl) | 1 | getImmediateBody() | expressions.swift:96:7:96:7 | { ... } |
@@ -819,8 +819,8 @@
| expressions.swift:138:3:138:17 | return ... | 0 | getImmediateResult() | expressions.swift:138:10:138:17 | ...[...] |
| expressions.swift:138:10:138:10 | (HasProperty) ... | 0 | getImmediateSubExpr() | expressions.swift:138:10:138:10 | hp |
| expressions.swift:138:10:138:17 | ...[...] | 0 | getImmediateBase() | expressions.swift:138:10:138:10 | (HasProperty) ... |
| expressions.swift:141:8:141:8 | init | 0 | getImmediateSelfParam() | expressions.swift:141:8:141:8 | self |
| expressions.swift:141:8:141:8 | init | 1 | getImmediateParam(0) | expressions.swift:141:8:141:8 | x |
| expressions.swift:141:8:141:8 | init(x:) | 0 | getImmediateSelfParam() | expressions.swift:141:8:141:8 | self |
| expressions.swift:141:8:141:8 | init(x:) | 1 | getImmediateParam(0) | expressions.swift:141:8:141:8 | x |
| expressions.swift:142:3:142:11 | var ... = ... | 0 | getImmediatePattern(0) | expressions.swift:142:7:142:11 | ... as ... |
| expressions.swift:142:7:142:7 | (unnamed function decl) | 0 | getImmediateSelfParam() | expressions.swift:142:7:142:7 | self |
| expressions.swift:142:7:142:7 | (unnamed function decl) | 1 | getImmediateBody() | expressions.swift:142:7:142:7 | { ... } |
@@ -838,10 +838,10 @@
| expressions.swift:142:7:142:7 | { ... } | 0 | getImmediateElement(0) | file://:0:0:0:0 | return ... |
| expressions.swift:142:7:142:11 | ... as ... | 0 | getImmediateSubPattern() | expressions.swift:142:7:142:7 | x |
| expressions.swift:142:7:142:11 | ... as ... | 1 | getImmediateTypeRepr() | expressions.swift:142:11:142:11 | Int |
| expressions.swift:145:8:145:8 | init | 0 | getImmediateSelfParam() | expressions.swift:145:8:145:8 | self |
| expressions.swift:145:8:145:8 | init | 1 | getImmediateParam(0) | expressions.swift:145:8:145:8 | b |
| expressions.swift:145:8:145:8 | init | 2 | getImmediateParam(1) | expressions.swift:145:8:145:8 | bs |
| expressions.swift:145:8:145:8 | init | 3 | getImmediateParam(2) | expressions.swift:145:8:145:8 | mayB |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | 0 | getImmediateSelfParam() | expressions.swift:145:8:145:8 | self |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | 1 | getImmediateParam(0) | expressions.swift:145:8:145:8 | b |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | 2 | getImmediateParam(1) | expressions.swift:145:8:145:8 | bs |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | 3 | getImmediateParam(2) | expressions.swift:145:8:145:8 | mayB |
| expressions.swift:146:3:146:11 | var ... = ... | 0 | getImmediatePattern(0) | expressions.swift:146:7:146:11 | ... as ... |
| expressions.swift:146:7:146:7 | (unnamed function decl) | 0 | getImmediateSelfParam() | expressions.swift:146:7:146:7 | self |
| expressions.swift:146:7:146:7 | (unnamed function decl) | 1 | getImmediateBody() | expressions.swift:146:7:146:7 | { ... } |
@@ -1278,8 +1278,8 @@
| statements.swift:71:36:71:36 | Int.Type | 0 | getImmediateTypeRepr() | statements.swift:71:36:71:36 | Int |
| statements.swift:71:40:71:40 | .==(_:_:) | 0 | getImmediateBase() | statements.swift:71:40:71:40 | Int.Type |
| statements.swift:71:40:71:40 | Int.Type | 0 | getImmediateTypeRepr() | statements.swift:71:40:71:40 | Int |
| statements.swift:74:8:74:8 | init | 0 | getImmediateSelfParam() | statements.swift:74:8:74:8 | self |
| statements.swift:74:8:74:8 | init | 1 | getImmediateParam(0) | statements.swift:74:8:74:8 | x |
| statements.swift:74:8:74:8 | init(x:) | 0 | getImmediateSelfParam() | statements.swift:74:8:74:8 | self |
| statements.swift:74:8:74:8 | init(x:) | 1 | getImmediateParam(0) | statements.swift:74:8:74:8 | x |
| statements.swift:75:3:75:11 | var ... = ... | 0 | getImmediatePattern(0) | statements.swift:75:7:75:11 | ... as ... |
| statements.swift:75:7:75:7 | (unnamed function decl) | 0 | getImmediateSelfParam() | statements.swift:75:7:75:7 | self |
| statements.swift:75:7:75:7 | (unnamed function decl) | 1 | getImmediateBody() | statements.swift:75:7:75:7 | { ... } |

View File

@@ -1,7 +1,7 @@
| declarations.swift:1:8:1:8 | init | ConstructorDecl | declarations.swift:1:8:1:8 | self | ParamDecl |
| declarations.swift:1:8:1:8 | init | ConstructorDecl | declarations.swift:1:8:1:8 | self | ParamDecl |
| declarations.swift:1:8:1:8 | init | ConstructorDecl | declarations.swift:1:8:1:8 | x | ParamDecl |
| declarations.swift:1:8:1:8 | init | ConstructorDecl | declarations.swift:1:8:1:8 | { ... } | BraceStmt |
| declarations.swift:1:8:1:8 | init() | ConstructorDecl | declarations.swift:1:8:1:8 | self | ParamDecl |
| declarations.swift:1:8:1:8 | init() | ConstructorDecl | declarations.swift:1:8:1:8 | { ... } | BraceStmt |
| declarations.swift:1:8:1:8 | init(x:) | ConstructorDecl | declarations.swift:1:8:1:8 | self | ParamDecl |
| declarations.swift:1:8:1:8 | init(x:) | ConstructorDecl | declarations.swift:1:8:1:8 | x | ParamDecl |
| declarations.swift:1:8:1:8 | { ... } | BraceStmt | declarations.swift:1:8:1:8 | return | ReturnStmt |
| declarations.swift:2:3:2:11 | var ... = ... | PatternBindingDecl | declarations.swift:2:7:2:7 | x | NamedPattern |
| declarations.swift:2:3:2:11 | var ... = ... | PatternBindingDecl | declarations.swift:2:11:2:11 | 11 | IntegerLiteralExpr |
@@ -45,10 +45,10 @@
| declarations.swift:5:21:5:36 | ... = ... | AssignExpr | declarations.swift:5:25:5:36 | ... .-(_:_:) ... | BinaryExpr |
| declarations.swift:5:25:5:36 | ... .-(_:_:) ... | BinaryExpr | declarations.swift:5:34:5:34 | .-(_:_:) | MethodRefExpr |
| declarations.swift:5:34:5:34 | Int.Type | TypeExpr | declarations.swift:5:34:5:34 | Int | TypeRepr |
| declarations.swift:9:7:9:7 | deinit | DestructorDecl | declarations.swift:9:7:9:7 | self | ParamDecl |
| declarations.swift:9:7:9:7 | deinit | DestructorDecl | declarations.swift:9:7:9:7 | { ... } | BraceStmt |
| declarations.swift:9:7:9:7 | init | ConstructorDecl | declarations.swift:9:7:9:7 | self | ParamDecl |
| declarations.swift:9:7:9:7 | init | ConstructorDecl | declarations.swift:9:7:9:7 | { ... } | BraceStmt |
| declarations.swift:9:7:9:7 | deinit() | DestructorDecl | declarations.swift:9:7:9:7 | self | ParamDecl |
| declarations.swift:9:7:9:7 | deinit() | DestructorDecl | declarations.swift:9:7:9:7 | { ... } | BraceStmt |
| declarations.swift:9:7:9:7 | init() | ConstructorDecl | declarations.swift:9:7:9:7 | self | ParamDecl |
| declarations.swift:9:7:9:7 | init() | ConstructorDecl | declarations.swift:9:7:9:7 | { ... } | BraceStmt |
| declarations.swift:9:7:9:7 | { ... } | BraceStmt | declarations.swift:9:7:9:7 | return | ReturnStmt |
| declarations.swift:9:13:9:30 | var ... = ... | PatternBindingDecl | declarations.swift:9:17:9:21 | ... as ... | TypedPattern |
| declarations.swift:9:13:9:30 | var ... = ... | PatternBindingDecl | declarations.swift:9:30:9:30 | 1.3 | FloatLiteralExpr |
@@ -138,15 +138,15 @@
| declarations.swift:41:7:41:7 | { ... } | BraceStmt | file://:0:0:0:0 | return ... | ReturnStmt |
| declarations.swift:41:7:41:14 | ... as ... | TypedPattern | declarations.swift:41:7:41:7 | field | NamedPattern |
| declarations.swift:41:7:41:14 | ... as ... | TypedPattern | declarations.swift:41:14:41:14 | Int | TypeRepr |
| declarations.swift:42:3:44:3 | init | ConstructorDecl | declarations.swift:42:3:42:3 | self | ParamDecl |
| declarations.swift:42:3:44:3 | init | ConstructorDecl | declarations.swift:42:10:44:3 | { ... } | BraceStmt |
| declarations.swift:42:3:44:3 | init() | ConstructorDecl | declarations.swift:42:3:42:3 | self | ParamDecl |
| declarations.swift:42:3:44:3 | init() | ConstructorDecl | declarations.swift:42:10:44:3 | { ... } | BraceStmt |
| declarations.swift:42:10:44:3 | { ... } | BraceStmt | declarations.swift:43:5:43:13 | ... = ... | AssignExpr |
| declarations.swift:42:10:44:3 | { ... } | BraceStmt | declarations.swift:44:3:44:3 | return | ReturnStmt |
| declarations.swift:43:5:43:5 | .field | MemberRefExpr | declarations.swift:43:5:43:5 | self | DeclRefExpr |
| declarations.swift:43:5:43:13 | ... = ... | AssignExpr | declarations.swift:43:5:43:5 | .field | MemberRefExpr |
| declarations.swift:43:5:43:13 | ... = ... | AssignExpr | declarations.swift:43:13:43:13 | 10 | IntegerLiteralExpr |
| declarations.swift:46:3:48:3 | deinit | DestructorDecl | declarations.swift:46:3:46:3 | self | ParamDecl |
| declarations.swift:46:3:48:3 | deinit | DestructorDecl | declarations.swift:46:10:48:3 | { ... } | BraceStmt |
| declarations.swift:46:3:48:3 | deinit() | DestructorDecl | declarations.swift:46:3:46:3 | self | ParamDecl |
| declarations.swift:46:3:48:3 | deinit() | DestructorDecl | declarations.swift:46:10:48:3 | { ... } | BraceStmt |
| declarations.swift:46:10:48:3 | { ... } | BraceStmt | declarations.swift:47:5:47:13 | ... = ... | AssignExpr |
| declarations.swift:47:5:47:5 | .field | MemberRefExpr | declarations.swift:47:5:47:5 | self | DeclRefExpr |
| declarations.swift:47:5:47:13 | ... = ... | AssignExpr | declarations.swift:47:5:47:5 | .field | MemberRefExpr |
@@ -156,8 +156,8 @@
| declarations.swift:50:3:52:3 | +-(_:) | ConcreteFuncDecl | declarations.swift:50:45:52:3 | { ... } | BraceStmt |
| declarations.swift:50:45:52:3 | { ... } | BraceStmt | declarations.swift:51:5:51:12 | return ... | ReturnStmt |
| declarations.swift:51:5:51:12 | return ... | ReturnStmt | declarations.swift:51:12:51:12 | other | DeclRefExpr |
| declarations.swift:68:25:68:25 | init | ConstructorDecl | declarations.swift:68:25:68:25 | self | ParamDecl |
| declarations.swift:68:25:68:25 | init | ConstructorDecl | declarations.swift:68:25:68:25 | { ... } | BraceStmt |
| declarations.swift:68:25:68:25 | init() | ConstructorDecl | declarations.swift:68:25:68:25 | self | ParamDecl |
| declarations.swift:68:25:68:25 | init() | ConstructorDecl | declarations.swift:68:25:68:25 | { ... } | BraceStmt |
| declarations.swift:68:25:68:25 | { ... } | BraceStmt | declarations.swift:68:25:68:25 | return | ReturnStmt |
| declarations.swift:69:3:73:3 | var ... = ... | PatternBindingDecl | declarations.swift:69:7:69:21 | ... as ... | TypedPattern |
| declarations.swift:69:7:69:7 | wrappedValue | ConcreteVarDecl | declarations.swift:70:5:72:5 | get | AccessorDecl |
@@ -172,8 +172,8 @@
| declarations.swift:76:19:79:1 | { ... } | BraceStmt | declarations.swift:77:20:77:20 | x | ConcreteVarDecl |
| declarations.swift:76:19:79:1 | { ... } | BraceStmt | declarations.swift:78:3:78:10 | return ... | ReturnStmt |
| declarations.swift:77:4:77:4 | ZeroWrapper.Type | TypeExpr | declarations.swift:77:4:77:4 | ZeroWrapper | TypeRepr |
| declarations.swift:77:4:77:4 | call to init | CallExpr | declarations.swift:77:4:77:4 | call to init | ConstructorRefCallExpr |
| declarations.swift:77:4:77:4 | call to init | ConstructorRefCallExpr | declarations.swift:77:4:77:4 | init | DeclRefExpr |
| declarations.swift:77:4:77:4 | call to init() | CallExpr | declarations.swift:77:4:77:4 | call to init() | ConstructorRefCallExpr |
| declarations.swift:77:4:77:4 | call to init() | ConstructorRefCallExpr | declarations.swift:77:4:77:4 | init() | DeclRefExpr |
| declarations.swift:77:16:77:23 | var ... = ... | PatternBindingDecl | declarations.swift:77:20:77:23 | ... as ... | TypedPattern |
| declarations.swift:77:20:77:20 | ... as ... | TypedPattern | declarations.swift:77:20:77:20 | _x | NamedPattern |
| declarations.swift:77:20:77:20 | get | AccessorDecl | declarations.swift:77:20:77:20 | { ... } | BraceStmt |
@@ -182,13 +182,13 @@
| declarations.swift:77:20:77:23 | ... as ... | TypedPattern | declarations.swift:77:20:77:20 | x | NamedPattern |
| declarations.swift:77:20:77:23 | ... as ... | TypedPattern | declarations.swift:77:23:77:23 | Int | TypeRepr |
| declarations.swift:78:3:78:10 | return ... | ReturnStmt | declarations.swift:78:10:78:10 | x | DeclRefExpr |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | hasBoth | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | hasDidSet1 | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | hasDidSet2 | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | hasWillSet1 | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | hasWillSet2 | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | normalField | ParamDecl |
| declarations.swift:81:8:81:8 | init | ConstructorDecl | declarations.swift:81:8:81:8 | self | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | hasBoth | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | hasDidSet1 | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | hasDidSet2 | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | hasWillSet1 | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | hasWillSet2 | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | normalField | ParamDecl |
| declarations.swift:81:8:81:8 | init(normalField:hasWillSet1:hasWillSet2:hasDidSet1:hasDidSet2:hasBoth:) | ConstructorDecl | declarations.swift:81:8:81:8 | self | ParamDecl |
| declarations.swift:82:3:87:3 | var ... = ... | PatternBindingDecl | declarations.swift:82:7:82:22 | ... as ... | TypedPattern |
| declarations.swift:82:7:82:7 | (unnamed function decl) | AccessorDecl | declarations.swift:82:7:82:7 | self | ParamDecl |
| declarations.swift:82:7:82:7 | (unnamed function decl) | AccessorDecl | declarations.swift:82:7:82:7 | { ... } | BraceStmt |
@@ -459,18 +459,18 @@
| expressions.swift:21:1:21:16 | { ... } | TopLevelCodeDecl | expressions.swift:21:1:21:16 | { ... } | BraceStmt |
| expressions.swift:21:6:21:16 | (()?) ... | InjectIntoOptionalExpr | expressions.swift:21:6:21:16 | call to failure(_:) | CallExpr |
| expressions.swift:21:6:21:16 | call to failure(_:) | CallExpr | expressions.swift:21:6:21:6 | failure(_:) | DeclRefExpr |
| expressions.swift:23:7:23:7 | deinit | DestructorDecl | expressions.swift:23:7:23:7 | self | ParamDecl |
| expressions.swift:23:7:23:7 | deinit | DestructorDecl | expressions.swift:23:7:23:7 | { ... } | BraceStmt |
| expressions.swift:24:3:24:11 | init | ConstructorDecl | expressions.swift:24:3:24:3 | self | ParamDecl |
| expressions.swift:24:3:24:11 | init | ConstructorDecl | expressions.swift:24:10:24:11 | { ... } | BraceStmt |
| expressions.swift:23:7:23:7 | deinit() | DestructorDecl | expressions.swift:23:7:23:7 | self | ParamDecl |
| expressions.swift:23:7:23:7 | deinit() | DestructorDecl | expressions.swift:23:7:23:7 | { ... } | BraceStmt |
| expressions.swift:24:3:24:11 | init() | ConstructorDecl | expressions.swift:24:3:24:3 | self | ParamDecl |
| expressions.swift:24:3:24:11 | init() | ConstructorDecl | expressions.swift:24:10:24:11 | { ... } | BraceStmt |
| expressions.swift:24:10:24:11 | { ... } | BraceStmt | expressions.swift:24:11:24:11 | return | ReturnStmt |
| expressions.swift:27:1:27:19 | var ... = ... | PatternBindingDecl | expressions.swift:27:5:27:5 | klass | NamedPattern |
| expressions.swift:27:1:27:19 | var ... = ... | PatternBindingDecl | expressions.swift:27:13:27:19 | call to init | CallExpr |
| expressions.swift:27:1:27:19 | var ... = ... | PatternBindingDecl | expressions.swift:27:13:27:19 | call to init() | CallExpr |
| expressions.swift:27:1:27:19 | { ... } | BraceStmt | expressions.swift:27:1:27:19 | var ... = ... | PatternBindingDecl |
| expressions.swift:27:1:27:19 | { ... } | TopLevelCodeDecl | expressions.swift:27:1:27:19 | { ... } | BraceStmt |
| expressions.swift:27:13:27:13 | Klass.Type | TypeExpr | expressions.swift:27:13:27:13 | Klass | TypeRepr |
| 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 | call to init | ConstructorRefCallExpr |
| 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 | call to init() | ConstructorRefCallExpr |
| expressions.swift:29:1:29:19 | var ... = ... | PatternBindingDecl | expressions.swift:29:5:29:5 | d | NamedPattern |
| expressions.swift:29:1:29:19 | var ... = ... | PatternBindingDecl | expressions.swift:29:9:29:19 | [...] | DictionaryExpr |
| expressions.swift:29:1:29:19 | { ... } | BraceStmt | expressions.swift:29:1:29:19 | var ... = ... | PatternBindingDecl |
@@ -553,8 +553,8 @@
| expressions.swift:48:12:48:17 | ... .+(_:_:) ... | BinaryExpr | expressions.swift:48:15:48:15 | .+(_:_:) | MethodRefExpr |
| expressions.swift:48:12:48:17 | return ... | ReturnStmt | expressions.swift:48:12:48:17 | ... .+(_:_:) ... | BinaryExpr |
| expressions.swift:48:15:48:15 | Int.Type | TypeExpr | expressions.swift:48:15:48:15 | Int | TypeRepr |
| expressions.swift:50:8:50:8 | init | ConstructorDecl | expressions.swift:50:8:50:8 | self | ParamDecl |
| expressions.swift:50:8:50:8 | init | ConstructorDecl | expressions.swift:50:8:50:8 | x | ParamDecl |
| expressions.swift:50:8:50:8 | init(x:) | ConstructorDecl | expressions.swift:50:8:50:8 | self | ParamDecl |
| expressions.swift:50:8:50:8 | init(x:) | ConstructorDecl | expressions.swift:50:8:50:8 | x | ParamDecl |
| expressions.swift:51:3:51:10 | var ... = ... | PatternBindingDecl | expressions.swift:51:7:51:10 | ... as ... | TypedPattern |
| expressions.swift:51:7:51:7 | get | AccessorDecl | expressions.swift:51:7:51:7 | self | ParamDecl |
| expressions.swift:51:7:51:7 | get | AccessorDecl | expressions.swift:51:7:51:7 | { ... } | BraceStmt |
@@ -588,11 +588,11 @@
| expressions.swift:60:33:60:63 | { ... } | ClosureExpr | expressions.swift:60:33:60:63 | { ... } | BraceStmt |
| expressions.swift:60:35:60:61 | call to unsafeFunction(pointer:) | CallExpr | expressions.swift:60:35:60:35 | unsafeFunction(pointer:) | DeclRefExpr |
| expressions.swift:60:35:60:61 | return ... | ReturnStmt | expressions.swift:60:35:60:61 | call to unsafeFunction(pointer:) | CallExpr |
| expressions.swift:62:7:62:7 | deinit | DestructorDecl | expressions.swift:62:7:62:7 | self | ParamDecl |
| expressions.swift:62:7:62:7 | deinit | DestructorDecl | expressions.swift:62:7:62:7 | { ... } | BraceStmt |
| expressions.swift:63:3:67:3 | init | ConstructorDecl | expressions.swift:63:3:63:3 | self | ParamDecl |
| expressions.swift:63:3:67:3 | init | ConstructorDecl | expressions.swift:63:9:63:12 | x | ParamDecl |
| expressions.swift:63:3:67:3 | init | ConstructorDecl | expressions.swift:63:17:67:3 | { ... } | BraceStmt |
| expressions.swift:62:7:62:7 | deinit() | DestructorDecl | expressions.swift:62:7:62:7 | self | ParamDecl |
| expressions.swift:62:7:62:7 | deinit() | DestructorDecl | expressions.swift:62:7:62:7 | { ... } | BraceStmt |
| expressions.swift:63:3:67:3 | init(x:) | ConstructorDecl | expressions.swift:63:3:63:3 | self | ParamDecl |
| expressions.swift:63:3:67:3 | init(x:) | ConstructorDecl | expressions.swift:63:9:63:12 | x | ParamDecl |
| expressions.swift:63:3:67:3 | init(x:) | ConstructorDecl | expressions.swift:63:17:67:3 | { ... } | BraceStmt |
| expressions.swift:63:17:67:3 | { ... } | BraceStmt | expressions.swift:64:5:66:5 | if ... then { ... } | IfStmt |
| expressions.swift:63:17:67:3 | { ... } | BraceStmt | expressions.swift:67:3:67:3 | return | ReturnStmt |
| expressions.swift:64:5:66:5 | if ... then { ... } | IfStmt | expressions.swift:64:8:64:12 | StmtCondition | StmtCondition |
@@ -600,8 +600,8 @@
| expressions.swift:64:8:64:12 | ... .<(_:_:) ... | BinaryExpr | expressions.swift:64:10:64:10 | .<(_:_:) | MethodRefExpr |
| expressions.swift:64:10:64:10 | Int.Type | TypeExpr | expressions.swift:64:10:64:10 | Int | TypeRepr |
| expressions.swift:64:14:66:5 | { ... } | BraceStmt | expressions.swift:65:7:65:14 | fail | FailStmt |
| expressions.swift:70:7:70:7 | deinit | DestructorDecl | expressions.swift:70:7:70:7 | self | ParamDecl |
| expressions.swift:70:7:70:7 | deinit | DestructorDecl | expressions.swift:70:7:70:7 | { ... } | BraceStmt |
| expressions.swift:70:7:70:7 | deinit() | DestructorDecl | expressions.swift:70:7:70:7 | self | ParamDecl |
| expressions.swift:70:7:70:7 | deinit() | DestructorDecl | expressions.swift:70:7:70:7 | { ... } | BraceStmt |
| expressions.swift:71:3:71:11 | var ... = ... | PatternBindingDecl | expressions.swift:71:7:71:11 | ... as ... | TypedPattern |
| expressions.swift:71:7:71:7 | get | AccessorDecl | expressions.swift:71:7:71:7 | self | ParamDecl |
| expressions.swift:71:7:71:7 | get | AccessorDecl | expressions.swift:71:7:71:7 | { ... } | BraceStmt |
@@ -609,34 +609,34 @@
| expressions.swift:71:7:71:7 | { ... } | BraceStmt | file://:0:0:0:0 | return ... | ReturnStmt |
| expressions.swift:71:7:71:11 | ... as ... | TypedPattern | expressions.swift:71:7:71:7 | xx | NamedPattern |
| expressions.swift:71:7:71:11 | ... as ... | TypedPattern | expressions.swift:71:11:71:11 | Int | TypeRepr |
| expressions.swift:72:3:74:3 | init | ConstructorDecl | expressions.swift:72:3:72:3 | self | ParamDecl |
| expressions.swift:72:3:74:3 | init | ConstructorDecl | expressions.swift:72:8:72:11 | x | ParamDecl |
| expressions.swift:72:3:74:3 | init | ConstructorDecl | expressions.swift:72:16:74:3 | { ... } | BraceStmt |
| expressions.swift:72:3:74:3 | init(x:) | ConstructorDecl | expressions.swift:72:3:72:3 | self | ParamDecl |
| expressions.swift:72:3:74:3 | init(x:) | ConstructorDecl | expressions.swift:72:8:72:11 | x | ParamDecl |
| expressions.swift:72:3:74:3 | init(x:) | ConstructorDecl | expressions.swift:72:16:74:3 | { ... } | BraceStmt |
| expressions.swift:72:16:74:3 | { ... } | BraceStmt | expressions.swift:73:5:73:10 | ... = ... | AssignExpr |
| expressions.swift:72:16:74:3 | { ... } | BraceStmt | expressions.swift:74:3:74:3 | return | ReturnStmt |
| expressions.swift:73:5:73:5 | .xx | MemberRefExpr | expressions.swift:73:5:73:5 | self | DeclRefExpr |
| expressions.swift:73:5:73:10 | ... = ... | AssignExpr | expressions.swift:73:5:73:5 | .xx | MemberRefExpr |
| expressions.swift:73:5:73:10 | ... = ... | AssignExpr | expressions.swift:73:10:73:10 | x | DeclRefExpr |
| expressions.swift:77:7:77:7 | call to _unimplementedInitializer(className:initName:file:line:column:) | CallExpr | expressions.swift:77:7:77:7 | _unimplementedInitializer(className:initName:file:line:column:) | DeclRefExpr |
| expressions.swift:77:7:77:7 | deinit | DestructorDecl | expressions.swift:77:7:77:7 | self | ParamDecl |
| expressions.swift:77:7:77:7 | deinit | DestructorDecl | expressions.swift:77:7:77:7 | { ... } | BraceStmt |
| expressions.swift:77:21:77:21 | init | ConstructorDecl | expressions.swift:77:21:77:21 | self | ParamDecl |
| expressions.swift:77:21:77:21 | init | ConstructorDecl | file://:0:0:0:0 | x | ParamDecl |
| expressions.swift:77:21:77:21 | init | ConstructorDecl | file://:0:0:0:0 | { ... } | BraceStmt |
| expressions.swift:78:3:80:3 | init | ConstructorDecl | expressions.swift:78:3:78:3 | self | ParamDecl |
| expressions.swift:78:3:80:3 | init | ConstructorDecl | expressions.swift:78:10:80:3 | { ... } | BraceStmt |
| expressions.swift:77:7:77:7 | deinit() | DestructorDecl | expressions.swift:77:7:77:7 | self | ParamDecl |
| expressions.swift:77:7:77:7 | deinit() | DestructorDecl | expressions.swift:77:7:77:7 | { ... } | BraceStmt |
| expressions.swift:77:21:77:21 | init(x:) | ConstructorDecl | expressions.swift:77:21:77:21 | self | ParamDecl |
| expressions.swift:77:21:77:21 | init(x:) | ConstructorDecl | file://:0:0:0:0 | x | ParamDecl |
| expressions.swift:77:21:77:21 | init(x:) | ConstructorDecl | file://:0:0:0:0 | { ... } | BraceStmt |
| expressions.swift:78:3:80:3 | init() | ConstructorDecl | expressions.swift:78:3:78:3 | self | ParamDecl |
| expressions.swift:78:3:80:3 | init() | ConstructorDecl | expressions.swift:78:10:80:3 | { ... } | BraceStmt |
| expressions.swift:78:10:80:3 | { ... } | BraceStmt | expressions.swift:79:5:79:21 | self = ... | RebindSelfInConstructorExpr |
| expressions.swift:78:10:80:3 | { ... } | BraceStmt | expressions.swift:80:3:80:3 | return | ReturnStmt |
| expressions.swift:79:5:79:11 | call to ... | DotSyntaxCallExpr | expressions.swift:79:11:79:11 | init | OtherConstructorDeclRefExpr |
| expressions.swift:79:5:79:11 | call to ... | DotSyntaxCallExpr | expressions.swift:79:11:79:11 | init(x:) | OtherConstructorDeclRefExpr |
| expressions.swift:79:5:79:21 | call to ... | CallExpr | expressions.swift:79:5:79:11 | call to ... | DotSyntaxCallExpr |
| expressions.swift:79:5:79:21 | self = ... | RebindSelfInConstructorExpr | expressions.swift:79:5:79:21 | call to ... | CallExpr |
| expressions.swift:83:1:83:23 | var ... = ... | PatternBindingDecl | expressions.swift:83:5:83:5 | derived | NamedPattern |
| expressions.swift:83:1:83:23 | var ... = ... | PatternBindingDecl | expressions.swift:83:15:83:23 | call to init | CallExpr |
| expressions.swift:83:1:83:23 | var ... = ... | PatternBindingDecl | expressions.swift:83:15:83:23 | call to init() | CallExpr |
| expressions.swift:83:1:83:23 | { ... } | BraceStmt | expressions.swift:83:1:83:23 | var ... = ... | PatternBindingDecl |
| expressions.swift:83:1:83:23 | { ... } | TopLevelCodeDecl | expressions.swift:83:1:83:23 | { ... } | BraceStmt |
| expressions.swift:83:15:83:15 | Derived.Type | TypeExpr | expressions.swift:83:15:83:15 | Derived | TypeRepr |
| 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 | call to init | ConstructorRefCallExpr |
| 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 | call to init() | ConstructorRefCallExpr |
| expressions.swift:84:1:84:13 | ... = ... | AssignExpr | expressions.swift:84:1:84:1 | _ | DiscardAssignmentExpr |
| expressions.swift:84:1:84:13 | ... = ... | AssignExpr | expressions.swift:84:5:84:13 | .xx | MemberRefExpr |
| expressions.swift:84:1:84:13 | { ... } | BraceStmt | expressions.swift:84:1:84:13 | ... = ... | AssignExpr |
@@ -656,10 +656,10 @@
| expressions.swift:88:1:88:7 | ...! | ForceValueExpr | expressions.swift:88:1:88:6 | ...[...] | SubscriptExpr |
| expressions.swift:88:1:88:7 | { ... } | BraceStmt | expressions.swift:88:1:88:7 | ...! | ForceValueExpr |
| expressions.swift:88:1:88:7 | { ... } | TopLevelCodeDecl | expressions.swift:88:1:88:7 | { ... } | BraceStmt |
| expressions.swift:90:7:90:7 | deinit | DestructorDecl | expressions.swift:90:7:90:7 | self | ParamDecl |
| expressions.swift:90:7:90:7 | deinit | DestructorDecl | expressions.swift:90:7:90:7 | { ... } | BraceStmt |
| expressions.swift:90:7:90:7 | init | ConstructorDecl | expressions.swift:90:7:90:7 | self | ParamDecl |
| expressions.swift:90:7:90:7 | init | ConstructorDecl | expressions.swift:90:7:90:7 | { ... } | BraceStmt |
| expressions.swift:90:7:90:7 | deinit() | DestructorDecl | expressions.swift:90:7:90:7 | self | ParamDecl |
| expressions.swift:90:7:90:7 | deinit() | DestructorDecl | expressions.swift:90:7:90:7 | { ... } | BraceStmt |
| expressions.swift:90:7:90:7 | init() | ConstructorDecl | expressions.swift:90:7:90:7 | self | ParamDecl |
| expressions.swift:90:7:90:7 | init() | ConstructorDecl | expressions.swift:90:7:90:7 | { ... } | BraceStmt |
| expressions.swift:90:7:90:7 | { ... } | BraceStmt | expressions.swift:90:7:90:7 | return | ReturnStmt |
| expressions.swift:92:1:92:55 | var ... = ... | PatternBindingDecl | expressions.swift:92:5:92:5 | opaque | NamedPattern |
| expressions.swift:92:1:92:55 | var ... = ... | PatternBindingDecl | expressions.swift:92:14:92:55 | call to toOpaque() | CallExpr |
@@ -669,15 +669,15 @@
| expressions.swift:92:14:92:44 | call to passRetained(_:) | CallExpr | expressions.swift:92:14:92:24 | .passRetained(_:) | MethodRefExpr |
| expressions.swift:92:14:92:55 | call to toOpaque() | CallExpr | expressions.swift:92:14:92:46 | .toOpaque() | MethodRefExpr |
| expressions.swift:92:37:92:37 | ToPtr.Type | TypeExpr | expressions.swift:92:37:92:37 | ToPtr | TypeRepr |
| 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 | call to init | ConstructorRefCallExpr |
| 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 | call to init() | ConstructorRefCallExpr |
| expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type | TypeExpr | expressions.swift:93:1:93:16 | Unmanaged<ToPtr> | TypeRepr |
| expressions.swift:93:1:93:35 | call to fromOpaque(_:) | CallExpr | expressions.swift:93:1:93:18 | .fromOpaque(_:) | MethodRefExpr |
| expressions.swift:93:1:93:35 | { ... } | BraceStmt | expressions.swift:93:1:93:35 | call to fromOpaque(_:) | CallExpr |
| expressions.swift:93:1:93:35 | { ... } | TopLevelCodeDecl | expressions.swift:93:1:93:35 | { ... } | BraceStmt |
| expressions.swift:93:29:93:29 | (UnsafeRawPointer) ... | PointerToPointerExpr | expressions.swift:93:29:93:29 | opaque | DeclRefExpr |
| expressions.swift:95:8:95:8 | init | ConstructorDecl | expressions.swift:95:8:95:8 | normalField | ParamDecl |
| expressions.swift:95:8:95:8 | init | ConstructorDecl | expressions.swift:95:8:95:8 | self | ParamDecl |
| expressions.swift:95:8:95:8 | init(normalField:) | ConstructorDecl | expressions.swift:95:8:95:8 | normalField | ParamDecl |
| expressions.swift:95:8:95:8 | init(normalField:) | ConstructorDecl | expressions.swift:95:8:95:8 | self | ParamDecl |
| expressions.swift:96:3:101:3 | var ... = ... | PatternBindingDecl | expressions.swift:96:7:96:22 | ... as ... | TypedPattern |
| expressions.swift:96:7:96:7 | (unnamed function decl) | AccessorDecl | expressions.swift:96:7:96:7 | self | ParamDecl |
| expressions.swift:96:7:96:7 | (unnamed function decl) | AccessorDecl | expressions.swift:96:7:96:7 | { ... } | BraceStmt |
@@ -798,8 +798,8 @@
| expressions.swift:138:3:138:17 | return ... | ReturnStmt | expressions.swift:138:10:138:17 | ...[...] | SubscriptExpr |
| expressions.swift:138:10:138:10 | (HasProperty) ... | LoadExpr | expressions.swift:138:10:138:10 | hp | DeclRefExpr |
| expressions.swift:138:10:138:17 | ...[...] | SubscriptExpr | expressions.swift:138:10:138:10 | (HasProperty) ... | LoadExpr |
| expressions.swift:141:8:141:8 | init | ConstructorDecl | expressions.swift:141:8:141:8 | self | ParamDecl |
| expressions.swift:141:8:141:8 | init | ConstructorDecl | expressions.swift:141:8:141:8 | x | ParamDecl |
| expressions.swift:141:8:141:8 | init(x:) | ConstructorDecl | expressions.swift:141:8:141:8 | self | ParamDecl |
| expressions.swift:141:8:141:8 | init(x:) | ConstructorDecl | expressions.swift:141:8:141:8 | x | ParamDecl |
| expressions.swift:142:3:142:11 | var ... = ... | PatternBindingDecl | expressions.swift:142:7:142:11 | ... as ... | TypedPattern |
| expressions.swift:142:7:142:7 | (unnamed function decl) | AccessorDecl | expressions.swift:142:7:142:7 | self | ParamDecl |
| expressions.swift:142:7:142:7 | (unnamed function decl) | AccessorDecl | expressions.swift:142:7:142:7 | { ... } | BraceStmt |
@@ -817,10 +817,10 @@
| expressions.swift:142:7:142:7 | { ... } | BraceStmt | file://:0:0:0:0 | return ... | ReturnStmt |
| expressions.swift:142:7:142:11 | ... as ... | TypedPattern | expressions.swift:142:7:142:7 | x | NamedPattern |
| expressions.swift:142:7:142:11 | ... as ... | TypedPattern | expressions.swift:142:11:142:11 | Int | TypeRepr |
| expressions.swift:145:8:145:8 | init | ConstructorDecl | expressions.swift:145:8:145:8 | b | ParamDecl |
| expressions.swift:145:8:145:8 | init | ConstructorDecl | expressions.swift:145:8:145:8 | bs | ParamDecl |
| expressions.swift:145:8:145:8 | init | ConstructorDecl | expressions.swift:145:8:145:8 | mayB | ParamDecl |
| expressions.swift:145:8:145:8 | init | ConstructorDecl | expressions.swift:145:8:145:8 | self | ParamDecl |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | ConstructorDecl | expressions.swift:145:8:145:8 | b | ParamDecl |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | ConstructorDecl | expressions.swift:145:8:145:8 | bs | ParamDecl |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | ConstructorDecl | expressions.swift:145:8:145:8 | mayB | ParamDecl |
| expressions.swift:145:8:145:8 | init(b:bs:mayB:) | ConstructorDecl | expressions.swift:145:8:145:8 | self | ParamDecl |
| expressions.swift:146:3:146:11 | var ... = ... | PatternBindingDecl | expressions.swift:146:7:146:11 | ... as ... | TypedPattern |
| expressions.swift:146:7:146:7 | (unnamed function decl) | AccessorDecl | expressions.swift:146:7:146:7 | self | ParamDecl |
| expressions.swift:146:7:146:7 | (unnamed function decl) | AccessorDecl | expressions.swift:146:7:146:7 | { ... } | BraceStmt |
@@ -1246,8 +1246,8 @@
| statements.swift:71:29:71:43 | ... .==(_:_:) ... | BinaryExpr | statements.swift:71:40:71:40 | .==(_:_:) | MethodRefExpr |
| statements.swift:71:36:71:36 | Int.Type | TypeExpr | statements.swift:71:36:71:36 | Int | TypeRepr |
| statements.swift:71:40:71:40 | Int.Type | TypeExpr | statements.swift:71:40:71:40 | Int | TypeRepr |
| statements.swift:74:8:74:8 | init | ConstructorDecl | statements.swift:74:8:74:8 | self | ParamDecl |
| statements.swift:74:8:74:8 | init | ConstructorDecl | statements.swift:74:8:74:8 | x | ParamDecl |
| statements.swift:74:8:74:8 | init(x:) | ConstructorDecl | statements.swift:74:8:74:8 | self | ParamDecl |
| statements.swift:74:8:74:8 | init(x:) | ConstructorDecl | statements.swift:74:8:74:8 | x | ParamDecl |
| statements.swift:75:3:75:11 | var ... = ... | PatternBindingDecl | statements.swift:75:7:75:11 | ... as ... | TypedPattern |
| statements.swift:75:7:75:7 | (unnamed function decl) | AccessorDecl | statements.swift:75:7:75:7 | self | ParamDecl |
| statements.swift:75:7:75:7 | (unnamed function decl) | AccessorDecl | statements.swift:75:7:75:7 | { ... } | BraceStmt |

View File

@@ -4,10 +4,10 @@ edges
| UnsafeWebViewFetch.swift:94:10:94:37 | try ... : | UnsafeWebViewFetch.swift:164:21:164:35 | call to getRemoteData() : |
| UnsafeWebViewFetch.swift:94:10:94:37 | try ... : | UnsafeWebViewFetch.swift:167:25:167:39 | call to getRemoteData() |
| UnsafeWebViewFetch.swift:94:10:94:37 | try ... : | UnsafeWebViewFetch.swift:206:17:206:31 | call to getRemoteData() : |
| UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:94:10:94:37 | try ... : |
| UnsafeWebViewFetch.swift:103:30:103:84 | call to init : | UnsafeWebViewFetch.swift:103:25:103:84 | try! ... |
| UnsafeWebViewFetch.swift:105:18:105:72 | call to init : | UnsafeWebViewFetch.swift:106:25:106:25 | data |
| UnsafeWebViewFetch.swift:109:30:109:53 | call to init : | UnsafeWebViewFetch.swift:109:25:109:53 | try! ... |
| UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:94:10:94:37 | try ... : |
| UnsafeWebViewFetch.swift:103:30:103:84 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:103:25:103:84 | try! ... |
| UnsafeWebViewFetch.swift:105:18:105:72 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:106:25:106:25 | data |
| UnsafeWebViewFetch.swift:109:30:109:53 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:109:25:109:53 | try! ... |
| UnsafeWebViewFetch.swift:117:21:117:35 | call to getRemoteData() : | UnsafeWebViewFetch.swift:121:25:121:25 | remoteString |
| UnsafeWebViewFetch.swift:117:21:117:35 | call to getRemoteData() : | UnsafeWebViewFetch.swift:124:25:124:51 | ... .+(_:_:) ... |
| UnsafeWebViewFetch.swift:117:21:117:35 | call to getRemoteData() : | UnsafeWebViewFetch.swift:127:25:127:25 | "..." |
@@ -38,13 +38,13 @@ edges
| UnsafeWebViewFetch.swift:206:17:206:31 | call to getRemoteData() : | UnsafeWebViewFetch.swift:211:25:211:25 | htmlData |
nodes
| UnsafeWebViewFetch.swift:94:10:94:37 | try ... : | semmle.label | try ... : |
| UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | semmle.label | call to init : |
| UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | semmle.label | call to init(contentsOf:) : |
| UnsafeWebViewFetch.swift:103:25:103:84 | try! ... | semmle.label | try! ... |
| UnsafeWebViewFetch.swift:103:30:103:84 | call to init : | semmle.label | call to init : |
| UnsafeWebViewFetch.swift:105:18:105:72 | call to init : | semmle.label | call to init : |
| UnsafeWebViewFetch.swift:103:30:103:84 | call to init(contentsOf:) : | semmle.label | call to init(contentsOf:) : |
| UnsafeWebViewFetch.swift:105:18:105:72 | call to init(contentsOf:) : | semmle.label | call to init(contentsOf:) : |
| UnsafeWebViewFetch.swift:106:25:106:25 | data | semmle.label | data |
| UnsafeWebViewFetch.swift:109:25:109:53 | try! ... | semmle.label | try! ... |
| UnsafeWebViewFetch.swift:109:30:109:53 | call to init : | semmle.label | call to init : |
| UnsafeWebViewFetch.swift:109:30:109:53 | call to init(contentsOf:) : | semmle.label | call to init(contentsOf:) : |
| UnsafeWebViewFetch.swift:117:21:117:35 | call to getRemoteData() : | semmle.label | call to getRemoteData() : |
| UnsafeWebViewFetch.swift:120:25:120:39 | call to getRemoteData() | semmle.label | call to getRemoteData() |
| UnsafeWebViewFetch.swift:121:25:121:25 | remoteString | semmle.label | remoteString |
@@ -80,19 +80,19 @@ nodes
| UnsafeWebViewFetch.swift:211:25:211:25 | htmlData | semmle.label | htmlData |
subpaths
#select
| UnsafeWebViewFetch.swift:103:25:103:84 | try! ... | UnsafeWebViewFetch.swift:103:30:103:84 | call to init : | UnsafeWebViewFetch.swift:103:25:103:84 | try! ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:106:25:106:25 | data | UnsafeWebViewFetch.swift:105:18:105:72 | call to init : | UnsafeWebViewFetch.swift:106:25:106:25 | data | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:109:25:109:53 | try! ... | UnsafeWebViewFetch.swift:109:30:109:53 | call to init : | UnsafeWebViewFetch.swift:109:25:109:53 | try! ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:120:25:120:39 | call to getRemoteData() | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:120:25:120:39 | call to getRemoteData() | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:121:25:121:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:121:25:121:25 | remoteString | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:124:25:124:51 | ... .+(_:_:) ... | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:124:25:124:51 | ... .+(_:_:) ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:127:25:127:25 | "..." | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:127:25:127:25 | "..." | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:139:25:139:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:139:25:139:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:141:25:141:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:141:25:141:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:167:25:167:39 | call to getRemoteData() | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:167:25:167:39 | call to getRemoteData() | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:168:25:168:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:168:25:168:25 | remoteString | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:171:25:171:51 | ... .+(_:_:) ... | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:171:25:171:51 | ... .+(_:_:) ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:174:25:174:25 | "..." | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:174:25:174:25 | "..." | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:186:25:186:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:186:25:186:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:188:25:188:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:188:25:188:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:210:25:210:25 | htmlData | UnsafeWebViewFetch.swift:94:14:94:37 | call to init : | UnsafeWebViewFetch.swift:210:25:210:25 | htmlData | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:103:25:103:84 | try! ... | UnsafeWebViewFetch.swift:103:30:103:84 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:103:25:103:84 | try! ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:106:25:106:25 | data | UnsafeWebViewFetch.swift:105:18:105:72 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:106:25:106:25 | data | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:109:25:109:53 | try! ... | UnsafeWebViewFetch.swift:109:30:109:53 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:109:25:109:53 | try! ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:120:25:120:39 | call to getRemoteData() | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:120:25:120:39 | call to getRemoteData() | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:121:25:121:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:121:25:121:25 | remoteString | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:124:25:124:51 | ... .+(_:_:) ... | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:124:25:124:51 | ... .+(_:_:) ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:127:25:127:25 | "..." | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:127:25:127:25 | "..." | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:139:25:139:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:139:25:139:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:141:25:141:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:141:25:141:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:167:25:167:39 | call to getRemoteData() | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:167:25:167:39 | call to getRemoteData() | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:168:25:168:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:168:25:168:25 | remoteString | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:171:25:171:51 | ... .+(_:_:) ... | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:171:25:171:51 | ... .+(_:_:) ... | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:174:25:174:25 | "..." | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:174:25:174:25 | "..." | Tainted data is used in a WebView fetch without restricting the base URL. |
| UnsafeWebViewFetch.swift:186:25:186:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:186:25:186:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:188:25:188:25 | remoteString | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:188:25:188:25 | remoteString | Tainted data is used in a WebView fetch with a tainted base URL. |
| UnsafeWebViewFetch.swift:210:25:210:25 | htmlData | UnsafeWebViewFetch.swift:94:14:94:37 | call to init(contentsOf:) : | UnsafeWebViewFetch.swift:210:25:210:25 | htmlData | Tainted data is used in a WebView fetch without restricting the base URL. |