| 1 |
---input--- |
| 2 |
"hello world" |
| 3 |
|
| 4 |
"hello ${ { a = "world"; }.a }" |
| 5 |
|
| 6 |
"1 2 ${toString 3}" |
| 7 |
|
| 8 |
"${pkgs.bash}/bin/sh" |
| 9 |
|
| 10 |
true, false, null, 123, 3.141 |
| 11 |
|
| 12 |
-1 |
| 13 |
|
| 14 |
/etc |
| 15 |
./foo.png |
| 16 |
~/.config |
| 17 |
|
| 18 |
<nixpkgs> |
| 19 |
|
| 20 |
'' |
| 21 |
multi |
| 22 |
line |
| 23 |
string |
| 24 |
'' |
| 25 |
|
| 26 |
'' |
| 27 |
multi |
| 28 |
${value} |
| 29 |
string |
| 30 |
'' |
| 31 |
|
| 32 |
---tokens--- |
| 33 |
'"' Literal.String.Double |
| 34 |
'hello world' Literal.String.Double |
| 35 |
'"' Literal.String.Double |
| 36 |
'\n\n' Text |
| 37 |
|
| 38 |
'"' Literal.String.Double |
| 39 |
'hello ' Literal.String.Double |
| 40 |
'${' Literal.String.Interpol |
| 41 |
' ' Text |
| 42 |
'{' Punctuation |
| 43 |
' ' Text |
| 44 |
'a' Literal.String.Symbol |
| 45 |
' ' Text |
| 46 |
'=' Operator |
| 47 |
' ' Text |
| 48 |
'"' Literal.String.Double |
| 49 |
'world' Literal.String.Double |
| 50 |
'"' Literal.String.Double |
| 51 |
';' Punctuation |
| 52 |
' ' Text |
| 53 |
'}' Punctuation |
| 54 |
'.' Operator |
| 55 |
'a' Text |
| 56 |
' ' Text |
| 57 |
'}' Literal.String.Interpol |
| 58 |
'"' Literal.String.Double |
| 59 |
'\n\n' Text |
| 60 |
|
| 61 |
'"' Literal.String.Double |
| 62 |
'1 2 ' Literal.String.Double |
| 63 |
'${' Literal.String.Interpol |
| 64 |
'toString' Name.Builtin |
| 65 |
' ' Text |
| 66 |
'3' Literal.Number.Integer |
| 67 |
'}' Literal.String.Interpol |
| 68 |
'"' Literal.String.Double |
| 69 |
'\n\n' Text |
| 70 |
|
| 71 |
'"' Literal.String.Double |
| 72 |
'${' Literal.String.Interpol |
| 73 |
'pkgs' Text |
| 74 |
'.' Operator |
| 75 |
'bash' Text |
| 76 |
'}' Literal.String.Interpol |
| 77 |
'/bin/sh' Literal.String.Double |
| 78 |
'"' Literal.String.Double |
| 79 |
'\n\n' Text |
| 80 |
|
| 81 |
'true' Name.Constant |
| 82 |
',' Punctuation |
| 83 |
' ' Text |
| 84 |
'false' Name.Constant |
| 85 |
',' Punctuation |
| 86 |
' ' Text |
| 87 |
'null' Name.Constant |
| 88 |
',' Punctuation |
| 89 |
' ' Text |
| 90 |
'123' Literal.Number.Integer |
| 91 |
',' Punctuation |
| 92 |
' ' Text |
| 93 |
'3.141' Literal.Number.Float |
| 94 |
'\n\n' Text |
| 95 |
|
| 96 |
'-1' Literal.Number.Integer |
| 97 |
'\n\n' Text |
| 98 |
|
| 99 |
'/etc' Literal |
| 100 |
'\n' Text |
| 101 |
|
| 102 |
'./foo.png' Literal |
| 103 |
'\n' Text |
| 104 |
|
| 105 |
'~/.config' Literal |
| 106 |
'\n\n' Text |
| 107 |
|
| 108 |
'<nixpkgs>' Literal |
| 109 |
'\n\n' Text |
| 110 |
|
| 111 |
"''" Literal.String.Multiline |
| 112 |
'\n multi\n line\n string\n' Literal.String.Multiline |
| 113 |
|
| 114 |
"''" Literal.String.Multiline |
| 115 |
'\n\n' Text |
| 116 |
|
| 117 |
"''" Literal.String.Multiline |
| 118 |
'\n multi\n ' Literal.String.Multiline |
| 119 |
'${' Literal.String.Interpol |
| 120 |
'value' Text |
| 121 |
'}' Literal.String.Interpol |
| 122 |
'\n string\n' Literal.String.Multiline |
| 123 |
|
| 124 |
"''" Literal.String.Multiline |
| 125 |
'\n' Text |