coins.snapshot
Class StatementType

java.lang.Object
  extended bycoins.snapshot.StatementType

class StatementType
extends java.lang.Object

This class represents the type `statementType'.


Field Summary
(package private) static int HIR
          For HIR
(package private) static int HIR2C
          For HIR2C
(package private) static int LIR
          For LIR
(package private) static int LIR2C
          For LIR2C
 
Method Summary
(package private) static StatementType hir(BBlockSubtreeIterator subtreeIte)
          Static method to generate the HIR statements.
(package private) static StatementType lir(BiList instr)
          Static method to generate the LIR statements.
(package private) static StatementType lir2c(BiList instr)
          Static method to generate the LIR2C statements.
(package private) static StatementType mdf(BBlock[] blks)
          Static method to generate the MDF statements.
 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
 

Field Detail

HIR

static final int HIR
For HIR

See Also:
Constant Field Values

LIR

static final int LIR
For LIR

See Also:
Constant Field Values

HIR2C

static final int HIR2C
For HIR2C

See Also:
Constant Field Values

LIR2C

static final int LIR2C
For LIR2C

See Also:
Constant Field Values
Method Detail

hir

static StatementType hir(BBlockSubtreeIterator subtreeIte)
Static method to generate the HIR statements.

Parameters:
subtreeIte - The iterator to iterate the instructions in the current basic block
Returns:
The tag `statementType' for HIR

lir

static StatementType lir(BiList instr)
Static method to generate the LIR statements.

Parameters:
instr - The list of the instructions in the current basic block
Returns:
The tag `statementType' for LIR

lir2c

static StatementType lir2c(BiList instr)
Static method to generate the LIR2C statements.

Parameters:
instr - The list of the instructions in the current basic block
Returns:
The tag `statementType' for LIR2C

mdf

static StatementType mdf(BBlock[] blks)
Static method to generate the MDF statements.

Parameters:
blks - The basic blocks in the current macro task
Returns:
The tag `statementType' for MDF

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