blob: 7af70280fdec61208577a43c6237ee94ad34ee80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* This file /* which is totally legal scala */ will not be highlighted
correcty by pygments */
object ⌘ {
val `interface` = """
A
"Multiline"
String
"""
val foo_+ = "foo plus"
val foo_⌬⌬ = "double benzene"
// Test some interpolated strings
val mu = s"${if (true) "a:b" else "c" {with "braces"}}"
val mu2 = f"${if (true) "a:b" else "c" {with "braces"}}"
val raw = raw"a raw\nstring\"with escaped quotes"
def main(argv: Array[String]) {
println(⌘.interface + " " + foo_+ + " " + foo_⌬⌬ )
}
}
|