koala.dynamicjava.interpreter.modifier
Class LeftHandSideModifier

java.lang.Object
  |
  +--koala.dynamicjava.interpreter.modifier.LeftHandSideModifier
Direct Known Subclasses:
ArrayModifier, InvalidModifier, ObjectFieldModifier, StaticFieldModifier, SuperFieldModifier, VariableModifier

public abstract class LeftHandSideModifier
extends java.lang.Object

This class represents the objets that modify the left hand side of an assignment.


Constructor Summary
LeftHandSideModifier()
           
 
Method Summary
abstract  void modify(Context ctx, java.lang.Object value)
          Sets the value of the underlying left hand side expression
abstract  java.lang.Object prepare(Visitor v, Context ctx)
          Prepares the modifier for modification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeftHandSideModifier

public LeftHandSideModifier()
Method Detail

prepare

public abstract java.lang.Object prepare(Visitor v,
                                         Context ctx)
Prepares the modifier for modification
Returns:
the value of the left hand side

modify

public abstract void modify(Context ctx,
                            java.lang.Object value)
Sets the value of the underlying left hand side expression


Copyright © 2001 Stephane Hillion. All Rights Reserved.