| 1 |
---input--- |
| 2 |
#my-function( |
| 3 |
..spread, |
| 4 |
named-param: n, |
| 5 |
next: ( |
| 6 |
inner: ( |
| 7 |
a: "foo bar", |
| 8 |
b: none, |
| 9 |
c: 40, |
| 10 |
) |
| 11 |
) |
| 12 |
)Regular Text |
| 13 |
= A Heading |
| 14 |
|
| 15 |
---tokens--- |
| 16 |
'#my-function' Name.Function |
| 17 |
'(' Punctuation |
| 18 |
'\n ' Text.Whitespace |
| 19 |
'..' Punctuation |
| 20 |
'spread' Name.Variable |
| 21 |
',' Punctuation |
| 22 |
'\n ' Text.Whitespace |
| 23 |
'named-param' Name.Variable |
| 24 |
':' Punctuation |
| 25 |
' ' Text.Whitespace |
| 26 |
'n' Name.Variable |
| 27 |
',' Punctuation |
| 28 |
'\n ' Text.Whitespace |
| 29 |
'next' Name.Variable |
| 30 |
':' Punctuation |
| 31 |
' ' Text.Whitespace |
| 32 |
'(' Punctuation |
| 33 |
'\n ' Text.Whitespace |
| 34 |
'inner' Name.Variable |
| 35 |
':' Punctuation |
| 36 |
' ' Text.Whitespace |
| 37 |
'(' Punctuation |
| 38 |
'\n ' Text.Whitespace |
| 39 |
'a' Name.Variable |
| 40 |
':' Punctuation |
| 41 |
' ' Text.Whitespace |
| 42 |
'"foo bar"' Literal.String.Double |
| 43 |
',' Punctuation |
| 44 |
'\n ' Text.Whitespace |
| 45 |
'b' Name.Variable |
| 46 |
':' Punctuation |
| 47 |
' ' Text.Whitespace |
| 48 |
'none' Keyword.Constant |
| 49 |
',' Punctuation |
| 50 |
'\n ' Text.Whitespace |
| 51 |
'c' Name.Variable |
| 52 |
':' Punctuation |
| 53 |
' ' Text.Whitespace |
| 54 |
'40' Literal.Number.Integer |
| 55 |
',' Punctuation |
| 56 |
'\n ' Text.Whitespace |
| 57 |
')' Punctuation |
| 58 |
'\n ' Text.Whitespace |
| 59 |
')' Punctuation |
| 60 |
'\n' Text.Whitespace |
| 61 |
|
| 62 |
')' Punctuation |
| 63 |
'Regular' Text |
| 64 |
' ' Text.Whitespace |
| 65 |
'Text' Text |
| 66 |
'\n' Text.Whitespace |
| 67 |
|
| 68 |
'= A Heading' Generic.Heading |
| 69 |
'\n' Text.Whitespace |