|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.controldirective.IfNode
public class IfNode
| Field Summary |
|---|
| Fields inherited from class com.vaadin.sass.internal.tree.Node |
|---|
children, parentNode |
| Constructor Summary | |
|---|---|
IfNode(java.lang.String expression)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getExpression()
|
void |
replaceVariables(java.util.ArrayList<VariableNode> variables)
|
java.lang.String |
toString()
|
void |
traverse()
Method for manipulating the data contained within the Node. |
| Methods inherited from class com.vaadin.sass.internal.tree.Node |
|---|
appendAll, appendChild, appendChild, appendChildrenAfter, getChildren, getParentNode, hasChildren, removeChild, setChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IfNode(java.lang.String expression)
| Method Detail |
|---|
public java.lang.String getExpression()
getExpression in interface IfElseNodepublic java.lang.String toString()
toString in class Nodepublic void replaceVariables(java.util.ArrayList<VariableNode> variables)
replaceVariables in interface IVariableNodepublic void traverse()
NodeNode.
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.
traverse in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||