koala.dynamicjava.interpreter.context
Class VariableContext.Constant

java.lang.Object
  extended bykoala.dynamicjava.interpreter.context.VariableContext.AbstractVariable
      extended bykoala.dynamicjava.interpreter.context.VariableContext.Constant
Enclosing class:
VariableContext

protected class VariableContext.Constant
extends VariableContext.AbstractVariable

To store the constants


Field Summary
 
Fields inherited from class koala.dynamicjava.interpreter.context.VariableContext.AbstractVariable
name
 
Constructor Summary
VariableContext.Constant(java.lang.String s)
          Creates a new variable
 
Method Summary
 java.lang.Object get(VariableContext ctx)
          Sets the variable in the current scope
 void set(VariableContext ctx, java.lang.Object value)
          Sets the variable in the current scope
 
Methods inherited from class koala.dynamicjava.interpreter.context.VariableContext.AbstractVariable
hashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableContext.Constant

public VariableContext.Constant(java.lang.String s)
Creates a new variable

Method Detail

set

public void set(VariableContext ctx,
                java.lang.Object value)
Sets the variable in the current scope

Specified by:
set in class VariableContext.AbstractVariable

get

public java.lang.Object get(VariableContext ctx)
Sets the variable in the current scope

Specified by:
get in class VariableContext.AbstractVariable


Copyright © 2001 Stephane Hillion. All Rights Reserved.