mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 22:57:50 -03:00
Imported test cases from pygments
This commit is contained in:
38
tests/php/attributes.txt
Normal file
38
tests/php/attributes.txt
Normal file
@ -0,0 +1,38 @@
|
||||
---input---
|
||||
<?php
|
||||
#[Attribute]
|
||||
#[Attribute(true)]
|
||||
#[Attribute, Attribute]
|
||||
class Extra {}
|
||||
|
||||
---tokens---
|
||||
'<?php' Comment.Preproc
|
||||
'\n' Text
|
||||
|
||||
'#[' Punctuation
|
||||
'Attribute' Name.Decorator
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'#[' Punctuation
|
||||
'Attribute' Name.Decorator
|
||||
'(' Punctuation
|
||||
'true' Keyword
|
||||
')' Punctuation
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'#[' Punctuation
|
||||
'Attribute' Name.Decorator
|
||||
',' Punctuation
|
||||
' ' Text
|
||||
'Attribute' Name.Decorator
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'class' Keyword
|
||||
' ' Text
|
||||
'Extra' Name.Class
|
||||
' ' Text
|
||||
'{}' Punctuation
|
||||
'\n' Text
|
Reference in New Issue
Block a user