com.waveset.expression
Class ExPrint

java.lang.Object
  extended bycom.waveset.expression.ExNode
      extended bycom.waveset.expression.ExPrint
All Implemented Interfaces:
com.sun.idm.debugger.common.Locatable

public class ExPrint
extends ExNode

A debugging node that prints the reuturn value of each subexpression to the console.


Field Summary
static java.lang.String code_id
           
 
Fields inherited from class com.waveset.expression.ExNode
_bindingCount, _children, _decoration, _parent, trace
 
Constructor Summary
ExPrint()
          Build a print node.
 
Method Summary
protected  ExValue evalInternal(ExState state)
          Evaluate a print node.
 java.lang.String getFunctionName()
          Return the node function name.
 
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
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

ExPrint

public ExPrint()
Build a print node.

Method Detail

getFunctionName

public java.lang.String getFunctionName()
Return the node function name.

Specified by:
getFunctionName in class ExNode

evalInternal

protected ExValue evalInternal(ExState state)
                        throws WavesetException
Evaluate a print node. Like the node, the value of the node is the value of the last subexpression within the block.

Specified by:
evalInternal in class ExNode
Throws:
WavesetException