mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Include AccessLevel attributes in structure (SR-5978) (#12086)
This commit is contained in:
@@ -377,7 +377,14 @@ internal enum Colors {
|
||||
key.nameoffset: 115,
|
||||
key.namelength: 18,
|
||||
key.bodyoffset: 135,
|
||||
key.bodylength: 1
|
||||
key.bodylength: 1,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 102,
|
||||
key.length: 6,
|
||||
key.attribute: source.decl.attribute.public
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.decl.class,
|
||||
@@ -392,6 +399,13 @@ internal enum Colors {
|
||||
key.bodylength: 51,
|
||||
key.docoffset: 139,
|
||||
key.doclength: 27,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 166,
|
||||
key.length: 6,
|
||||
key.attribute: source.decl.attribute.public
|
||||
}
|
||||
],
|
||||
key.substructure: [
|
||||
{
|
||||
key.kind: source.lang.swift.decl.function.method.instance,
|
||||
@@ -400,7 +414,14 @@ internal enum Colors {
|
||||
key.offset: 213,
|
||||
key.length: 8,
|
||||
key.nameoffset: 218,
|
||||
key.namelength: 3
|
||||
key.namelength: 3,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 206,
|
||||
key.length: 6,
|
||||
key.attribute: source.decl.attribute.public
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.decl.var.instance,
|
||||
@@ -411,7 +432,14 @@ internal enum Colors {
|
||||
key.length: 14,
|
||||
key.typename: "Int",
|
||||
key.nameoffset: 240,
|
||||
key.namelength: 5
|
||||
key.namelength: 5,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 227,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -431,6 +459,13 @@ internal enum Colors {
|
||||
key.name: "FooOverlayClassBase"
|
||||
}
|
||||
],
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 254,
|
||||
key.length: 6,
|
||||
key.attribute: source.decl.attribute.public
|
||||
}
|
||||
],
|
||||
key.elements: [
|
||||
{
|
||||
key.kind: source.lang.swift.structure.elem.typeref,
|
||||
@@ -448,6 +483,11 @@ internal enum Colors {
|
||||
key.nameoffset: 340,
|
||||
key.namelength: 3,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 328,
|
||||
key.length: 6,
|
||||
key.attribute: source.decl.attribute.public
|
||||
},
|
||||
{
|
||||
key.offset: 319,
|
||||
key.length: 8,
|
||||
@@ -467,7 +507,14 @@ internal enum Colors {
|
||||
key.nameoffset: 363,
|
||||
key.namelength: 20,
|
||||
key.bodyoffset: 385,
|
||||
key.bodylength: 1
|
||||
key.bodylength: 1,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 348,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.decl.class,
|
||||
@@ -479,7 +526,14 @@ internal enum Colors {
|
||||
key.nameoffset: 404,
|
||||
key.namelength: 22,
|
||||
key.bodyoffset: 428,
|
||||
key.bodylength: 1
|
||||
key.bodylength: 1,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 389,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.decl.class,
|
||||
@@ -492,6 +546,13 @@ internal enum Colors {
|
||||
key.namelength: 18,
|
||||
key.bodyoffset: 467,
|
||||
key.bodylength: 117,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 432,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
],
|
||||
key.substructure: [
|
||||
{
|
||||
key.kind: source.lang.swift.decl.var.instance,
|
||||
@@ -504,7 +565,14 @@ internal enum Colors {
|
||||
key.nameoffset: 512,
|
||||
key.namelength: 4,
|
||||
key.docoffset: 473,
|
||||
key.doclength: 22
|
||||
key.doclength: 22,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 499,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.decl.var.instance,
|
||||
@@ -517,7 +585,14 @@ internal enum Colors {
|
||||
key.nameoffset: 564,
|
||||
key.namelength: 2,
|
||||
key.docoffset: 527,
|
||||
key.doclength: 19
|
||||
key.doclength: 19,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 550,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -531,6 +606,13 @@ internal enum Colors {
|
||||
key.namelength: 6,
|
||||
key.bodyoffset: 609,
|
||||
key.bodylength: 30,
|
||||
key.attributes: [
|
||||
{
|
||||
key.offset: 587,
|
||||
key.length: 8,
|
||||
key.attribute: source.decl.attribute.internal
|
||||
}
|
||||
],
|
||||
key.substructure: [
|
||||
{
|
||||
key.kind: source.lang.swift.decl.enumcase,
|
||||
|
||||
Reference in New Issue
Block a user