49 lines
636 B
Plaintext
49 lines
636 B
Plaintext
""
|
|
"foo"
|
|
"\""
|
|
|
|
"foo/${bar}"
|
|
|
|
''foo''
|
|
''bar'''baz''
|
|
|
|
''
|
|
foo/${bar}
|
|
''
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["string", ["\"\""]],
|
|
["string", ["\"foo\""]],
|
|
["string", ["\"\\\"\""]],
|
|
|
|
["string", [
|
|
"\"foo/",
|
|
["interpolation", [
|
|
["punctuation", "${"],
|
|
["expression", ["bar"]],
|
|
["punctuation", "}"]
|
|
]],
|
|
"\""
|
|
]],
|
|
|
|
["string", ["''foo''"]],
|
|
["string", ["''bar'''baz''"]],
|
|
|
|
["string", [
|
|
"''\r\nfoo/",
|
|
["interpolation", [
|
|
["punctuation", "${"],
|
|
["expression", ["bar"]],
|
|
["punctuation", "}"]
|
|
]],
|
|
|
|
"\r\n''"
|
|
]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for strings.
|