Debian Codegraph @

tests/snippets/mcfunction/commenting.txt

raw
1 ---input---
2 #> Get: #rx.playerdb:api/v2/get
3 #>
4 #> @input
5 #> $in.uid rx.io
6 #>
7 #> @output
8 #> rx.playerdb:io player
9 #
10 # Selects data inside the database and copies to rx.playerdb:io player
11 # See #api/v2/select for more info..
12 #
13 #* Note: something, something, this is important..
14
15 # Normal Comment
16
17 # This **shouldn't** be a comment..
18 scoreboard players operation @s obj = #fakeplayer obj
19
20 #> single line block comment
21 tellraw @a "This string # has # hashtags o_O"
22
23 ---tokens---
24 '#>' Comment.Multiline
25 ' ' Text.Whitespace
26 'Get:' Literal.String.Doc
27 ' ' Text.Whitespace
28 '#rx.playerdb:api/v2/get' Name.Function
29 '\n' Text
30
31 '#>' Comment.Multiline
32 '\n' Text
33
34 '#>' Comment.Multiline
35 ' ' Text.Whitespace
36 '@input' Name.Decorator
37 '\n' Text
38
39 '#>' Comment.Multiline
40 ' ' Text.Whitespace
41 '$in.uid' Name.Variable.Magic
42 ' ' Text.Whitespace
43 'rx.io' Literal.String.Doc
44 '\n' Text
45
46 '#>' Comment.Multiline
47 '\n' Text
48
49 '#>' Comment.Multiline
50 ' ' Text.Whitespace
51 '@output' Name.Decorator
52 '\n' Text
53
54 '#>' Comment.Multiline
55 ' ' Text.Whitespace
56 'rx.playerdb:io' Name.Function
57 ' ' Text.Whitespace
58 'player' Literal.String.Doc
59 '\n' Text
60
61 '#' Comment.Multiline
62 '\n' Text
63
64 '#' Comment.Multiline
65 ' ' Text.Whitespace
66 'Selects' Comment.Multiline
67 ' ' Text.Whitespace
68 'data' Comment.Multiline
69 ' ' Text.Whitespace
70 'inside' Comment.Multiline
71 ' ' Text.Whitespace
72 'the' Comment.Multiline
73 ' ' Text.Whitespace
74 'database' Comment.Multiline
75 ' ' Text.Whitespace
76 'and' Comment.Multiline
77 ' ' Text.Whitespace
78 'copies' Comment.Multiline
79 ' ' Text.Whitespace
80 'to' Comment.Multiline
81 ' ' Text.Whitespace
82 'rx.playerdb:io' Name.Function
83 ' ' Text.Whitespace
84 'player' Comment.Multiline
85 '\n' Text
86
87 '#' Comment.Multiline
88 ' ' Text.Whitespace
89 'See' Comment.Multiline
90 ' ' Text.Whitespace
91 '#api/v2/select' Name.Function
92 ' ' Text.Whitespace
93 'for' Comment.Multiline
94 ' ' Text.Whitespace
95 'more' Comment.Multiline
96 ' ' Text.Whitespace
97 'info..' Comment.Multiline
98 '\n' Text
99
100 '#' Comment.Multiline
101 ' \n' Text.Whitespace
102
103 '#*' Comment.Multiline
104 ' ' Text.Whitespace
105 'Note:' Comment.Multiline
106 ' ' Text.Whitespace
107 'something,' Comment.Multiline
108 ' ' Text.Whitespace
109 'something,' Comment.Multiline
110 ' ' Text.Whitespace
111 'this' Comment.Multiline
112 ' ' Text.Whitespace
113 'is' Comment.Multiline
114 ' ' Text.Whitespace
115 'important..' Comment.Multiline
116 '\n' Text
117
118 '\n#' Comment.Multiline
119 ' ' Text.Whitespace
120 'Normal' Comment.Multiline
121 ' ' Text.Whitespace
122 'Comment' Comment.Multiline
123 '\n' Text
124
125 '\n#' Comment.Multiline
126 ' ' Text.Whitespace
127 'This' Comment.Multiline
128 ' ' Text.Whitespace
129 "**shouldn't**" Comment.Multiline
130 ' ' Text.Whitespace
131 'be' Comment.Multiline
132 ' ' Text.Whitespace
133 'a' Comment.Multiline
134 ' ' Text.Whitespace
135 'comment..' Comment.Multiline
136 '\n' Text
137
138 'scoreboard' Name.Builtin
139 ' ' Text.Whitespace
140 'players' Keyword.Constant
141 ' ' Text.Whitespace
142 'operation' Keyword.Constant
143 ' ' Text.Whitespace
144 '@s' Name.Variable
145 ' ' Text.Whitespace
146 'obj' Keyword.Constant
147 ' ' Text.Whitespace
148 '=' Operator
149 ' ' Text.Whitespace
150 '#fakeplayer' Name.Variable.Magic
151 ' ' Text.Whitespace
152 'obj' Keyword.Constant
153 '\n\n' Text.Whitespace
154
155 '#>' Comment.Multiline
156 ' ' Text.Whitespace
157 'single' Literal.String.Doc
158 ' ' Text.Whitespace
159 'line' Literal.String.Doc
160 ' ' Text.Whitespace
161 'block' Literal.String.Doc
162 ' ' Text.Whitespace
163 'comment' Literal.String.Doc
164 '\n' Text
165
166 'tellraw' Name.Builtin
167 ' ' Text.Whitespace
168 '@a' Name.Variable
169 ' ' Text.Whitespace
170 '"' Literal.String.Double
171 'This string # has # hashtags o_O' Literal.String.Double
172 '"' Literal.String.Double
173 '\n' Text.Whitespace