mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
By explicitly marking children in the `schema.yml` file, an internal `getAChild` predicate is implemented, that is in turn used in `AstNode` to implement `getParent`. This is yet to be used in the control flow library to replace the hand-rolled implementation. A further, more complex step is to use the same information to fully generate the core implementation of `PrintAst` (including the accessor string). This will be done later. The `parent` tests use the same swift code as the extractor tests, and this is currently enforced by `sync-files.py`. Notice that `qltest.sh` had to be modified to deal with multiple files, which was not working yet.
26 lines
2.1 KiB
Plaintext
26 lines
2.1 KiB
Plaintext
| declarations.swift:2:7:2:7 | set | 0 | declarations.swift:2:7:2:7 | value |
|
|
| declarations.swift:5:5:5:38 | set | 0 | declarations.swift:5:9:5:9 | newValue |
|
|
| declarations.swift:9:17:9:17 | set | 0 | declarations.swift:9:17:9:17 | value |
|
|
| declarations.swift:23:35:23:35 | set | 0 | declarations.swift:23:35:23:35 | newValue |
|
|
| declarations.swift:28:1:28:37 | a_function | 0 | declarations.swift:28:17:28:31 | a_parameter |
|
|
| declarations.swift:35:3:35:18 | set | 0 | declarations.swift:35:7:35:7 | newValue |
|
|
| declarations.swift:41:7:41:7 | set | 0 | declarations.swift:41:7:41:7 | value |
|
|
| declarations.swift:50:3:52:3 | +- | 0 | declarations.swift:50:26:50:33 | other |
|
|
| declarations.swift:83:5:83:11 | set | 0 | declarations.swift:83:5:83:5 | newValue |
|
|
| declarations.swift:102:7:102:7 | set | 0 | declarations.swift:102:7:102:7 | value |
|
|
| declarations.swift:104:3:104:3 | (unnamed function decl) | 0 | file://:0:0:0:0 | x |
|
|
| declarations.swift:105:5:107:5 | get | 0 | declarations.swift:104:13:104:13 | x |
|
|
| declarations.swift:108:5:108:11 | set | 0 | declarations.swift:108:5:108:5 | newValue |
|
|
| declarations.swift:108:5:108:11 | set | 1 | declarations.swift:104:13:104:13 | x |
|
|
| declarations.swift:111:37:113:3 | get | 0 | declarations.swift:111:13:111:13 | x |
|
|
| declarations.swift:111:37:113:3 | get | 1 | declarations.swift:111:21:111:21 | y |
|
|
| declarations.swift:115:7:115:7 | set | 0 | declarations.swift:115:7:115:7 | value |
|
|
| declarations.swift:116:5:116:25 | willSet | 0 | declarations.swift:116:13:116:13 | newValue |
|
|
| declarations.swift:119:7:119:7 | set | 0 | declarations.swift:119:7:119:7 | value |
|
|
| declarations.swift:120:5:120:15 | willSet | 0 | declarations.swift:120:5:120:5 | newValue |
|
|
| declarations.swift:123:7:123:7 | set | 0 | declarations.swift:123:7:123:7 | value |
|
|
| declarations.swift:124:5:124:24 | didSet | 0 | declarations.swift:124:12:124:12 | oldValue |
|
|
| declarations.swift:127:7:127:7 | set | 0 | declarations.swift:127:7:127:7 | value |
|
|
| declarations.swift:131:7:131:7 | set | 0 | declarations.swift:131:7:131:7 | value |
|
|
| declarations.swift:132:5:132:15 | willSet | 0 | declarations.swift:132:5:132:5 | newValue |
|