Sha256: d8a059fd9159955877527c94c4f0dad7d8313346e8aa945968c67d2292c2e7c0

Contents?: true

Size: 543 Bytes

Versions: 17

Compression:

Stored size: 543 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.
    # @return [Script::Tree::Node]
    attr_accessor :list

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sass-3.3.0.alpha.231 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.229 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.227 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.226 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.225 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.224 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.222 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.218 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.216 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.215 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.214 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.213 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.212 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.211 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.201 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.198 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.196 lib/sass/tree/each_node.rb