|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.drivergen.Generator
A driver generator for the COINS Compiler Driver API. The Generator generate a new driver which is one of the the COINS Compiler. the new driver class is created as the subclass of Driver class, and the Generator generate its Compile method in order to the input file which orders the compile processes.
フィールドの概要 | |
protected static java.lang.String[] |
classDecl
class declaration line |
protected static java.lang.String[] |
compileFooter
compile method footer part |
protected static java.lang.String[] |
compileHeader
compile method header part |
protected static java.lang.String |
defaultDriverName
File name of new driver |
protected static java.lang.String[] |
footer1
The footer part of the new driver (1/3). |
protected static java.lang.String[] |
footer2
The footer part of the new driver (2/3). |
protected static java.lang.String[] |
footer3
The footer part of the new driver (3/3). |
protected static java.lang.String[] |
header
The header part of the new driver. |
protected java.lang.String |
myName
A name in trace messages. |
protected static java.io.FileWriter |
out
FileWriter for new driver |
コンストラクタの概要 | |
Generator()
|
メソッドの概要 | |
protected void |
generateCompile(java.io.File orderFile)
Output the contents of compile methos part of the mydriver.java |
protected void |
go(java.lang.String[] args)
Output the contents of mydriver.java |
static void |
main(java.lang.String[] args)
A main function to generate a driver program file. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected static final java.lang.String defaultDriverName
protected static java.io.FileWriter out
protected static final java.lang.String[] header
protected static final java.lang.String[] classDecl
protected static final java.lang.String[] compileHeader
protected static final java.lang.String[] compileFooter
protected static final java.lang.String[] footer1
protected static final java.lang.String[] footer2
protected static final java.lang.String[] footer3
protected java.lang.String myName
コンストラクタの詳細 |
public Generator()
メソッドの詳細 |
protected void generateCompile(java.io.File orderFile) throws java.io.FileNotFoundException, java.io.IOException
orderFile
- input file name
java.io.FileNotFoundException
java.io.IOException
protected void go(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException
args
- input file name
java.io.FileNotFoundException
java.io.IOException
public static void main(java.lang.String[] args)
args
- a order file which order the processes of the driver.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |