Sha256: 605f2cef724d635ced96995688550f735e47210c02308da7142d1f5aa024ca62

Contents?: true

Size: 542 Bytes

Versions: 10

Compression:

Stored size: 542 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::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

10 entries across 10 versions & 1 rubygems

Version Path
sass-3.3.0.alpha.195 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.181 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.184 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.177 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.175 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.174 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.173 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.167 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.165 lib/sass/tree/each_node.rb
sass-3.3.0.alpha.162 lib/sass/tree/each_node.rb