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

36 lines
787 B
Text

---input---
switch (x) {
case 1: break;
default: break;
}
---tokens---
'switch' Keyword
' ' Text.Whitespace
'(' Punctuation
'x' Name
')' Punctuation
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'case' Keyword
' ' Text.Whitespace
'1' Literal.Number.Integer
':' Punctuation
' ' Text.Whitespace
'break' Keyword
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'default' Keyword
':' Punctuation
' ' Text.Whitespace
'break' Keyword
';' Punctuation
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace