blob: 7620ca1c322e0d3dc19a2ac19de2d498263b4648 [file] [log] [blame]
import SwiftOnoneSupport
func fromOther()
// MARK: - C Additions
import B
import C
import A
// Available when C is imported with Other
func filtered()
// Available when C is imported with Other
func from_OtherCAdditions()
[
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 0,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 7,
key.length: 17
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 26,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 31,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 45,
key.length: 23
},
{
key.kind: source.lang.swift.syntaxtype.comment.mark,
key.offset: 48,
key.length: 19
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 69,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 76,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 78,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 85,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 87,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 94,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 97,
key.length: 43
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 140,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 145,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 157,
key.length: 43
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 200,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 205,
key.length: 20
}
]
[
{
key.kind: source.lang.swift.decl.function.free,
key.name: "fromOther()",
key.usr: "s:5Other04fromA0yyF",
key.offset: 26,
key.length: 16,
key.fully_annotated_decl: "<decl.function.free><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>fromOther</decl.name>()</decl.function.free>"
},
{
key.kind: source.lang.swift.decl.function.free,
key.name: "filtered()",
key.usr: "s:16_OtherCAdditions8filteredyyF",
key.offset: 140,
key.length: 15,
key.fully_annotated_decl: "<decl.function.free><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>filtered</decl.name>()</decl.function.free>",
key.attributes: [
{
key.kind: source.lang.swift.attribute.availability,
key.is_unavailable: 1
}
],
key.is_unavailable: 1,
key.required_bystanders: [
"C"
]
},
{
key.kind: source.lang.swift.decl.function.free,
key.name: "from_OtherCAdditions()",
key.usr: "s:16_OtherCAdditions05from_aB0yyF",
key.doc.full_as_xml: "<Function><Name>from_OtherCAdditions()</Name><USR>s:16_OtherCAdditions05from_aB0yyF</USR><Declaration>func from_OtherCAdditions()</Declaration><CommentParts><Abstract><Para>This has some interesting documentation that shouldn’t be separated from the decl when we print the comment detailing its required bystanders in the generated interface of ‘Other’.</Para></Abstract></CommentParts></Function>",
key.offset: 200,
key.length: 27,
key.fully_annotated_decl: "<decl.function.free><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>from_OtherCAdditions</decl.name>()</decl.function.free>",
key.required_bystanders: [
"C"
]
}
]