| 1 |
---input--- |
| 2 |
<?php |
| 3 |
#[Attribute] |
| 4 |
#[Attribute(true)] |
| 5 |
#[Attribute, Attribute] |
| 6 |
class Extra {} |
| 7 |
|
| 8 |
---tokens--- |
| 9 |
'<?php' Comment.Preproc |
| 10 |
'\n' Text |
| 11 |
|
| 12 |
'#[' Punctuation |
| 13 |
'Attribute' Name.Decorator |
| 14 |
']' Punctuation |
| 15 |
'\n' Text |
| 16 |
|
| 17 |
'#[' Punctuation |
| 18 |
'Attribute' Name.Decorator |
| 19 |
'(' Punctuation |
| 20 |
'true' Keyword |
| 21 |
')' Punctuation |
| 22 |
']' Punctuation |
| 23 |
'\n' Text |
| 24 |
|
| 25 |
'#[' Punctuation |
| 26 |
'Attribute' Name.Decorator |
| 27 |
',' Punctuation |
| 28 |
' ' Text |
| 29 |
'Attribute' Name.Decorator |
| 30 |
']' Punctuation |
| 31 |
'\n' Text |
| 32 |
|
| 33 |
'class' Keyword |
| 34 |
' ' Text |
| 35 |
'Extra' Name.Class |
| 36 |
' ' Text |
| 37 |
'{}' Punctuation |
| 38 |
'\n' Text |