uk.ac.man.cs.rainbow.compiler.yellow
Class Assign
java.lang.Object
|
+--uk.ac.man.cs.rainbow.compiler.CompilerThing
|
+--uk.ac.man.cs.rainbow.compiler.CompilerNode
|
+--uk.ac.man.cs.rainbow.compiler.yellow.YellowCommand
|
+--uk.ac.man.cs.rainbow.compiler.yellow.Assign
- public class Assign
- extends YellowCommand
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode |
append, appendNotParent, dumpNode, dumpTree, getParent, indent, iterator, list_typecheck, list_typecheck, listLength, listToString, noParent, rasm_list, rasm, setParent, typecheck, typecheckGreen, typecheckGreen |
Assign
public Assign(SourcePosition sourcepos,
LValue lhs,
Expression exp)
toString
public String toString()
- Overrides:
toString
in class YellowCommand
typecheck
public TCEnv typecheck(TCEnv env,
Errors errors)
- Overrides:
typecheck
in class CompilerNode
rasm
public RASMList rasm(CGEnv env)
- Overrides:
rasm
in class CompilerNode