1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
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"
]
}
]
|