mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
23 lines
513 B
Plaintext
23 lines
513 B
Plaintext
|
---input---
|
||
|
func abc(arg):
|
||
|
print("Hello, World!")
|
||
|
|
||
|
---tokens---
|
||
|
'func' Keyword
|
||
|
' ' Text.Whitespace
|
||
|
'abc' Name
|
||
|
'(' Punctuation
|
||
|
'arg' Name
|
||
|
')' Punctuation
|
||
|
':' Punctuation
|
||
|
'\n' Text.Whitespace
|
||
|
|
||
|
'\t' Text.Whitespace
|
||
|
'print' Name.Builtin
|
||
|
'(' Punctuation
|
||
|
'"' Literal.String.Double
|
||
|
'Hello, World!' Literal.String.Double
|
||
|
'"' Literal.String.Double
|
||
|
')' Punctuation
|
||
|
'\n' Text.Whitespace
|