harpoon.Interpret.Quads
Class Method

java.lang.Object
  extended by harpoon.Interpret.Quads.Method

public final class Method
extends Object

Method interprets method code in quad form.

Version:
$Id: Method.java,v 1.4 2002/04/10 03:05:50 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Summary
Method()
           
 
Method Summary
static void makeStartup(Linker linker, HCodeFactory hcf, OutputStream os, boolean trace)
          Write a start-up static state to disk.
static void run(PrintWriter prof, HCodeFactory hcf, HClass cls, String[] args, boolean trace)
          invoke a static main method with no static state.
static void run(PrintWriter prof, HCodeFactory hcf, HClass cls, String[] args, InputStream is, boolean trace)
          invoke a static main method, using a static state loaded from disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Method

public Method()
Method Detail

makeStartup

public static final void makeStartup(Linker linker,
                                     HCodeFactory hcf,
                                     OutputStream os,
                                     boolean trace)
                              throws IOException
Write a start-up static state to disk.

Throws:
IOException

run

public static final void run(PrintWriter prof,
                             HCodeFactory hcf,
                             HClass cls,
                             String[] args,
                             InputStream is,
                             boolean trace)
                      throws IOException
invoke a static main method, using a static state loaded from disk.

Throws:
IOException

run

public static final void run(PrintWriter prof,
                             HCodeFactory hcf,
                             HClass cls,
                             String[] args,
                             boolean trace)
invoke a static main method with no static state.