| 1 |
---input--- |
| 2 |
// Top-level comment |
| 3 |
/* Multiline comment (control) |
| 4 |
*/ |
| 5 |
.font-light { |
| 6 |
font-weight: 100; // Comment |
| 7 |
/* Another control comment */ |
| 8 |
} |
| 9 |
|
| 10 |
---tokens--- |
| 11 |
'// Top-level comment\n' Comment.Single |
| 12 |
|
| 13 |
'/* Multiline comment (control)\n */' Comment.Multiline |
| 14 |
'\n' Text.Whitespace |
| 15 |
|
| 16 |
'.' Punctuation |
| 17 |
'font-light' Name.Class |
| 18 |
' ' Text.Whitespace |
| 19 |
'{' Punctuation |
| 20 |
'\n ' Text.Whitespace |
| 21 |
'font-weight' Keyword |
| 22 |
':' Punctuation |
| 23 |
' ' Text.Whitespace |
| 24 |
'100' Literal.Number.Integer |
| 25 |
';' Punctuation |
| 26 |
' ' Text.Whitespace |
| 27 |
'// Comment\n' Comment.Single |
| 28 |
|
| 29 |
' ' Text.Whitespace |
| 30 |
'/* Another control comment */' Comment.Multiline |
| 31 |
'\n' Text.Whitespace |
| 32 |
|
| 33 |
'}' Punctuation |
| 34 |
'\n' Text.Whitespace |