blob: 0ef51a52d11829809900a7000518d45e86f6363d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---input---
f"{(lambda x: x*2)(3)}"
---tokens---
'f' Literal.String.Affix
'"' Literal.String.Double
'{' Literal.String.Interpol
'(' Punctuation
'lambda' Keyword
' ' Text
'x' Name
':' Punctuation
' ' Text
'x' Name
'*' Operator
'2' Literal.Number.Integer
')' Punctuation
'(' Punctuation
'3' Literal.Number.Integer
')' Punctuation
'}' Literal.String.Interpol
'"' Literal.String.Double
'\n' Text
|