effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/lisp/string_feature.test
2019-03-14 13:10:17 +08:00

28 lines
505 B
Plaintext

(
""
"foo
bar"
"\"foo\""
"foo\tbar"
"`foo'"
"FOO."
)
----------------------------------------------------
[
["punctuation", "("],
["string", [ "\"\"" ]],
["string", [ "\"foo\r\nbar\"" ]],
["string", [ "\"\\\"foo\\\"\"" ]],
["string", [ "\"foo\\tbar\"" ]],
["string", [ "\"", ["symbol", "`foo'"], "\"" ]],
["string", [ "\"", ["argument", "FOO"], ".\"" ]],
["punctuation", ")"]
]
----------------------------------------------------
Checks for all string variations.