coins.snapshot
Class GraphTag

java.lang.Object
  extended bycoins.snapshot.GraphTag

class GraphTag
extends java.lang.Object

This class represents the tag `graph'


Constructor Summary
(package private) GraphTag(java.lang.String dName, FlowGraph cfg)
          Constructor for LIR
(package private) GraphTag(java.lang.String dName, MacroFlowGraph mfg)
          Constructor for MDF
(package private) GraphTag(java.lang.String dName, SubpFlow cfg)
          Constructor for HIR
 
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

GraphTag

GraphTag(java.lang.String dName,
         FlowGraph cfg)
Constructor for LIR

Parameters:
dName - The attribute `displayName'
cfg - The current control flow graph

GraphTag

GraphTag(java.lang.String dName,
         SubpFlow cfg)
Constructor for HIR

Parameters:
dName - The attribute `displayName'
cfg - The current subprogram

GraphTag

GraphTag(java.lang.String dName,
         MacroFlowGraph mfg)
   throws PassException
Constructor for MDF

Parameters:
dName - The attribute `displayName'
mfg - The current macro flow graph
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