tartrazine/spec/tests/kotlin/test_can_cope_with_generics.txt

35 lines
894 B
Plaintext

---input---
inline fun <reified T : ContractState> VaultService.queryBy(): Vault.Page<T> {
---tokens---
'inline' Keyword.Declaration
' ' Text.Whitespace
'fun' Keyword.Declaration
' ' Text.Whitespace
'<' Operator
'reified' Keyword
' ' Text.Whitespace
'T' Name
' ' Text.Whitespace
':' Punctuation
' ' Text.Whitespace
'ContractState' Name
'>' Operator
' ' Text.Whitespace
'VaultService' Name
'.' Punctuation
'queryBy' Name.Function
'(' Punctuation
')' Punctuation
':' Punctuation
' ' Text.Whitespace
'Vault' Name
'.' Punctuation
'Page' Name.Attribute
'<' Operator
'T' Name
'>' Operator
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace