tests/snippets/python/test_fstring_24a.txt
raw| 1 | ---input--- |
| 2 | f'{(lambda x: x*2)(3)}' |
| 3 | |
| 4 | ---tokens--- |
| 5 | 'f' Literal.String.Affix |
| 6 | "'" Literal.String.Single |
| 7 | '{' Literal.String.Interpol |
| 8 | '(' Punctuation |
| 9 | 'lambda' Keyword |
| 10 | ' ' Text.Whitespace |
| 11 | 'x' Name |
| 12 | ':' Punctuation |
| 13 | ' ' Text.Whitespace |
| 14 | 'x' Name |
| 15 | '*' Operator |
| 16 | '2' Literal.Number.Integer |
| 17 | ')' Punctuation |
| 18 | '(' Punctuation |
| 19 | '3' Literal.Number.Integer |
| 20 | ')' Punctuation |
| 21 | '}' Literal.String.Interpol |
| 22 | "'" Literal.String.Single |
| 23 | '\n' Text.Whitespace |