Debian Codegraph @

tests/snippets/crystal/test_percent_strings.txt

raw
1 ---input---
2 %(hello ("world"))
3 %[hello ["world"]]
4 %{hello "world"}
5 %<hello <"world">>
6 %|hello "world"|
7
8 ---tokens---
9 '%(' Literal.String.Other
10 'hello ' Literal.String.Other
11 '(' Literal.String.Other
12 '"world"' Literal.String.Other
13 ')' Literal.String.Other
14 ')' Literal.String.Other
15 '\n' Text.Whitespace
16
17 '%[' Literal.String.Other
18 'hello ' Literal.String.Other
19 '[' Literal.String.Other
20 '"world"' Literal.String.Other
21 ']' Literal.String.Other
22 ']' Literal.String.Other
23 '\n' Text.Whitespace
24
25 '%{' Literal.String.Other
26 'hello "world"' Literal.String.Other
27 '}' Literal.String.Other
28 '\n' Text.Whitespace
29
30 '%<' Literal.String.Other
31 'hello ' Literal.String.Other
32 '<' Literal.String.Other
33 '"world"' Literal.String.Other
34 '>' Literal.String.Other
35 '>' Literal.String.Other
36 '\n' Text.Whitespace
37
38 '%|' Literal.String.Other
39 'hello "world"' Literal.String.Other
40 '|' Literal.String.Other
41 '\n' Text.Whitespace