Class | Sass::Script::Funcall |
In: |
lib/sass/script/funcall.rb
|
Parent: | Node |
A SassScript parse node representing a function call.
A function call either calls one of the functions in {Script::Functions}, or if no function with the given name exists it returns a string representation of the function call.
args | [R] |
The arguments to the function.
@return [Array<Script::Node>] |
keywords | [R] |
The keyword arguments to the function.
@return [{String => Script::Node}] |
name | [R] |
The name of the function.
@return [String] |
@param name [String] See \{name} @param args [Array<Script::Node>] See \{args} @param keywords [{String => Script::Node}] See \{keywords}
Evaluates the function call.
@param environment [Sass::Environment] The environment in which to evaluate the SassScript @return [Literal] The SassScript object that is the value of the function call @raise [Sass::SyntaxError] if the function call raises an ArgumentError
This method is factored out from `_perform` so that compass can override it with a cross-browser implementation for functions that require vendor prefixes in the generated css.