Files
codeql/swift/ql/test/extractor-tests/generated/decl/NamedFunction/NamedFunction.expected
2025-06-26 12:14:53 +02:00

32 lines
2.0 KiB
Plaintext

instances
| functions.swift:1:1:3:1 | foo() | getModule: | file://:0:0:0:0 | functions | getInterfaceType: | () -> Int |
| functions.swift:5:1:7:1 | bar(_:d:) | getModule: | file://:0:0:0:0 | functions | getInterfaceType: | (Int, Double) -> Int |
| functions.swift:10:5:10:28 | noBody(x:) | getModule: | file://:0:0:0:0 | functions | getInterfaceType: | <Self where Self : Beep> (Self) -> (Int) -> Int |
| functions.swift:13:1:15:1 | variadic(_:) | getModule: | file://:0:0:0:0 | functions | getInterfaceType: | (Int...) -> () |
| functions.swift:17:1:19:1 | generic(x:y:) | getModule: | file://:0:0:0:0 | functions | getInterfaceType: | <X, Y> (X, Y) -> () |
getGenericTypeParam
| functions.swift:17:1:19:1 | generic(x:y:) | 0 | functions.swift:17:14:17:14 | X |
| functions.swift:17:1:19:1 | generic(x:y:) | 1 | functions.swift:17:17:17:17 | Y |
getMember
getName
| functions.swift:1:1:3:1 | foo() | foo() |
| functions.swift:5:1:7:1 | bar(_:d:) | bar(_:d:) |
| functions.swift:10:5:10:28 | noBody(x:) | noBody(x:) |
| functions.swift:13:1:15:1 | variadic(_:) | variadic(_:) |
| functions.swift:17:1:19:1 | generic(x:y:) | generic(x:y:) |
getSelfParam
| functions.swift:10:5:10:28 | noBody(x:) | functions.swift:10:10:10:10 | self |
getParam
| functions.swift:5:1:7:1 | bar(_:d:) | 0 | functions.swift:5:10:5:15 | x |
| functions.swift:5:1:7:1 | bar(_:d:) | 1 | functions.swift:5:20:5:25 | y |
| functions.swift:10:5:10:28 | noBody(x:) | 0 | functions.swift:10:17:10:20 | x |
| functions.swift:13:1:15:1 | variadic(_:) | 0 | functions.swift:13:15:13:26 | ints |
| functions.swift:17:1:19:1 | generic(x:y:) | 0 | functions.swift:17:20:17:23 | x |
| functions.swift:17:1:19:1 | generic(x:y:) | 1 | functions.swift:17:26:17:29 | y |
getBody
| functions.swift:1:1:3:1 | foo() | functions.swift:1:19:3:1 | { ... } |
| functions.swift:5:1:7:1 | bar(_:d:) | functions.swift:5:40:7:1 | { ... } |
| functions.swift:13:1:15:1 | variadic(_:) | functions.swift:13:31:15:1 | { ... } |
| functions.swift:17:1:19:1 | generic(x:y:) | functions.swift:17:32:19:1 | { ... } |
getCapture