com.vaadin.sass.internal.tree
Class MixinDefNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.MixinDefNode
- All Implemented Interfaces:
- IVariableNode, java.io.Serializable
public class MixinDefNode
- extends Node
- implements IVariableNode
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MixinDefNode
public MixinDefNode(java.lang.String name,
java.util.Collection<VariableNode> args)
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<VariableNode> getArglist()
setArglist
public void setArglist(java.util.ArrayList<VariableNode> arglist)
replaceVariables
public void replaceVariables(java.util.ArrayList<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
replaceContentDirective
public MixinDefNode replaceContentDirective(MixinNode mixinNode)
- This should only happen on a cloned MixinDefNode, since it changes the
Node itself.
- Parameters:
mixinNode -
- Returns:
replaceContentNode
public MixinDefNode replaceContentNode(ContentNode contentNode,
MixinNode mixinNode)
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.