summaryrefslogtreecommitdiff
path: root/tests/lexers/java/test_enhanced_for.txt
blob: 1844c56dc185ed4b723329e36267a94adb3fa8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---input---
label:
for(String var2: var1) {}

---tokens---
'label:'      Name.Label
'\n'          Text

'for'         Keyword
'('           Punctuation
'String'      Name
' '           Text
'var2'        Name
':'           Punctuation
' '           Text
'var1'        Name
')'           Punctuation
' '           Text
'{'           Punctuation
'}'           Punctuation
'\n'          Text