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:
18
tests/kotlin/test_modifier_keyword.txt
Normal file
18
tests/kotlin/test_modifier_keyword.txt
Normal file
@ -0,0 +1,18 @@
|
||||
---input---
|
||||
data class A(val data: String)
|
||||
|
||||
---tokens---
|
||||
'data' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'class' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'A' Name.Class
|
||||
'(' Punctuation
|
||||
'val' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'data' Name.Variable
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'String' Keyword.Type
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user