|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Compiler implementation object.
In COINS Compiler Driver API, user must provide implemtation of four
compilation steps: preprocess, compile, assemble, and link. These
implementations are called from a CompilerDriver object via this interface.
メソッドの概要 | |
void |
assemble(java.io.File sourceFile,
Suffix suffix,
java.io.InputStream in,
java.io.File out,
IoRoot io)
Assembler implementation. |
void |
compile(java.io.File sourceFile,
Suffix suffix,
java.io.InputStream in,
java.io.OutputStream out,
IoRoot io)
Compiler implementation. |
void |
link(java.io.File out,
IoRoot io)
Linker implementation. |
void |
preprocess(java.io.File sourceFile,
Suffix suffix,
java.io.OutputStream out,
IoRoot io)
Preprocessor implementation. |
メソッドの詳細 |
public void preprocess(java.io.File sourceFile, Suffix suffix, java.io.OutputStream out, IoRoot io) throws java.io.IOException, PassException
sourceFile
- the source file name.suffix
- suffix rule of the source file.out
- the OutputStream.io
- the IoRoot.
java.io.IOException
- any IO error.
PassException
- unrecoverable error(s) found in processing.public void compile(java.io.File sourceFile, Suffix suffix, java.io.InputStream in, java.io.OutputStream out, IoRoot io) throws java.io.IOException, PassException
sourceFile
- the source file name.suffix
- suffix rule of the source file.in
- the InputStream.out
- the OutputStream.io
- the IoRoot.
java.io.IOException
- any IO error
PassException
- unrecoverable error(s) found in processingpublic void assemble(java.io.File sourceFile, Suffix suffix, java.io.InputStream in, java.io.File out, IoRoot io) throws java.io.IOException, PassException
sourceFile
- the source file namesuffix
- suffix rule of the source file.in
- the InputStreamout
- the output Fileio
- the IoRoot.
java.io.IOException
- any IO error
PassException
- unrecoverable error(s) found in processingpublic void link(java.io.File out, IoRoot io) throws java.io.IOException, PassException
out
- the output Fileio
- the IoRoot.
java.io.IOException
- any IO error
PassException
- unrecoverable error(s) found in processing
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |