Debian Codegraph @

tests/snippets/kotlin/test_can_cope_with_generics.txt

raw
1 ---input---
2 inline fun <reified T : ContractState> VaultService.queryBy(): Vault.Page<T> {
3
4 ---tokens---
5 'inline' Keyword.Declaration
6 ' ' Text.Whitespace
7 'fun' Keyword.Declaration
8 ' ' Text.Whitespace
9 '<' Operator
10 'reified' Keyword
11 ' ' Text.Whitespace
12 'T' Name
13 ' ' Text.Whitespace
14 ':' Punctuation
15 ' ' Text.Whitespace
16 'ContractState' Name
17 '>' Operator
18 ' ' Text.Whitespace
19 'VaultService' Name
20 '.' Punctuation
21 'queryBy' Name.Function
22 '(' Punctuation
23 ')' Punctuation
24 ':' Punctuation
25 ' ' Text.Whitespace
26 'Vault' Name
27 '.' Punctuation
28 'Page' Name.Attribute
29 '<' Operator
30 'T' Name
31 '>' Operator
32 ' ' Text.Whitespace
33 '{' Punctuation
34 '\n' Text.Whitespace