coins.snapshot
Class FunctionTag

java.lang.Object
  extended bycoins.snapshot.FunctionTag

class FunctionTag
extends java.lang.Object

This class represents the tag `function'


Constructor Summary
(package private) FunctionTag(Function f)
          Constructor for LIR
(package private) FunctionTag(HirRoot hirRoot, SubpDefinition subpDef)
          Constructor for HIR
(package private) FunctionTag(MacroFlowGraph mfg)
          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

FunctionTag

FunctionTag(Function f)
Constructor for LIR

Parameters:
f - The current function

FunctionTag

FunctionTag(MacroFlowGraph mfg)
      throws PassException
Constructor for MDF

Parameters:
mfg - The current macro flow graph
Throws:
PassException - Any exceptions in it

FunctionTag

FunctionTag(HirRoot hirRoot,
            SubpDefinition subpDef)
Constructor for HIR

Parameters:
hirRoot - The current HirRoot
subpDef - The current subprogram
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