com.vaadin.sass.internal.tree
Class BlockNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.BlockNode
- All Implemented Interfaces:
- IVariableNode, Serializable
public class BlockNode
- extends Node
- implements IVariableNode
- See Also:
- Serialized Form
BlockNode
public BlockNode(List<Selector> selectorList)
getSelectorList
public List<Selector> getSelectorList()
setSelectorList
public void setSelectorList(List<Selector> selectorList)
buildString
public String buildString(boolean indent)
printState
public String printState()
- Description copied from class:
Node
- Prints out the current state of the node tree. Will return SCSS before
compile and CSS after.
Result value could be null.
- Overrides:
printState in class Node
- Returns:
- State as a string
toString
public String toString()
- Overrides:
toString in class Object
replaceVariables
public void replaceVariables(Collection<VariableNode> variables)
- Specified by:
replaceVariables in interface IVariableNode
getSelectors
public String getSelectors()
setParentNode
public void setParentNode(Node node)
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.