org.omegahat.Environment.Interpreter
Class EvaluationEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.omegahat.Environment.Interpreter.EvaluationEvent
All Implemented Interfaces:
java.io.Serializable

public class EvaluationEvent
extends java.util.EventObject

The class of objects passed to EvaluationListener and SubEvaluationListener objects.

Typically, the same event object will be used throughout an evaluation, with the expr field updated for subevaluations. For this reason, you should never mess with the event object.

See Also:
Serialized Form

Field Summary
protected  ExpressionInt expr
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EvaluationEvent(java.lang.Object source)
           
 
Method Summary
 ExpressionInt getExpr()
          Accessor for expr field
 ExpressionInt setExpr(ExpressionInt value)
          Accessor for setting expr field
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expr

protected ExpressionInt expr
Constructor Detail

EvaluationEvent

public EvaluationEvent(java.lang.Object source)
Method Detail

getExpr

public ExpressionInt getExpr()
Accessor for expr field

setExpr

public ExpressionInt setExpr(ExpressionInt value)
Accessor for setting expr field