Files
swift-mirror/test/SourceKit/InterfaceGen/gen_clang_module.swift.helper.explicit.response
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00

72 lines
1.4 KiB
Plaintext

public func fooHelperExplicitFrameworkFunc1(a: Int32) -> Int32
[
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 8,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 13,
key.length: 31
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 45,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 48,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 58,
key.length: 5
}
]
[
{
key.kind: source.lang.swift.ref.struct,
key.offset: 48,
key.length: 5,
key.is_system: 1
},
{
key.kind: source.lang.swift.ref.struct,
key.offset: 58,
key.length: 5,
key.is_system: 1
}
]
[
{
key.kind: source.lang.swift.decl.function.free,
key.accessibility: source.lang.swift.accessibility.public,
key.name: "fooHelperExplicitFrameworkFunc1(_:)",
key.offset: 8,
key.length: 55,
key.nameoffset: 13,
key.namelength: 41,
key.substructure: [
{
key.kind: source.lang.swift.decl.var.parameter,
key.name: "a",
key.offset: 45,
key.length: 1,
key.typename: "Int32",
key.nameoffset: 0,
key.namelength: 0
}
]
}
]