com.waveset.expression
Class ExFunction.f_list

java.lang.Object
  extended bycom.waveset.expression.ExNode
      extended bycom.waveset.expression.ExFunction.f_list
All Implemented Interfaces:
com.sun.idm.debugger.common.Locatable
Direct Known Subclasses:
ExFunction.f_array
Enclosing class:
ExFunction

public static class ExFunction.f_list
extends ExNode


Field Summary
 
Fields inherited from class com.waveset.expression.ExNode
_bindingCount, _children, _decoration, _parent, code_id, trace
 
Constructor Summary
ExFunction.f_list()
           
 
Method Summary
protected  ExValue evalInternal(ExState state)
          Builds a value that is an ArrayList of the values of each subexpression.
 java.lang.String getFunctionName()
          Nodes representing functions must have a name.
 boolean isFilterNulls()
          The constructor has historically filtered null values, but I'm not sure that's always desireable.
 
Methods inherited from class com.waveset.expression.ExNode
addChild, addChildren, addCommonAttributes, beginTrace, clearOwner, endTrace, eval, evalChild, evalChildToObject, evalChildToString, evalToBoolean, evalToInt, evalToObject, evalToString, getBindingCount, getChild, getChildren, getDecoration, getHiddenVariable, getLocation, getOwner, getParent, isLiteral, parseCommonAttributes, parseXml, postProcess, removeChild, resolveFunction, resolveVariable, setBindingCount, setChildren, setDecoration, setEnvironment, setLocation, setOwner, setOwner, setParent, toXml, toXml, toXml, toXmlAttributes, toXmlChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExFunction.f_list

public ExFunction.f_list()
Method Detail

getFunctionName

public java.lang.String getFunctionName()
Description copied from class: ExNode
Nodes representing functions must have a name. This name is used in the formatting of default trace messages and the default XML rendering. If a node doesn't have a name for some reason, or needs more control over the trace messges and XML, they must overload beginTrace, endTrace, and toXml below.

Specified by:
getFunctionName in class ExNode

isFilterNulls

public boolean isFilterNulls()
The constructor has historically filtered null values, but I'm not sure that's always desireable. The constructor was added to provide that capability, though a similar affect could be had with . Sadly, its probably too late to change this behavior.


evalInternal

protected ExValue evalInternal(ExState state)
                        throws WavesetException
Builds a value that is an ArrayList of the values of each subexpression. The ArrayList contains the native values NOT ExValue wrappers.

If the value of a subexpression evaluates to null, the isFilterNulls value determines if it is included.

Specified by:
evalInternal in class ExNode
Throws:
WavesetException