uk.ac.man.cs.rainbow.compiler.declarations
Class TableValueDeclaration

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.CompilerNode
              |
              +--uk.ac.man.cs.rainbow.compiler.declarations.Declaration
                    |
                    +--uk.ac.man.cs.rainbow.compiler.declarations.LocalDeclaration
                          |
                          +--uk.ac.man.cs.rainbow.compiler.declarations.TableValueDeclaration

public class TableValueDeclaration
extends LocalDeclaration


Fields inherited from class uk.ac.man.cs.rainbow.compiler.declarations.Declaration
nm
 
Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
TableValueDeclaration()
           
TableValueDeclaration(SourcePosition sourcepos, LocalIdentifier idList, CompilerType spec)
           
TableValueDeclaration(SourcePosition sourcepos, String nm, CompilerType spec)
           
 
Method Summary
 RASMList rasm(CGEnv env)
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.declarations.LocalDeclaration
getSpec, return_local, setSpec, specList, typecheck_lhs, typecheck
 
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
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerThing
className, crashHere, getSerial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableValueDeclaration

public TableValueDeclaration(SourcePosition sourcepos,
                             String nm,
                             CompilerType spec)

TableValueDeclaration

public TableValueDeclaration(SourcePosition sourcepos,
                             LocalIdentifier idList,
                             CompilerType spec)

TableValueDeclaration

public TableValueDeclaration()
Method Detail

toString

public String toString()
Overrides:
toString in class LocalDeclaration

rasm

public RASMList rasm(CGEnv env)
Overrides:
rasm in class CompilerNode