com.vaadin.sass.internal.tree
Class MixinDefNode

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

public class MixinDefNode
extends DefNode

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
MixinDefNode(String name, Collection<VariableNode> args, boolean hasVariableArgs)
           
 
Method Summary
 MixinDefNode copy()
           
 MixinDefNode replaceContentDirective(MixinNode mixinNode)
          This should only happen on a cloned MixinDefNode, since it changes the Node itself.
 MixinDefNode replaceContentNode(ContentNode contentNode, MixinNode mixinNode)
           
 String toString()
           
 
Methods inherited from class com.vaadin.sass.internal.tree.DefNode
getArglist, getName, hasVariableArguments, replacePossibleArguments, replaceVariables, traverse
 
Methods inherited from class com.vaadin.sass.internal.tree.Node
appendAll, appendChild, appendChild, appendChildrenAfter, getChildren, getParentNode, hasChildren, printState, removeChild, setChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MixinDefNode

public MixinDefNode(String name,
                    Collection<VariableNode> args,
                    boolean hasVariableArgs)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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)

copy

public MixinDefNode copy()
Overrides:
copy in class Node


Copyright © 2013–2014 Vaadin. All rights reserved.