com.vaadin.sass.internal.tree
Class NestPropertiesNode

java.lang.Object
  extended by com.vaadin.sass.internal.tree.Node
      extended by com.vaadin.sass.internal.tree.NestPropertiesNode
All Implemented Interfaces:
IVariableNode, Serializable

public class NestPropertiesNode
extends Node
implements IVariableNode

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.sass.internal.tree.Node
Node.BuildStringStrategy, Node.PrintStrategy, Node.ToStringStrategy
 
Field Summary
 
Fields inherited from class com.vaadin.sass.internal.tree.Node
children, parentNode, PRINT_STRATEGY, TO_STRING_STRATEGY
 
Constructor Summary
NestPropertiesNode(String name)
           
 
Method Summary
 RuleNode createNewRuleNodeFromChild(RuleNode child)
           
 String getName()
           
 String printState()
          Prints out the current state of the node tree.
 void replaceVariables(Collection<VariableNode> variables)
           
 void setName(String name)
           
 String toString()
           
 void traverse()
          Method for manipulating the data contained within the Node.
 Collection<RuleNode> unNesting()
           
 
Methods inherited from class com.vaadin.sass.internal.tree.Node
appendAll, appendChild, appendChild, appendChildrenAfter, copy, getChildren, getParentNode, hasChildren, removeChild, setChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestPropertiesNode

public NestPropertiesNode(String name)
Method Detail

getName

public String getName()

setName

public void setName(String name)

toString

public String toString()
Overrides:
toString in class Object

unNesting

public Collection<RuleNode> unNesting()

createNewRuleNodeFromChild

public RuleNode createNewRuleNodeFromChild(RuleNode child)

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

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


Copyright © 2013–2014 Vaadin. All rights reserved.