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

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.Choices
                          |
                          +--uk.ac.man.cs.rainbow.compiler.yellow.Loop

public class Loop
extends Choices


Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
Loop(SourcePosition sourcepos, GuardedCommand altList)
           
 
Method Summary
 RASMList rasm(CGEnv env)
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.yellow.Choices
dumpTree, gen_choices, typecheck
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.yellow.YellowCommand
getRAPA
 
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, 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

Loop

public Loop(SourcePosition sourcepos,
            GuardedCommand altList)
Method Detail

toString

public String toString()
Overrides:
toString in class YellowCommand

rasm

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