gems.sass-3.7.4.lib.sass.tree.each_node.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sass-maven-plugin Show documentation
Show all versions of sass-maven-plugin Show documentation
A Maven Plugin that compiles Sass files.
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