summaryrefslogtreecommitdiffstats
path: root/tests/snippets/mcfunction/data.txt
blob: 440d668643f37dd9c9065e5a391f72eead9a3ebd (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
---input---
data modify storage my:storage root set value {
    key: "This NBT Compound is multiple lines",
    Count: 10b,
    tags: [
        0,
        1,
    ],
    UUID
}

tellraw @a {
    "text": "how ever",
    "color": "blue",
    "extra": [
        "this is json o_O"
    ]
}

---tokens---
'data'        Name.Builtin
' '           Text.Whitespace
'modify'      Keyword.Constant
' '           Text.Whitespace
'storage'     Keyword.Constant
' '           Text.Whitespace
'my:storage'  Name.Function
' '           Text.Whitespace
'root'        Keyword.Constant
' '           Text.Whitespace
'set'         Keyword.Constant
' '           Text.Whitespace
'value'       Keyword.Constant
' '           Text.Whitespace
'{'           Punctuation
'\n    '      Text.Whitespace
'key'         Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'"'           Literal.String.Double
'This NBT Compound is multiple lines' Literal.String.Double
'"'           Literal.String.Double
','           Punctuation
'\n    '      Text.Whitespace
'Count'       Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'10'          Literal.Number.Integer
'b'           Name.Attribute
','           Punctuation
'\n    '      Text.Whitespace
'tags'        Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'['           Punctuation
'\n        '  Text.Whitespace
'0'           Literal.Number.Integer
','           Punctuation
'\n        '  Text.Whitespace
'1'           Literal.Number.Integer
','           Punctuation
'\n    '      Text.Whitespace
']'           Punctuation
','           Punctuation
'\n    '      Text.Whitespace
'UUID'        Name.Attribute
'\n'          Text.Whitespace

'}'           Punctuation
'\n\n'        Text.Whitespace

'tellraw'     Name.Builtin
' '           Text.Whitespace
'@a'          Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n    '      Text.Whitespace
'"'           Name.Attribute
'text'        Name.Attribute
'"'           Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'"'           Literal.String.Double
'how ever'    Literal.String.Double
'"'           Literal.String.Double
','           Punctuation
'\n    '      Text.Whitespace
'"'           Name.Attribute
'color'       Name.Attribute
'"'           Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'"'           Literal.String.Double
'blue'        Literal.String.Double
'"'           Literal.String.Double
','           Punctuation
'\n    '      Text.Whitespace
'"'           Name.Attribute
'extra'       Name.Attribute
'"'           Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'['           Punctuation
'\n        '  Text.Whitespace
'"'           Name.Attribute
'this'        Name.Attribute
' '           Text.Whitespace
'is'          Name.Attribute
' '           Text.Whitespace
'json'        Name.Attribute
' '           Text.Whitespace
'o_'          Name.Attribute
'O'           Name.Attribute
'"'           Name.Attribute
'\n    '      Text.Whitespace
']'           Punctuation
'\n'          Text.Whitespace

'}'           Punctuation
'\n'          Text.Whitespace