All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.sass-3.7.4.lib.sass.tree.each_node.rb Maven / Gradle / Ivy

The newest version!
require 'sass/tree/node'

module Sass::Tree
  # A dynamic node representing a Sass `@each` loop.
  #
  # @see Sass::Tree
  class EachNode < Node
    # The names of the loop variables.
    # @return [Array]
    attr_reader :vars

    # The parse tree for the list.
    # @return [Script::Tree::Node]
    attr_accessor :list

    # @param vars [Array] The names of the loop variables
    # @param list [Script::Tree::Node] The parse tree for the list
    def initialize(vars, list)
      @vars = vars
      @list = list
      super()
    end
  end
end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy