com.waveset.expression
Class ExFunction.f_case
java.lang.Object
com.waveset.expression.ExNode
com.waveset.expression.ExFunction.f_case
- All Implemented Interfaces:
- com.sun.idm.debugger.common.Locatable
- Enclosing class:
- ExFunction
- public static class ExFunction.f_case
- extends ExNode
Methods inherited from class com.waveset.expression.ExNode |
addChild, addChildren, addCommonAttributes, beginTrace, clearOwner, endTrace, evalChild, evalChildToObject, evalChildToString, evalToBoolean, evalToInt, evalToObject, evalToString, getBindingCount, getChild, getChildren, getDecoration, getHiddenVariable, getLocation, getOwner, getParent, isLiteral, parseCommonAttributes, postProcess, removeChild, resolveFunction, resolveVariable, setBindingCount, setChildren, setDecoration, setEnvironment, setLocation, setOwner, setOwner, setParent, toXml, toXml, toXml, toXmlChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExFunction.f_case
public ExFunction.f_case()
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
isDefault
public boolean isDefault()
setDefault
public void setDefault(boolean b)
parseXml
public void parseXml(org.w3c.dom.Element el)
throws WavesetException
- Description copied from class:
ExNode
- Default XML parsing method. Parses the child elements into
a list of child nodes.
- Overrides:
parseXml
in class ExNode
- Throws:
WavesetException
toXmlAttributes
public void toXmlAttributes(java.lang.StringBuffer b)
- Description copied from class:
ExNode
- Add attributes in the start tag of this node.
Intended to be overloaded by subclasses.
- Overrides:
toXmlAttributes
in class ExNode
eval
public ExValue eval(ExState state)
throws WavesetException
- Override ExNode.eval since we don't want to do anything here
- Overrides:
eval
in class ExNode
- Throws:
WavesetException
evalInternal
protected ExValue evalInternal(ExState state)
throws WavesetException
- Description copied from class:
ExNode
- Abstract evaluation method all nodes must have. Implementations of
evalInternal need not (and should not) perform any tracing/breakpoints.
This is all handled by the calling method eval.
- Specified by:
evalInternal
in class ExNode
- Throws:
WavesetException