tartrazine/spec/tests/python/test_fstring_18b.txt

26 lines
684 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
f"{fn(lst,2)} {fn(lst,3)}"
---tokens---
'f' Literal.String.Affix
'"' Literal.String.Double
'{' Literal.String.Interpol
'fn' Name
'(' Punctuation
'lst' Name
',' Punctuation
'2' Literal.Number.Integer
')' Punctuation
'}' Literal.String.Interpol
' ' Literal.String.Double
'{' Literal.String.Interpol
'fn' Name
'(' Punctuation
'lst' Name
',' Punctuation
'3' Literal.Number.Integer
')' Punctuation
'}' Literal.String.Interpol
'"' Literal.String.Double
'\n' Text.Whitespace