coins.casttohir
Class ToC

java.lang.Object
  extended bycoins.casttohir.ToC

final class ToC
extends java.lang.Object

ToC Convert HIR to C source code. This class converts HIR-C, HIR-base, symbol tables to C source code for debugging and error messages. The methods in this class are all static.


Constructor Summary
(package private) ToC()
           
 
Method Summary
static java.lang.String getOp(int i)
           
static java.lang.String tos(Exp e)
           
static java.lang.String tos(Stmt s, int n)
           
static java.lang.String tos(SubpDefinition h, int n)
           
static java.lang.String tos(SymTable t, int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToC

ToC()
Method Detail

getOp

public static java.lang.String getOp(int i)

tos

public static java.lang.String tos(SymTable t,
                                   int n)

tos

public static java.lang.String tos(SubpDefinition h,
                                   int n)

tos

public static java.lang.String tos(Stmt s,
                                   int n)

tos

public static java.lang.String tos(Exp e)