coins.snapshot
Class NodeTag

java.lang.Object
  extended bycoins.snapshot.NodeTag

class NodeTag
extends java.lang.Object

This class represents the tag `node'.


Constructor Summary
(package private) NodeTag(java.lang.String dName, BasicBlk blk)
          Constructor for LIR
(package private) NodeTag(java.lang.String dName, BBlock blk)
          Constructor for HIR
(package private) NodeTag(java.lang.String dName, MacroTask mt)
          Constructor for MDF
 
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

NodeTag

NodeTag(java.lang.String dName,
        BasicBlk blk)
Constructor for LIR

Parameters:
dName - The attribute `displayName'
blk - The current basic block

NodeTag

NodeTag(java.lang.String dName,
        BBlock blk)
Constructor for HIR

Parameters:
dName - The attribute `displayName'
blk - The current basic block

NodeTag

NodeTag(java.lang.String dName,
        MacroTask mt)
  throws PassException
Constructor for MDF

Parameters:
dName - The attribute `displayName'
mt - The current macro task
Throws:
PassException - Any exception 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