Class | Sass::Tree::ExtendNode |
In: |
lib/sass/tree/extend_node.rb
|
Parent: | Node |
A static node reprenting an `@extend` directive.
@see Sass::Tree
@param selector [Array<String, Sass::Script::Node>]
The CSS selector to extend, interspersed with {Sass::Script::Node}s representing `#{}`-interpolation.
Registers this extension in the `extends` subset map.
@param extends [Haml::Util::SubsetMap{Selector::Simple => Selector::Sequence}]
The extensions defined for this tree
@param parent [RuleNode] The parent node of this node @see Node#cssize
Runs SassScript interpolation in the selector, and then parses the result into a {Sass::Selector::CommaSequence}.
@param environment [Sass::Environment] The lexical environment containing
variable and mixin values