Class | Sass::Tree::Visitors::Perform |
In: |
lib/sass/tree/visitors/perform.rb
|
Parent: | Sass::Tree::Visitors::Base |
@api private @return [Sass::Script::Value::ArgList]
@param root [Tree::Node] The root node of the tree to visit. @param environment [Sass::Environment] The lexical environment. @return [Tree::Node] The resulting tree of static nodes.
Sets a variable that indicates that the first level of rule nodes shouldn‘t include the parent selector by default.
Runs SassScript interpolation in the selector, and then parses the result into a {Sass::Selector::CommaSequence}.
Returns a static DirectiveNode if this is importing a CSS file, or parses and includes the imported Sass file.
Runs SassScript interpolation in the selector, and then parses the result into a {Sass::Selector::CommaSequence}.
Runs a block of code with the current environment replaced with the given one.
@param env [Sass::Environment] The new environment for the duration of the block. @yield A block in which the environment is set to `env`. @return [Object] The return value of the block.