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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
|
import SwiftOnoneSupport
public func fromOther()
// MARK: - C Additions
import B
import C
import A
// Available when C is imported with Other
/// 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'.
public 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.attribute.builtin,
key.offset: 26,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 33,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 38,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 52,
key.length: 23
},
{
key.kind: source.lang.swift.syntaxtype.comment.mark,
key.offset: 55,
key.length: 19
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 76,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 83,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 85,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 92,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 94,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 101,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 104,
key.length: 43
},
{
key.kind: source.lang.swift.syntaxtype.doccomment,
key.offset: 147,
key.length: 77
},
{
key.kind: source.lang.swift.syntaxtype.doccomment,
key.offset: 224,
key.length: 80
},
{
key.kind: source.lang.swift.syntaxtype.doccomment,
key.offset: 304,
key.length: 36
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 340,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 347,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 352,
key.length: 20
}
]
[
{
key.kind: source.lang.swift.ref.module,
key.offset: 7,
key.length: 17,
key.is_system: 1
},
{
key.kind: source.lang.swift.ref.module,
key.offset: 83,
key.length: 1
},
{
key.kind: source.lang.swift.ref.module,
key.offset: 92,
key.length: 1
},
{
key.kind: source.lang.swift.ref.module,
key.offset: 101,
key.length: 1
}
]
[
{
key.kind: source.lang.swift.decl.function.free,
key.accessibility: source.lang.swift.accessibility.public,
key.name: "fromOther()",
key.offset: 33,
key.length: 16,
key.nameoffset: 38,
key.namelength: 11,
key.attributes: [
{
key.offset: 26,
key.length: 6,
key.attribute: source.decl.attribute.public
}
]
},
{
key.kind: source.lang.swift.decl.function.free,
key.accessibility: source.lang.swift.accessibility.public,
key.name: "from_OtherCAdditions()",
key.offset: 347,
key.length: 27,
key.nameoffset: 352,
key.namelength: 22,
key.docoffset: 147,
key.doclength: 193,
key.attributes: [
{
key.offset: 340,
key.length: 6,
key.attribute: source.decl.attribute.public
}
]
}
]
|