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:
33
tests/elpi/test_quotations.txt
Normal file
33
tests/elpi/test_quotations.txt
Normal file
@ -0,0 +1,33 @@
|
||||
---input---
|
||||
tc {{ Eq lp:A }} {{ f lp:B l } }} :- foo A B.
|
||||
|
||||
---tokens---
|
||||
'tc' Text
|
||||
' ' Text.Whitespace
|
||||
'{{' Punctuation
|
||||
' Eq ' Text
|
||||
'lp:' Keyword
|
||||
'A' Name.Variable
|
||||
' ' Text
|
||||
'}}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'{{' Punctuation
|
||||
' f ' Text
|
||||
'lp:' Keyword
|
||||
'B' Name.Variable
|
||||
' ' Text
|
||||
'l' Text
|
||||
' ' Text
|
||||
'}' Text
|
||||
' ' Text
|
||||
'}}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
':-' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'foo' Text
|
||||
' ' Text.Whitespace
|
||||
'A' Name.Variable
|
||||
' ' Text.Whitespace
|
||||
'B' Name.Variable
|
||||
'.' Operator
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user