uk.ac.man.cs.rainbow.compiler.tables
Class ExpOutput

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.CompilerNode
              |
              +--uk.ac.man.cs.rainbow.compiler.tables.TablePattern
                    |
                    +--uk.ac.man.cs.rainbow.compiler.tables.OutputPattern
                          |
                          +--uk.ac.man.cs.rainbow.compiler.tables.ExpOutput

public class ExpOutput
extends OutputPattern


Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
ExpOutput(Expression exp)
           
 
Method Summary
protected  Action getRAPA(RapaEnv env, Channel c)
           
 RASMList rasm(CGEnv env)
           
 String toString()
           
 TablePattern typecheck(CompilerType output_type, TCEnv env, Errors errors)
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.tables.OutputPattern
getRAPA
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.tables.TablePattern
channel_num, set_pos, set_poses
 
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

ExpOutput

public ExpOutput(Expression exp)
Method Detail

toString

public String toString()
Overrides:
toString in class CompilerNode

typecheck

public TablePattern typecheck(CompilerType output_type,
                              TCEnv env,
                              Errors errors)
Overrides:
typecheck in class CompilerNode

rasm

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

getRAPA

protected Action getRAPA(RapaEnv env,
                         Channel c)
Overrides:
getRAPA in class OutputPattern