mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
21 lines
556 B
Plaintext
21 lines
556 B
Plaintext
---input---
|
|
message.append(f' [line {lineno:2d}]')
|
|
|
|
---tokens---
|
|
'message' Name
|
|
'.' Operator
|
|
'append' Name
|
|
'(' Punctuation
|
|
'f' Literal.String.Affix
|
|
"'" Literal.String.Single
|
|
' [line ' Literal.String.Single
|
|
'{' Literal.String.Interpol
|
|
'lineno' Name
|
|
':' Literal.String.Interpol
|
|
'2d' Literal.String.Single
|
|
'}' Literal.String.Interpol
|
|
']' Literal.String.Single
|
|
"'" Literal.String.Single
|
|
')' Punctuation
|
|
'\n' Text.Whitespace
|