tartrazine/spec/tests/python/test_fstring_14a.txt

21 lines
597 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---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