com.vaadin.sass.internal.tree
Class FunctionNode

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

public class FunctionNode
extends NodeWithVariableArguments

Transient class representing a function call to a custom (user-defined) function. This class is used to evaluate the function call and is discarded after use. A FunctionNode does not have a parent in the stylesheet node tree.

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
FunctionNode(FunctionDefNode def, LexicalUnitImpl invocation)
           
 
Method Summary
 void doTraverse()
           
 SassListItem evaluate()
           
 String toString()
           
 
Methods inherited from class com.vaadin.sass.internal.tree.NodeWithVariableArguments
expandVariableArguments, getArglist, getName, getSeparator, hasVariableArguments, replaceVariables, traverse
 
Methods inherited from class com.vaadin.sass.internal.tree.Node
appendAll, appendChild, appendChild, appendChildrenAfter, copy, 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

FunctionNode

public FunctionNode(FunctionDefNode def,
                    LexicalUnitImpl invocation)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

evaluate

public SassListItem evaluate()

doTraverse

public void doTraverse()
Specified by:
doTraverse in class NodeWithVariableArguments


Copyright © 2013–2014 Vaadin. All rights reserved.