26 lines
365 B
TypeScript
26 lines
365 B
TypeScript
|
//// [scannerStringLiterals.ts]
|
||
|
""
|
||
|
" "
|
||
|
"a"
|
||
|
"'"
|
||
|
'"'
|
||
|
"\""
|
||
|
'\u2192\ '
|
||
|
"Legal line continuation \
|
||
|
"
|
||
|
"Should error because of newline.
|
||
|
"Should error because of end of file.
|
||
|
|
||
|
//// [scannerStringLiterals.js]
|
||
|
"";
|
||
|
" ";
|
||
|
"a";
|
||
|
"'";
|
||
|
'"';
|
||
|
"\"";
|
||
|
'\u2192\ ';
|
||
|
"Legal line continuation \
|
||
|
";
|
||
|
"Should error because of newline.;
|
||
|
"Should error because of end of file.;
|