mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When a value is initialized or coerced for a type that conforms to one of the `ExpressibleBy*Literal` protocols (or `ExpressibleByStringInterpolation`), this change records an implicit call to the corresponding `init(...Literal:)` in the indexstore, located at the beginning of the literal.
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
{
|
|
key.dependencies: [
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "Swift",
|
|
key.filepath: Swift.swiftmodule,
|
|
key.is_system: 1
|
|
}
|
|
],
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.name: "gCubeVertexData",
|
|
key.usr: "s:9big_array15gCubeVertexDataSaySfGvp",
|
|
key.line: 1,
|
|
key.column: 5,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.accessor.getter,
|
|
key.usr: "s:9big_array15gCubeVertexDataSaySfGvg",
|
|
key.line: 1,
|
|
key.column: 5,
|
|
key.is_implicit: 1
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.accessor.setter,
|
|
key.usr: "s:9big_array15gCubeVertexDataSaySfGvs",
|
|
key.line: 1,
|
|
key.column: 5,
|
|
key.is_implicit: 1
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.name: "Float",
|
|
key.usr: "s:Sf",
|
|
key.line: 1,
|
|
key.column: 23
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.function.constructor,
|
|
key.usr: "s:Sa12arrayLiteralSayxGxd_tcfc",
|
|
key.line: 1,
|
|
key.column: 32,
|
|
key.is_implicit: 1
|
|
}
|
|
]
|
|
}
|