update components

This commit is contained in:
Luke Pulverenti
2016-02-03 18:00:01 -05:00
parent 59ea1c2f7d
commit cf577ba8eb
1136 changed files with 59263 additions and 576 deletions
@@ -0,0 +1,30 @@
''
'fo\'obar'
'foo
$bar
baz'
""
"fo\"obar"
"foo
$bar
baz"
----------------------------------------------------
[
["string", ["''"]],
["string", ["'fo\\'obar'"]],
["string", ["'foo\r\n$bar\r\nbaz'"]],
["string", [["double-quoted", ["\"\""]]]],
["string", [["double-quoted", ["\"fo\\\"obar\""]]]],
["string", [["double-quoted", [
"\"foo\r\n",
["interpolation", ["$bar"]],
"\r\nbaz\""
]]]]
]
----------------------------------------------------
Checks for strings.
Also checks that string interpolation only applies to double-quoted strings.