coins.snapshot
Class ModuleTag

java.lang.Object
  extended bycoins.snapshot.ModuleTag

class ModuleTag
extends java.lang.Object

This class represents the tag `module'


Constructor Summary
(package private) ModuleTag(HirRoot hirRoot, java.lang.String fName, java.lang.String fPath)
          Constructor for HIR
(package private) ModuleTag(MdfModule m, java.lang.String fName, java.lang.String fPath)
          Constructor for MDF
(package private) ModuleTag(Module m, java.lang.String fName, java.lang.String fPath)
          Constructor for LIR
 
Method Summary
 java.lang.String toString()
          Generate the XML representation with no white spaces before.
 java.lang.String toString(int space)
          Generate the XML representation in string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleTag

ModuleTag(Module m,
          java.lang.String fName,
          java.lang.String fPath)
Constructor for LIR

Parameters:
m - The current module
fName - The name of the current module
fPath - The path to the source file

ModuleTag

ModuleTag(HirRoot hirRoot,
          java.lang.String fName,
          java.lang.String fPath)
Constructor for HIR

Parameters:
hirRoot - The current HirRoot
fName - The name of the current module
fPath - The path to the source file

ModuleTag

ModuleTag(MdfModule m,
          java.lang.String fName,
          java.lang.String fPath)
    throws PassException
Constructor for MDF

Parameters:
m - The current MdfModule
fName - The name of the current module
fPath - The path to the source file
Throws:
PassException - Any exceptions in it
Method Detail

toString

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

Parameters:
space - The number of the white spaces
Returns:
The XML representation

toString

public java.lang.String toString()
Generate the XML representation with no white spaces before.

Returns:
The XML representation