Class: Sass::Tree::WhileNode

Inherits:
Node
  • Object
show all
Defined in:
/var/www/sass-pages/.sass/lib/sass/tree/while_node.rb

Overview

A dynamic node representing a Sass @while loop.

See Also:

Instance Attribute Summary

Instance Method Summary

Methods inherited from Node

#<<, #==, #balance, #deep_copy, #do_extend, #each, #inspect, #invisible?, #style, #to_s, #to_sass, #to_scss

Constructor Details

- (WhileNode) initialize(expr)

A new instance of WhileNode

Parameters:



13
14
15
16
# File '/var/www/sass-pages/.sass/lib/sass/tree/while_node.rb', line 13

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

Instance Attribute Details

- (Script::Node) expr

The parse tree for the continuation expression.

Returns:



10
11
12
# File '/var/www/sass-pages/.sass/lib/sass/tree/while_node.rb', line 10

def expr
  @expr
end