com.waveset.expression
Class ExFunction.f_dolist

java.lang.Object
  extended bycom.waveset.expression.ExNode
      extended bycom.waveset.expression.ExFunction.f_dolist
All Implemented Interfaces:
com.sun.idm.debugger.common.Locatable
Enclosing class:
ExFunction

public static class ExFunction.f_dolist
extends ExNode


Field Summary
 
Fields inherited from class com.waveset.expression.ExNode
_bindingCount, _children, _decoration, _parent, code_id, trace
 
Constructor Summary
ExFunction.f_dolist()
           
 
Method Summary
protected  ExValue evalInternal(ExState state)
          First expression produces a list.
 java.lang.String getFunctionName()
          Nodes representing functions must have a name.
 ExDefvar getHiddenVariable()
          Get the optional hidden variable.
 java.lang.String getName()
           
 void parseXml(org.w3c.dom.Element el)
          Default XML parsing method.
 void setName(java.lang.String s)
           
 void toXmlAttributes(java.lang.StringBuffer b)
          Add attributes in the start tag of this node.
 
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, 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
 

Constructor Detail

ExFunction.f_dolist

public ExFunction.f_dolist()
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

getHiddenVariable

public ExDefvar getHiddenVariable()
Description copied from class: ExNode
Get the optional hidden variable. Ceratin nodes (dolist only) maintain an implicit variable which may be bound to a value but is not explicitly defined in the child list. Originally this was on the child list marked with a special flag, but this caused complications for the editor which wants to have complete control over the child list.

Overrides:
getHiddenVariable in class ExNode

getName

public java.lang.String getName()

setName

public void setName(java.lang.String s)

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

evalInternal

protected ExValue evalInternal(ExState state)
                        throws WavesetException
First expression produces a list.

Specified by:
evalInternal in class ExNode
Throws:
WavesetException