Sha256: 6ed13a4a99372376f150f16b987108ee71405c4e19732653b7e6bb4b3ce2c8f3

Contents?: true

Size: 840 Bytes

Versions: 29

Compression:

Stored size: 840 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_reader :args

    # A hash from keyword argument names to values.
    # @return [{String => Script::Node}]
    attr_reader :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

29 entries across 29 versions & 3 rubygems

Version Path
haml_ejs-0.0.1 vendor/sass/lib/sass/tree/mixin_node.rb
haml-3.1.3 vendor/sass/lib/sass/tree/mixin_node.rb
haml-3.2.0.alpha.8 vendor/sass/lib/sass/tree/mixin_node.rb
sass-3.1.3 lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.9 lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.8 lib/sass/tree/mixin_node.rb
haml-3.2.0.alpha.5 vendor/sass/lib/sass/tree/mixin_node.rb
haml-3.2.0.alpha.4 vendor/sass/lib/sass/tree/mixin_node.rb
haml-3.1.2 vendor/sass/lib/sass/tree/mixin_node.rb
sass-3.1.2 lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.7 lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.6 lib/sass/tree/mixin_node.rb
haml-3.2.0.alpha.3 vendor/sass/lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.4 lib/sass/tree/mixin_node.rb
sass-3.2.0.alpha.3 lib/sass/tree/mixin_node.rb
sass-3.1.1 lib/sass/tree/mixin_node.rb
haml-3.2.0.alpha.2 vendor/sass/lib/sass/tree/mixin_node.rb
haml-3.1.1 vendor/sass/lib/sass/tree/mixin_node.rb
sass-3.1.0 lib/sass/tree/mixin_node.rb
sass-3.1.0.alpha.263 lib/sass/tree/mixin_node.rb