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_modifier_keyword.txt
2022-01-06 18:34:29 +01:00

18 lines
467 B
Text

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