| 1 |
// Unknown directives should support almost any sequence of valid tokens, |
| 2 |
// including interpolation. |
| 3 |
|
| 4 |
// By default, characters are passed through unaltered. |
| 5 |
@asdf .~@#$%^&*()_-+=[]|:<>,.?/; |
| 6 |
|
| 7 |
// Strings are tokenized as strings. |
| 8 |
@asdf "f'o" 'b"r' url(baz) url("qux"); |
| 9 |
|
| 10 |
// Comments are preserved. |
| 11 |
@asdf foo // |
| 12 |
bar; |
| 13 |
@asdf foo /* bar */ baz; |
| 14 |
|
| 15 |
// Interpolation is supported in plain text, strings, and URLs. |
| 16 |
@asdf #{1 + 2}; |
| 17 |
@asdf "foo #{"bar"} baz"; |
| 18 |
@asdf 'foo #{'bar'} baz'; |
| 19 |
@asdf url(http://#{")"}.com/); |
| 20 |
@asdf url("http://#{")"}.com/"); |