Files
swift-mirror/test/SourceKit/SyntaxMapData/syntaxmap-object-literals.swift.response
Alex Hoppen 749a13a6fe [libSyntax] Remove the C++ SyntaxClassifier
The recommended way forward is to use the SyntaxClassifier on the Swift
side.

By removing the C++ SyntaxClassifier, we can also eliminate the
-force-libsyntax-based-processing option that was used to bootstrap
incremental parsing and would generate the syntax map from a syntax
tree.
2018-07-30 09:26:18 -07:00

63 lines
1.3 KiB
Plaintext

{
key.offset: 0,
key.length: 279,
key.diagnostic_stage: source.diagnostic.stage.swift.parse,
key.syntaxmap: [
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 0,
key.length: 71
},
{
key.kind: source.lang.swift.syntaxtype.comment,
key.offset: 71,
key.length: 40
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 112,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 116,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.objectliteral,
key.offset: 124,
key.length: 40
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 165,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 169,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.objectliteral,
key.offset: 177,
key.length: 50
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 228,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 232,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.objectliteral,
key.offset: 239,
key.length: 38
}
]
}