Class | Sass::Tree::IfNode |
In: |
lib/sass/tree/if_node.rb
|
Parent: | Node |
A dynamic node representing a Sass `@if` statement.
{IfNode}s are a little odd, in that they also represent `@else` and `@else if`s. This is done as a linked list: each {IfNode} has a link (\{else}) to the next {IfNode}.
@see Sass::Tree
Append an `@else` node to the end of the list.
@param node [IfNode] The `@else` node to append