Sha256: 2f92db365370d6953ffad2e545febc906cec1232335ae1ec8b3691287c460e43

Contents?: true

Size: 528 Bytes

Versions: 41

Compression:

Stored size: 528 Bytes

Contents

require 'sass/tree/node'

module Sass::Tree
  # A dynamic node representing a Sass `@each` loop.
  #
  # @see Sass::Tree
  class EachNode < Node
    # The name of the loop variable.
    # @return [String]
    attr_reader :var

    # The parse tree for the list.
    # @param [Script::Node]
    attr_reader :list

    # @param var [String] The name of the loop variable
    # @param list [Script::Node] The parse tree for the list
    def initialize(var, list)
      @var = var
      @list = list
      super()
    end
  end
end

Version data entries

41 entries across 41 versions & 3 rubygems

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