Class: Sass::Tree::WhileNode
- Inherits:
-
Node
- Object
- Node
- Sass::Tree::WhileNode
- Defined in:
- .ruby-sass/lib/sass/tree/while_node.rb
Overview
A dynamic node representing a Sass `@while` loop.
Instance Attribute Summary (collapse)
-
#expr ⇒ Script::Tree::Node
The parse tree for the continuation expression.
Attributes inherited from Node
#children, #filename, #has_children, #line, #options, #source_range
Instance Method Summary (collapse)
-
#initialize(expr) ⇒ WhileNode
constructor
A new instance of WhileNode.
Methods inherited from Node
#<<, #==, #bubbles?, #css, #css_with_sourcemap, #deep_copy, #each, inherited, #inspect, #invisible?, #style, #to_sass, #to_scss
Constructor Details
#initialize(expr) ⇒ WhileNode
Returns a new instance of WhileNode
13 14 15 16 |
# File '.ruby-sass/lib/sass/tree/while_node.rb', line 13 def initialize(expr) @expr = expr super() end |
Constructor Details
#initialize(expr) ⇒ WhileNode
Returns a new instance of WhileNode
13 14 15 16 |
# File '.ruby-sass/lib/sass/tree/while_node.rb', line 13 def initialize(expr) @expr = expr super() end |
Instance Attribute Details
#expr ⇒ Script::Tree::Node
The parse tree for the continuation expression.
10 11 12 |
# File '.ruby-sass/lib/sass/tree/while_node.rb', line 10 def expr @expr end |