tartrazine/spec/tests/java/test_string_literals.txt

45 lines
904 B
Plaintext

---input---
""
"abc"
"ひらがな"
"123"
"\\"
"\t"
"\""
---tokens---
'"' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'abc' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'ひらがな' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'123' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\\\' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\' Literal.String
't' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'"' Literal.String
'\\"' Literal.String
'"' Literal.String
'\n' Text.Whitespace