uk.ac.man.cs.rainbow.compiler.yellow
Class Alternative

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.Alternative

public class Alternative
extends YellowCommand


Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
Alternative(SourcePosition sourcepos, Sync sync, YellowBlock after_block)
           
 
Method Summary
 String dumpTree(int n)
           
 ProcessTerm getRAPA(RapaEnv env)
           
 RASMList labelled_rasm_list_execute_code(CGEnv env, String context, String end_label, DeviceAddresses addrs)
           
 RASMList rasm_list_with_context_test_code(CGEnv env, DeviceAddresses addrs, int which, int counter_pos)
           
 String toString()
           
 TCEnv typecheck(TCEnv env, Errors errors)
           
 
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, 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

Alternative

public Alternative(SourcePosition sourcepos,
                   Sync sync,
                   YellowBlock after_block)
Method Detail

toString

public String toString()
Overrides:
toString in class YellowCommand

dumpTree

public String dumpTree(int n)
Overrides:
dumpTree in class CompilerNode

typecheck

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

labelled_rasm_list_execute_code

public RASMList labelled_rasm_list_execute_code(CGEnv env,
                                                String context,
                                                String end_label,
                                                DeviceAddresses addrs)

rasm_list_with_context_test_code

public RASMList rasm_list_with_context_test_code(CGEnv env,
                                                 DeviceAddresses addrs,
                                                 int which,
                                                 int counter_pos)

getRAPA

public ProcessTerm getRAPA(RapaEnv env)
Overrides:
getRAPA in class YellowCommand