uk.ac.man.cs.rainbow.compiler.yellow
Class LVariable
java.lang.Object
|
+--uk.ac.man.cs.rainbow.compiler.CompilerThing
|
+--uk.ac.man.cs.rainbow.compiler.CompilerNode
|
+--uk.ac.man.cs.rainbow.compiler.yellow.LValue
|
+--uk.ac.man.cs.rainbow.compiler.yellow.LVariable
- public class LVariable
- extends LValue
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, rasm, setParent, typecheck, typecheckGreen, typecheckGreen |
LVariable
public LVariable(SourcePosition sourcepos,
String var)
toString
public String toString()
- Overrides:
toString
in class LValue
typecheck
public TCEnv typecheck(TCEnv env,
Errors errors)
- Overrides:
typecheck
in class CompilerNode