blob: becc02362fc22fcfd3fa58c8195d0393f68a0a25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
---input---
"\""
"\\"
"\/"
"\b"
"\f"
"\n"
"\r"
"\t"
"\u0123"
"\u4567"
"\u89ab"
"\ucdef"
"\uABCD"
"\uEF01"
// Incomplete sequences
"\uz"
"\u1z"
"\u12z"
"\u123z"
---tokens---
'"\\""' Literal.String.Double
'\n' Text.Whitespace
'"\\\\"' Literal.String.Double
'\n' Text.Whitespace
'"\\/"' Literal.String.Double
'\n' Text.Whitespace
'"\\b"' Literal.String.Double
'\n' Text.Whitespace
'"\\f"' Literal.String.Double
'\n' Text.Whitespace
'"\\n"' Literal.String.Double
'\n' Text.Whitespace
'"\\r"' Literal.String.Double
'\n' Text.Whitespace
'"\\t"' Literal.String.Double
'\n' Text.Whitespace
'"\\u0123"' Literal.String.Double
'\n' Text.Whitespace
'"\\u4567"' Literal.String.Double
'\n' Text.Whitespace
'"\\u89ab"' Literal.String.Double
'\n' Text.Whitespace
'"\\ucdef"' Literal.String.Double
'\n' Text.Whitespace
'"\\uABCD"' Literal.String.Double
'\n' Text.Whitespace
'"\\uEF01"' Literal.String.Double
'\n\n' Text.Whitespace
'// Incomplete sequences' Comment.Single
'\n' Text.Whitespace
'"\\uz"' Literal.String.Double
'\n' Text.Whitespace
'"\\u1z"' Literal.String.Double
'\n' Text.Whitespace
'"\\u12z"' Literal.String.Double
'\n' Text.Whitespace
'"\\u123z"' Literal.String.Double
'\n' Text.Whitespace
|