Class: Sass::Tree::WhileNode

Inherits:
Node show all
Defined in:
lib/sass/tree/while_node.rb

Overview

A dynamic node representing a Sass ‘@while` loop.

See Also:

Instance Attribute Summary

Attributes inherited from Node

#children, #filename, #line, #options

Instance Method Summary collapse

Methods inherited from Node

#<<, #==, #invisible?, #last, #perform, #render, #style, #to_s, #to_sass

Constructor Details

#initialize(expr) ⇒ WhileNode

Returns a new instance of WhileNode.

Parameters:

  • expr (Script::Node)

    The parse tree for the continue expression



9
10
11
12
# File 'lib/sass/tree/while_node.rb', line 9

def initialize(expr)
  @expr = expr
  super()
end