summaryrefslogtreecommitdiffstats
path: root/tests/snippets/mcfunction/selectors.txt
blob: ea69c7875db3c83aef83b9bdb08a570437f4333d (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
---input---
execute
    as @a[
        advancements={
            minecraft:story/form_obsidian={
                foo=true,
                bar=false
            },
            minecraft:story/follow_ender_eye={
                foo=false, bar=true
            }
        }
    ] run
        say this command is nuts

---tokens---
'execute'     Name.Builtin
'\n    '      Text.Whitespace
'as'          Keyword.Constant
' '           Text.Whitespace
'@a'          Name.Variable
'['           Punctuation
'\n        '  Text.Whitespace
'advancements' Name.Attribute
'='           Punctuation
'{'           Punctuation
'\n            ' Text.Whitespace
'minecraft:story/form_obsidian' Name.Attribute
'='           Punctuation
'{'           Punctuation
'\n                ' Text.Whitespace
'foo'         Name.Attribute
'='           Punctuation
'true'        Name.Tag
','           Punctuation
'\n                ' Text.Whitespace
'bar'         Name.Attribute
'='           Punctuation
'false'       Name.Tag
'\n            ' Text.Whitespace
'}'           Punctuation
','           Punctuation
'\n            ' Text.Whitespace
'minecraft:story/follow_ender_eye' Name.Attribute
'='           Punctuation
'{'           Punctuation
'\n                ' Text.Whitespace
'foo'         Name.Attribute
'='           Punctuation
'false'       Name.Tag
','           Punctuation
' '           Text.Whitespace
'bar'         Name.Attribute
'='           Punctuation
'true'        Name.Tag
'\n            ' Text.Whitespace
'}'           Punctuation
'\n        '  Text.Whitespace
'}'           Punctuation
'\n    '      Text.Whitespace
']'           Punctuation
' '           Text.Whitespace
'run'         Keyword.Constant
'\n        say' Name.Builtin
' '           Text.Whitespace
'this'        Keyword.Constant
' '           Text.Whitespace
'command'     Keyword.Constant
' '           Text.Whitespace
'is'          Keyword.Constant
' '           Text.Whitespace
'nuts'        Keyword.Constant
'\n'          Text.Whitespace