com.vaadin.sass.internal.tree
Class MixinNode

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

public class MixinNode
extends Node
implements IVariableNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.vaadin.sass.internal.tree.Node
children, parentNode
 
Constructor Summary
MixinNode(java.lang.String name)
           
MixinNode(java.lang.String name, java.util.Collection<LexicalUnitImpl> args)
           
 
Method Summary
 java.util.ArrayList<LexicalUnitImpl> getArglist()
           
 java.lang.String getName()
           
 void replaceVariables(java.util.ArrayList<VariableNode> variables)
          Replace variable references with their values in the mixin argument list.
protected  void replaceVariablesForChildren()
           
 void setArglist(java.util.ArrayList<LexicalUnitImpl> arglist)
           
 void setName(java.lang.String name)
           
 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

MixinNode

public MixinNode(java.lang.String name)

MixinNode

public MixinNode(java.lang.String name,
                 java.util.Collection<LexicalUnitImpl> args)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Node

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getArglist

public java.util.ArrayList<LexicalUnitImpl> getArglist()

setArglist

public void setArglist(java.util.ArrayList<LexicalUnitImpl> arglist)

replaceVariables

public void replaceVariables(java.util.ArrayList<VariableNode> variables)
Replace variable references with their values in the mixin argument list.

Specified by:
replaceVariables in interface IVariableNode

replaceVariablesForChildren

protected void replaceVariablesForChildren()

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 © 2000-2011 Vaadin Ltd. All Rights Reserved.