This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/kotlin/test_can_cope_with_generics.txt
2022-01-06 18:34:29 +01:00

34 lines
894 B
Text

---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