1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
---input---
f'{fn(lst,2)} {fn(lst,3)}'
---tokens---
'f' Literal.String.Affix
"'" Literal.String.Single
'{' Literal.String.Interpol
'fn' Name
'(' Punctuation
'lst' Name
',' Punctuation
'2' Literal.Number.Integer
')' Punctuation
'}' Literal.String.Interpol
' ' Literal.String.Single
'{' Literal.String.Interpol
'fn' Name
'(' Punctuation
'lst' Name
',' Punctuation
'3' Literal.Number.Integer
')' Punctuation
'}' Literal.String.Interpol
"'" Literal.String.Single
'\n' Text.Whitespace
|