Imported test cases from pygments

This commit is contained in:
2024-08-03 07:36:47 -03:00
parent c9df4be879
commit 99e1e2b0cb
692 changed files with 37403 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---input---
@NO;
---tokens---
'@NO' Literal.Number
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,9 @@
---input---
@(YES);
---tokens---
'@(' Literal
'YES' Name.Builtin
')' Literal
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,11 @@
---input---
@(1+2);
---tokens---
'@(' Literal
'1' Literal.Number.Integer
'+' Operator
'2' Literal.Number.Integer
')' Literal
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,9 @@
---input---
@(1);
---tokens---
'@(' Literal
'1' Literal.Number.Integer
')' Literal
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,15 @@
---input---
@(1+(2+3));
---tokens---
'@(' Literal
'1' Literal.Number.Integer
'+' Operator
'(' Punctuation
'2' Literal.Number.Integer
'+' Operator
'3' Literal.Number.Integer
')' Punctuation
')' Literal
';' Punctuation
'\n' Text.Whitespace

View File

@ -0,0 +1,9 @@
---input---
@import ModuleA;
---tokens---
'@import' Keyword
' ' Text.Whitespace
'ModuleA' Name
';' Punctuation
'\n' Text.Whitespace