sass-spec/spec/sass_4_0/interpolation/function_name/input.scss
raw| 1 | @function identity($arg) {@return $arg} |
| 2 | |
| 3 | .function-name { |
| 4 | start: #{1 + 1}foo(arg); |
| 5 | mid: foo#{1 + 1}bar(arg); |
| 6 | end: foo#{1 + 1}(arg); |
| 7 | full: #{foo}(arg); |
| 8 | |
| 9 | evaluates-args: foo#{1 + 1}bar(2 + 2); |
| 10 | $list: 1, 2, 3, 4, 5; |
| 11 | supports-splats: foo#{1 + 1}bar($list...); |
| 12 | |
| 13 | not-built-in-function: qu#{o}te(arg); |
| 14 | not-user-defined-function: id#{enti}ty(arg); |
| 15 | |
| 16 | // In 3.5, this would interpret "red()" as a live function call. |
| 17 | followed-by-function: b#{o}red(arg); |
| 18 | } |