Debian Codegraph @

tests/snippets/crystal/test_pseudo_keywords.txt

raw
1 ---input---
2 def f(x : T, line = __LINE__) forall T
3 if x.is_a?(String)
4 pp! x
5 end
6 end
7
8 ---tokens---
9 'def' Keyword
10 ' ' Text.Whitespace
11 'f' Name.Function
12 '(' Punctuation
13 'x' Name
14 ' ' Text.Whitespace
15 ':' Punctuation
16 ' ' Text.Whitespace
17 'T' Name
18 ',' Punctuation
19 ' ' Text.Whitespace
20 'line' Name
21 ' ' Text.Whitespace
22 '=' Operator
23 ' ' Text.Whitespace
24 '__LINE__' Keyword.Pseudo
25 ')' Punctuation
26 ' ' Text.Whitespace
27 'forall' Keyword.Pseudo
28 ' ' Text.Whitespace
29 'T' Name
30 '\n' Text.Whitespace
31
32 'if' Keyword
33 ' ' Text.Whitespace
34 'x' Name
35 '.is_a?' Keyword.Pseudo
36 '(' Punctuation
37 'String' Name
38 ')' Punctuation
39 '\n' Text.Whitespace
40
41 'pp!' Name.Builtin.Pseudo
42 ' ' Text.Whitespace
43 'x' Name
44 '\n' Text.Whitespace
45
46 'end' Keyword
47 '\n' Text.Whitespace
48
49 'end' Keyword
50 '\n' Text.Whitespace