mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
21 lines
597 B
Plaintext
21 lines
597 B
Plaintext
---input---
|
|
f'result: {value:{width}.{precision}}'
|
|
|
|
---tokens---
|
|
'f' Literal.String.Affix
|
|
"'" Literal.String.Single
|
|
'result: ' Literal.String.Single
|
|
'{' Literal.String.Interpol
|
|
'value' Name
|
|
':' Literal.String.Interpol
|
|
'{' Literal.String.Interpol
|
|
'width' Name
|
|
'}' Literal.String.Interpol
|
|
'.' Literal.String.Single
|
|
'{' Literal.String.Interpol
|
|
'precision' Name
|
|
'}' Literal.String.Interpol
|
|
'}' Literal.String.Interpol
|
|
"'" Literal.String.Single
|
|
'\n' Text.Whitespace
|