mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
8 lines
279 B
Swift
8 lines
279 B
Swift
// RUN: %sourcekitd-test -req=syntax-map %s | %sed_clean > %t.response
|
|
// RUN: diff -u %s.response %t.response
|
|
|
|
let image = #imageLiteral(resourceName: "cloud.png")
|
|
let color = #colorLiteral(red: 1, blue: 0, green: 1, alpha: 1)
|
|
let file = #fileLiteral(resourceName: "test.txt")
|
|
|