Class Sass::Tree::ExtendNode
In: lib/sass/tree/extend_node.rb
Parent: Node

A static node reprenting an `@extend` directive.

@see Sass::Tree

Methods

cssize   new   perform!   to_src  

Public Class methods

@param selector [Array<String, Sass::Script::Node>]

  The CSS selector to extend,
  interspersed with {Sass::Script::Node}s
  representing `#{}`-interpolation.

Public Instance methods

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

Protected Instance methods

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

[Validate]