| public func doSomethingInHead(_ arg: Int32) |
| |
| open class BaseInHead { |
| |
| open func doIt(_ arg: Int32) |
| } |
| |
| /// Awesome name. |
| /// ������� |
| /// Awesome name. |
| open class SameName { |
| } |
| |
| // random comment. |
| |
| public protocol SameNameProtocol { |
| } |
| |
| [ |
| { |
| key.kind: source.lang.swift.syntaxtype.attribute.builtin, |
| key.offset: 0, |
| key.length: 6 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 7, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 12, |
| key.length: 17 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 30, |
| key.length: 1 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 32, |
| key.length: 3 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.typeidentifier, |
| key.offset: 37, |
| key.length: 5 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.attribute.builtin, |
| key.offset: 45, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 50, |
| key.length: 5 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 56, |
| key.length: 10 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.attribute.builtin, |
| key.offset: 74, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 79, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 84, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 89, |
| key.length: 1 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 91, |
| key.length: 3 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.typeidentifier, |
| key.offset: 96, |
| key.length: 5 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.doccomment, |
| key.offset: 106, |
| key.length: 18 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.doccomment, |
| key.offset: 124, |
| key.length: 26 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.doccomment, |
| key.offset: 150, |
| key.length: 18 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.attribute.builtin, |
| key.offset: 168, |
| key.length: 4 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 173, |
| key.length: 5 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 179, |
| key.length: 8 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.comment, |
| key.offset: 193, |
| key.length: 19 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.attribute.builtin, |
| key.offset: 213, |
| key.length: 6 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.keyword, |
| key.offset: 220, |
| key.length: 8 |
| }, |
| { |
| key.kind: source.lang.swift.syntaxtype.identifier, |
| key.offset: 229, |
| key.length: 16 |
| } |
| ] |
| [ |
| { |
| key.kind: source.lang.swift.ref.struct, |
| key.offset: 37, |
| key.length: 5, |
| key.is_system: 1 |
| }, |
| { |
| key.kind: source.lang.swift.ref.struct, |
| key.offset: 96, |
| key.length: 5, |
| key.is_system: 1 |
| } |
| ] |
| [ |
| { |
| key.kind: source.lang.swift.decl.function.free, |
| key.accessibility: source.lang.swift.accessibility.public, |
| key.name: "doSomethingInHead(_:)", |
| key.offset: 7, |
| key.length: 36, |
| key.nameoffset: 12, |
| key.namelength: 31, |
| key.attributes: [ |
| { |
| key.offset: 0, |
| key.length: 6, |
| key.attribute: source.decl.attribute.public |
| } |
| ], |
| key.substructure: [ |
| { |
| key.kind: source.lang.swift.decl.var.parameter, |
| key.name: "arg", |
| key.offset: 30, |
| key.length: 12, |
| key.typename: "Int32", |
| key.nameoffset: 0, |
| key.namelength: 0 |
| } |
| ] |
| }, |
| { |
| key.kind: source.lang.swift.decl.class, |
| key.accessibility: source.lang.swift.accessibility.open, |
| key.name: "BaseInHead", |
| key.offset: 50, |
| key.length: 54, |
| key.nameoffset: 56, |
| key.namelength: 10, |
| key.bodyoffset: 68, |
| key.bodylength: 35, |
| key.attributes: [ |
| { |
| key.offset: 45, |
| key.length: 4, |
| key.attribute: source.decl.attribute.open |
| } |
| ], |
| key.substructure: [ |
| { |
| key.kind: source.lang.swift.decl.function.method.instance, |
| key.accessibility: source.lang.swift.accessibility.open, |
| key.name: "doIt(_:)", |
| key.offset: 79, |
| key.length: 23, |
| key.nameoffset: 84, |
| key.namelength: 18, |
| key.attributes: [ |
| { |
| key.offset: 74, |
| key.length: 4, |
| key.attribute: source.decl.attribute.open |
| } |
| ], |
| key.substructure: [ |
| { |
| key.kind: source.lang.swift.decl.var.parameter, |
| key.name: "arg", |
| key.offset: 89, |
| key.length: 12, |
| key.typename: "Int32", |
| key.nameoffset: 0, |
| key.namelength: 0 |
| } |
| ] |
| } |
| ] |
| }, |
| { |
| key.kind: source.lang.swift.decl.class, |
| key.accessibility: source.lang.swift.accessibility.open, |
| key.name: "SameName", |
| key.offset: 173, |
| key.length: 18, |
| key.nameoffset: 179, |
| key.namelength: 8, |
| key.bodyoffset: 189, |
| key.bodylength: 1, |
| key.docoffset: 106, |
| key.doclength: 62, |
| key.attributes: [ |
| { |
| key.offset: 168, |
| key.length: 4, |
| key.attribute: source.decl.attribute.open |
| } |
| ] |
| }, |
| { |
| key.kind: source.lang.swift.decl.protocol, |
| key.accessibility: source.lang.swift.accessibility.public, |
| key.name: "SameNameProtocol", |
| key.offset: 220, |
| key.length: 29, |
| key.nameoffset: 229, |
| key.namelength: 16, |
| key.bodyoffset: 247, |
| key.bodylength: 1, |
| key.attributes: [ |
| { |
| key.offset: 213, |
| key.length: 6, |
| key.attribute: source.decl.attribute.public |
| } |
| ] |
| } |
| ] |