summaryrefslogtreecommitdiff
path: root/tests/examplefiles/thrift/demo.thrift.output
blob: ae12e32bbcdbb3555f678ff562643b07f3051fe8 (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
'/* comment */' Comment.Multiline
'\n'          Text.Whitespace

'/** doc comment */' Comment.Multiline
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'namespace'   Keyword.Namespace
' '           Text.Whitespace
'cpp'         Name.Namespace
' '           Text.Whitespace
'shared'      Name
' '           Text.Whitespace
'// inline comment\n' Comment

'\n'          Text.Whitespace

'struct'      Keyword.Declaration
' '           Text.Whitespace
'Foo1'        Name.Class
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text.Whitespace

'    '        Text.Whitespace
'1'           Literal.Number.Integer
':'           Punctuation
' '           Text.Whitespace
'i32'         Keyword.Type
' '           Text.Whitespace
'key'         Name
'\n'          Text.Whitespace

'    '        Text.Whitespace
'2'           Literal.Number.Integer
':'           Punctuation
' '           Text.Whitespace
'string'      Keyword.Type
' '           Text.Whitespace
'value'       Name
'\n'          Text.Whitespace

'}'           Punctuation
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'service'     Keyword.Declaration
' '           Text.Whitespace
'Foo2'        Name.Class
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text.Whitespace

'  '          Text.Whitespace
'Foo1'        Name
' '           Text.Whitespace
'bar'         Name.Function
'('           Operator
'1'           Literal.Number.Integer
':'           Punctuation
' '           Text.Whitespace
'i32'         Keyword.Type
' '           Text.Whitespace
'key'         Name
')'           Punctuation
'\n'          Text.Whitespace

'}'           Punctuation
'\n'          Text.Whitespace