coins.snapshot
Class StatementTag

java.lang.Object
  extended bycoins.snapshot.StatementTag

class StatementTag
extends java.lang.Object

This class represents the tag `statement'


Constructor Summary
(package private) StatementTag(BBlock[] blks)
          Constructor for MDF
(package private) StatementTag(BBlockSubtreeIterator ite)
          Constructor for HIR
(package private) StatementTag(BiList instr)
          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

StatementTag

StatementTag(BiList instr)
Constructor for LIR

Parameters:
instr - The list of the instruction in the current basic block

StatementTag

StatementTag(BBlockSubtreeIterator ite)
Constructor for HIR

Parameters:
ite - The iterator for iterating the statements in the current basic block

StatementTag

StatementTag(BBlock[] blks)
Constructor for MDF

Parameters:
blks - The basic blocks which are inside of the current macro task
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