com.waveset.expression
Class ExFunction.ListMutator

java.lang.Object
  extended bycom.waveset.expression.ExNode
      extended bycom.waveset.expression.ExFunction.ListMutator
All Implemented Interfaces:
com.sun.idm.debugger.common.Locatable
Direct Known Subclasses:
ExFunction.f_append, ExFunction.f_filterdup, ExFunction.f_insert, ExFunction.f_remove, ExFunction.f_retainAll
Enclosing class:
ExFunction

public abstract static class ExFunction.ListMutator
extends ExNode

Abstract superclass for a function node that may modify a list.


Field Summary
 
Fields inherited from class com.waveset.expression.ExNode
_bindingCount, _children, _decoration, _parent, code_id, trace
 
Constructor Summary
ExFunction.ListMutator()
           
 
Method Summary
 java.lang.String getName()
           
 void parseXml(org.w3c.dom.Element el)
          Default XML parsing method.
 void postProcess()
          Traverses a node tree after initial parsing, resolving references to functions and variables, and performing any other optimizations that might be available.
 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, evalInternal, evalToBoolean, evalToInt, evalToObject, evalToString, getBindingCount, getChild, getChildren, getDecoration, getFunctionName, getHiddenVariable, getLocation, getOwner, getParent, isLiteral, parseCommonAttributes, 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.ListMutator

public ExFunction.ListMutator()
Method Detail

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

postProcess

public void postProcess()
Description copied from class: ExNode
Traverses a node tree after initial parsing, resolving references to functions and variables, and performing any other optimizations that might be available.

This method can be overloaded in subclasses to do node specific post processing.

Overrides:
postProcess in class ExNode