Class | Sass::Tree::ForNode |
In: |
lib/sass/tree/for_node.rb
|
Parent: | Node |
A dynamic node representing a Sass `@for` loop.
@see Sass::Tree
@param var [String] The name of the loop variable @param from [Script::Node] The parse tree for the initial expression @param to [Script::Node] The parse tree for the final expression @param exclusive [Boolean] Whether to include `to` in the loop
or stop just before
Runs the child nodes once for each time through the loop, varying the variable each time.
@param environment [Sass::Environment] The lexical environment containing
variable and mixin values
@return [Array<Tree::Node>] The resulting static nodes @see Sass::Tree