|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.driver.CompilerDriver
A framework of COINS compiler driver.
A CompilerDriver object represents an execution of whole compilation
process which is divided into four passes: preprocess, compile, assemble
and link. An object which implements CompilerImplementation must be
provided to implement these four passes.
The semantics of driver control options such as -E, -c, -pipe, etc. are
determined by this class.
コンストラクタの概要 | |
CompilerDriver(CompileSpecification spec)
Constructs a framework object. |
メソッドの概要 | |
static java.io.InputStream |
getAttachedFileInputStream(java.lang.Class clazz,
java.lang.String path)
Returns an InputStream of a file, which is in a directory where a loadable class file is in it (or one of sub-directories of the directory). |
int |
go(CompilerImplementation implementation)
Drives compilation processes: preprocess, compile, assemble and link. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public CompilerDriver(CompileSpecification spec)
メソッドの詳細 |
public static java.io.InputStream getAttachedFileInputStream(java.lang.Class clazz, java.lang.String path) throws java.lang.ClassNotFoundException, java.io.IOException
clazz
- a class object the classpath
- a relative path of the directory where the file exists
java.io.IOException
- failed to get InputStream
java.lang.ClassNotFoundException
- failed to find `clazz' from class-path.public int go(CompilerImplementation implementation)
implementation
- a compiler implementation
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |