Sha256: a51f8ad7db774e5a4bfda52c43f6305e34625b34f78cd42dbc5f01e642510029

Contents?: true

Size: 844 Bytes

Versions: 420

Compression:

Stored size: 844 Bytes

Contents

require 'sass/tree/node'

module Sass::Tree
  # A static node representing a mixin include.
  # When in a static tree, the sole purpose is to wrap exceptions
  # to add the mixin to the backtrace.
  #
  # @see Sass::Tree
  class MixinNode < Node
    # The name of the mixin.
    # @return [String]
    attr_reader :name

    # The arguments to the mixin.
    # @return [Array<Script::Node>]
    attr_accessor :args

    # A hash from keyword argument names to values.
    # @return [{String => Script::Node}]
    attr_accessor :keywords

    # @param name [String] The name of the mixin
    # @param args [Array<Script::Node>] See \{#args}
    # @param keywords [{String => Script::Node}] See \{#keywords}
    def initialize(name, args, keywords)
      @name = name
      @args = args
      @keywords = keywords
      super()
    end
  end
end

Version data entries

420 entries across 139 versions & 7 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.19/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/mixin_node.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.18/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.18/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.19/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.19/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/mixin_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/mixin_node.rb