Debian Codegraph @

tests/snippets/c/test_switch_space_before_colon.txt

raw
1 ---input---
2 int main()
3 {
4 switch (0)
5 {
6 case 0 :
7 default :
8 ;
9 }
10 }
11
12 ---tokens---
13 'int' Keyword.Type
14 ' ' Text.Whitespace
15 'main' Name.Function
16 '(' Punctuation
17 ')' Punctuation
18 '\n' Text.Whitespace
19
20 '{' Punctuation
21 '\n' Text.Whitespace
22
23 ' ' Text.Whitespace
24 'switch' Keyword
25 ' ' Text.Whitespace
26 '(' Punctuation
27 '0' Literal.Number.Integer
28 ')' Punctuation
29 '\n' Text.Whitespace
30
31 ' ' Text.Whitespace
32 '{' Punctuation
33 '\n' Text.Whitespace
34
35 ' ' Text.Whitespace
36 'case' Keyword
37 ' ' Text.Whitespace
38 '0' Literal.Number.Integer
39 ' ' Text.Whitespace
40 ':' Punctuation
41 '\n' Text.Whitespace
42
43 ' ' Text.Whitespace
44 'default' Keyword
45 ' ' Text.Whitespace
46 ':' Operator
47 '\n' Text.Whitespace
48
49 ' ' Text.Whitespace
50 ';' Punctuation
51 '\n' Text.Whitespace
52
53 ' ' Text.Whitespace
54 '}' Punctuation
55 '\n' Text.Whitespace
56
57 '}' Punctuation
58 '\n' Text.Whitespace