|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.drivergen.process.Process
abstract class Process Class process is the super class of module which is invoked by Driver. Driver invoke it as belows (1) check the condition wheather this process can start (2) if the condition satisfy the precondirion (2-1) then go() (2-2) else throws ProcessExceptoin (3) go()
| Field Summary | |
protected static java.lang.String |
CANT_START
|
protected InputIr |
ir
Intermediate representation which input to this process. |
protected static java.lang.String |
NOT_C_SRC
|
protected static java.lang.String |
NOT_F_SRC
|
protected static java.lang.String |
NOT_L_SRC
|
protected Options |
opt
The command-line options for the COINS compiler driver |
| Constructor Summary | |
(package private) |
Process(InputIr ir,
Options opt)
Constructor |
| Method Summary | |
abstract boolean |
canStart()
Check the present status and judge this process can invoke. |
abstract void |
go()
Run the compiler driver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected InputIr ir
protected Options opt
protected static final java.lang.String CANT_START
protected static final java.lang.String NOT_C_SRC
protected static final java.lang.String NOT_F_SRC
protected static final java.lang.String NOT_L_SRC
| Constructor Detail |
Process(InputIr ir,
Options opt)
ir - Intermediate Representation which input to this processopt - Options for the COINS compiler driver| Method Detail |
public abstract void go()
throws ProcessException,
PassException,
java.io.IOException
ProcessException
PassException
java.io.IOExceptionpublic abstract boolean canStart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||