mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
36 lines
899 B
Plaintext
36 lines
899 B
Plaintext
---input---
|
|
val something = "something"
|
|
"Here is $something"
|
|
"Here is ${something.toUpperList()}"
|
|
|
|
---tokens---
|
|
'val' Keyword.Declaration
|
|
' ' Text.Whitespace
|
|
'something' Name.Variable
|
|
' ' Text.Whitespace
|
|
'=' Operator
|
|
' ' Text.Whitespace
|
|
'"' Literal.String
|
|
'something' Literal.String
|
|
'"' Literal.String
|
|
'\n' Text.Whitespace
|
|
|
|
'"' Literal.String
|
|
'Here is ' Literal.String
|
|
'$' Literal.String.Interpol
|
|
'something' Name
|
|
'"' Literal.String
|
|
'\n' Text.Whitespace
|
|
|
|
'"' Literal.String
|
|
'Here is ' Literal.String
|
|
'${' Literal.String.Interpol
|
|
'something' Name
|
|
'.' Punctuation
|
|
'toUpperList' Name.Attribute
|
|
'(' Punctuation
|
|
')' Punctuation
|
|
'}' Literal.String.Interpol
|
|
'"' Literal.String
|
|
'\n' Text.Whitespace
|