public function SassLiteral::op_concat in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::op_concat()
* The SassScript default operation (e.g. $a $b, "foo" "bar"). *
Parameters
sassLiteral the value to concatenate with a space to this: * @return sassString the string values of this and other seperated by " "
File
- phamlp/
sass/ script/ literals/ SassLiteral.php, line 311
Class
- SassLiteral
- SassLiteral class. Base class for all Sass literals. Sass data types are extended from this class and these override the operation methods to provide the appropriate semantics. @package PHamlP @subpackage Sass.script.literals
Code
public function op_concat($other) {
return new SassString($this
->toString() . ' ' . $other
->toString());
}