Sha256: 27d712481e45df36e780717cc6206f0237a70a68557cfe3cf0757120315d1b45

Contents?: true

Size: 825 Bytes

Versions: 46

Compression:

Stored size: 825 Bytes

Contents

require 'sass/tree/node'

module Sass::Tree
  # A static node reprenting an `@extend` directive.
  #
  # @see Sass::Tree
  class ExtendNode < Node
    # The parsed selector after interpolation has been resolved.
    # Only set once {Tree::Visitors::Perform} has been run.
    #
    # @return [Selector::CommaSequence]
    attr_accessor :resolved_selector

    # The CSS selector to extend, interspersed with {Sass::Script::Node}s
    # representing `#{}`-interpolation.
    #
    # @return [Array<String, Sass::Script::Node>]
    attr_reader :selector

    # @param selector [Array<String, Sass::Script::Node>]
    #   The CSS selector to extend,
    #   interspersed with {Sass::Script::Node}s
    #   representing `#{}`-interpolation.
    def initialize(selector)
      @selector = selector
      super()
    end
  end
end

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
haml_ejs-0.0.1 vendor/sass/lib/sass/tree/extend_node.rb
haml-3.1.3 vendor/sass/lib/sass/tree/extend_node.rb
sass-3.1.5 lib/sass/tree/extend_node.rb
haml-3.2.0.alpha.8 vendor/sass/lib/sass/tree/extend_node.rb
sass-3.1.4 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.11 lib/sass/tree/extend_node.rb
sass-3.1.3 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.9 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.8 lib/sass/tree/extend_node.rb
haml-3.2.0.alpha.5 vendor/sass/lib/sass/tree/extend_node.rb
haml-3.2.0.alpha.4 vendor/sass/lib/sass/tree/extend_node.rb
haml-3.1.2 vendor/sass/lib/sass/tree/extend_node.rb
sass-3.1.2 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.7 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.6 lib/sass/tree/extend_node.rb
haml-3.2.0.alpha.3 vendor/sass/lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.4 lib/sass/tree/extend_node.rb
sass-3.2.0.alpha.3 lib/sass/tree/extend_node.rb
sass-3.1.1 lib/sass/tree/extend_node.rb
haml-3.2.0.alpha.2 vendor/sass/lib/sass/tree/extend_node.rb