com.vaadin.sass.internal.tree.controldirective
Class IfNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.controldirective.IfNode
- All Implemented Interfaces:
- IfElseNode, IVariableNode, Serializable
public class IfNode
- extends Node
- implements IfElseNode, IVariableNode
- See Also:
- Serialized Form
| Methods inherited from class com.vaadin.sass.internal.tree.Node |
appendAll, appendChild, appendChild, appendChildrenAfter, copy, getChildren, getParentNode, hasChildren, printState, removeChild, setChildren |
IfNode
public IfNode(SassListItem expression)
getExpression
public SassListItem getExpression()
- Specified by:
getExpression in interface IfElseNode
toString
public String toString()
- Overrides:
toString in class Object
replaceVariables
public void replaceVariables(Collection<VariableNode> variables)
- Specified by:
replaceVariables in interface IVariableNode
traverse
public void traverse()
- Description copied from class:
Node
- Method for manipulating the data contained within the
Node.
Traversing a node is allowed to modify the node, replace it with one or
more nodes at the same or later position in its parent and modify the
children of the node, but not modify or remove preceding nodes in its
parent.
- Specified by:
traverse in class Node
Copyright © 2013–2014 Vaadin. All rights reserved.