class Sass::Tree::IfNode

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