mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 22:57:50 -03:00
Imported test cases from pygments
This commit is contained in:
34
tests/kotlin/test_can_cope_with_generics.txt
Normal file
34
tests/kotlin/test_can_cope_with_generics.txt
Normal file
@ -0,0 +1,34 @@
|
||||
---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
|
Reference in New Issue
Block a user