net.sf.transjvm.util
Class Evaluator

java.lang.Object
  extended by java.lang.ClassLoader
      extended by net.sf.transjvm.util.Evaluator

public class Evaluator
extends java.lang.ClassLoader


Nested Class Summary
static class Evaluator.Boolean
           
static class Evaluator.Double
           
static class Evaluator.Dump
           
static class Evaluator.Float
           
static class Evaluator.Integer
           
static class Evaluator.Long
           
static class Evaluator.Object
           
 
Constructor Summary
Evaluator()
           
Evaluator(java.lang.ClassLoader parent)
           
 
Method Summary
 boolean booleanValue(Expression value)
           
 java.lang.Number compileNumber(Expression value)
           
 java.lang.Number compileNumber(Statement code, Frame frame, TypeID returnType)
           
 double doubleValue(Expression value)
           
 void execute(Statement code, Frame frame)
           
 float floatValue(Expression value)
           
 Evaluator.Dump getDump()
           
 int intValue(Expression value)
           
 long longValue(Expression value)
           
 java.lang.Object objectValue(Expression value)
           
 void setDump(Evaluator.Dump dump)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluator

public Evaluator()

Evaluator

public Evaluator(java.lang.ClassLoader parent)
Method Detail

setDump

public void setDump(Evaluator.Dump dump)

getDump

public Evaluator.Dump getDump()

intValue

public int intValue(Expression value)

doubleValue

public double doubleValue(Expression value)

floatValue

public float floatValue(Expression value)

longValue

public long longValue(Expression value)

compileNumber

public java.lang.Number compileNumber(Expression value)

compileNumber

public java.lang.Number compileNumber(Statement code,
                                      Frame frame,
                                      TypeID returnType)

booleanValue

public boolean booleanValue(Expression value)

objectValue

public java.lang.Object objectValue(Expression value)

execute

public void execute(Statement code,
                    Frame frame)


Copyright 2004-5, Mark Shannon