coins.snapshot
クラス SnapShot

java.lang.Object
  |
  +--coins.snapshot.SnapShot

public class SnapShot
extends java.lang.Object

Generate the XML file related to the intermediate representation in COINS Compiler Infrastructure. The tags in the XML file specified the XML shema `coins.xsd'. See that XSD file for more detail.


フィールドの概要
static java.lang.String TMP_FILE_NAME
          The temporary file name that this module generate
static java.lang.String TMP_NAME
          The temporary name of the current status
 
コンストラクタの概要
SnapShot(java.io.File sourceFile, java.lang.String snapName)
          Constructor
 
メソッドの概要
 void generateXml()
          Generate the XML file.
 void shot(HirRoot hirRoot, java.lang.String mName)
          Snapshot for HIR.
 void shot(MdfModule m, java.lang.String mName)
          Snapshot for MDF.
 void shot(Module m, java.lang.String mName)
          Snapshot for LIR.
 java.lang.String toString()
          Generate XML representation in string.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

TMP_FILE_NAME

public static final java.lang.String TMP_FILE_NAME
The temporary file name that this module generate

関連項目:
定数フィールド値

TMP_NAME

public static final java.lang.String TMP_NAME
The temporary name of the current status

関連項目:
定数フィールド値
コンストラクタの詳細

SnapShot

public SnapShot(java.io.File sourceFile,
                java.lang.String snapName)
Constructor

パラメータ:
sourceFile - Ths source file
snapName - The name of the current status
メソッドの詳細

shot

public void shot(Module m,
                 java.lang.String mName)
Snapshot for LIR.

パラメータ:
m - The target module
mName - The name of the target module

shot

public void shot(HirRoot hirRoot,
                 java.lang.String mName)
Snapshot for HIR.

パラメータ:
hirRoot - The target module
mName - The name of the target module

shot

public void shot(MdfModule m,
                 java.lang.String mName)
          throws PassException
Snapshot for MDF.

パラメータ:
m - The target module
mName - The name of the target module
例外:
PassException - Any exceptions in it

generateXml

public void generateXml()
Generate the XML file.


toString

public java.lang.String toString()
Generate XML representation in string.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
The XML representation