mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
29 lines
611 B
Plaintext
29 lines
611 B
Plaintext
|
---input---
|
||
|
|
||
|
init {
|
||
|
1 == 1 -> 3
|
||
|
}
|
||
|
|
||
|
---tokens---
|
||
|
'init' Keyword.Declaration
|
||
|
' ' Text.Whitespace
|
||
|
'{' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
' ' Text.Whitespace
|
||
|
'1' Literal.Number.Integer
|
||
|
' ' Text.Whitespace
|
||
|
'=' Operator
|
||
|
'=' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'1' Literal.Number.Integer
|
||
|
' ' Text.Whitespace
|
||
|
'-' Operator
|
||
|
'>' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'3' Literal.Number.Integer
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'}' Punctuation
|
||
|
'\n' Text.Whitespace
|