uk.ac.man.cs.rainbow.compiler
Class Program
java.lang.Object
|
+--uk.ac.man.cs.rainbow.compiler.CompilerThing
|
+--uk.ac.man.cs.rainbow.compiler.CompilerNode
|
+--uk.ac.man.cs.rainbow.compiler.Program
- public class Program
- extends CompilerNode
The root node of a complete parse tree
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode |
append, appendNotParent, dumpNode, getParent, indent, iterator, list_typecheck, list_typecheck, listLength, listToString, noParent, rasm_list, rasm, setParent, typecheck, typecheckGreen, typecheckGreen |
Program
public Program(SourcePosition sourcepos,
GlobalDeclaration declList)
toString
public String toString()
- Overrides:
toString
in class CompilerNode
dumpTree
public String dumpTree(int n)
- Overrides:
dumpTree
in class CompilerNode
typecheck
public TCEnv typecheck(TCEnv env,
Errors errors)
- Overrides:
typecheck
in class CompilerNode
rasm
public RASMList rasm(CGEnv env)
- Overrides:
rasm
in class CompilerNode
getRAPA
public ProcessTerm getRAPA()