coins.drivergen.process
クラス Process

java.lang.Object
  |
  +--coins.drivergen.process.Process
直系の既知のサブクラス:
GenerateCode, MakeHirFromSource, MakeNewLirFromHir

public abstract class Process
extends java.lang.Object

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()


フィールドの概要
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
 
コンストラクタの概要
(パッケージプライベート) Process(InputIr ir, Options opt)
          Constructor
 
メソッドの概要
abstract  boolean canStart()
          Check the present status and judge this process can invoke.
abstract  void go()
          Run the compiler driver.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ir

protected InputIr ir
Intermediate representation which input to this process. If this process changes the intermediate representation, the process rewrites it


opt

protected Options opt
The command-line options for the COINS compiler driver


CANT_START

protected static final java.lang.String CANT_START
関連項目:
定数フィールド値

NOT_C_SRC

protected static final java.lang.String NOT_C_SRC
関連項目:
定数フィールド値

NOT_F_SRC

protected static final java.lang.String NOT_F_SRC
関連項目:
定数フィールド値

NOT_L_SRC

protected static final java.lang.String NOT_L_SRC
関連項目:
定数フィールド値
コンストラクタの詳細

Process

Process(InputIr ir,
        Options opt)
Constructor

パラメータ:
ir - Intermediate Representation which input to this process
opt - Options for the COINS compiler driver
メソッドの詳細

go

public abstract void go()
                 throws ProcessException,
                        PassException,
                        java.io.IOException
Run the compiler driver.

ProcessException
PassException
java.io.IOException

canStart

public abstract boolean canStart()
Check the present status and judge this process can invoke.