Class | Sass::Script::StringInterpolation |
In: |
lib/sass/script/string_interpolation.rb
|
Parent: | Node |
A SassScript object representing `#{}` interpolation within a string.
@see Interpolation
Interpolation in a string is of the form `"before #{mid} after"`, where `before` and `after` may include more interpolation.
@param before [Node] The string before the interpolation @param mid [Node] The SassScript within the interpolation @param after [Node] The string after the interpolation
Returns the three components of the interpolation, `before`, `mid`, and `after`.
@return [Array<Node>] @see initialize @see Node#children
Evaluates the interpolation.
@param environment [Sass::Environment] The environment in which to evaluate the SassScript @return [Sass::Script::String] The SassScript string that is the value of the interpolation