coins.casttohir
Class ToC
java.lang.Object
coins.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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToC
ToC()
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)