A static node reprenting an `@extend` directive.
@see Sass::Tree
The parsed selector after interpolation has been resolved. Only set once {Tree::Visitors::Perform} has been run.
@return [Selector::CommaSequence]
The CSS selector to extend, interspersed with {Sass::Script::Node}s representing `#{}`-interpolation.
@return [Array<String, Sass::Script::Node>]
@param selector [Array<String, Sass::Script::Node>]
The CSS selector to extend, interspersed with {Sass::Script::Node}s representing `#{}`-interpolation.
@param optional [Boolean] See {#optional}
# File lib/sass/tree/extend_node.rb, line 30 def initialize(selector, optional) @selector = selector @optional = optional super() end
Whether the `@extend` is allowed to match no selectors or not.
@return [Boolean]
# File lib/sass/tree/extend_node.rb, line 23 def optional?; @optional; end