Class inria.meije.rc.sugarcubes.Repeat
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class inria.meije.rc.sugarcubes.Repeat
java.lang.Object
   |
   +----inria.meije.rc.sugarcubes.Instruction
           |
           +----inria.meije.rc.sugarcubes.UnaryInstruction
                   |
                   +----inria.meije.rc.sugarcubes.Repeat
  -  public class Repeat
  -  extends UnaryInstruction
The finite loop. No detection of instantaneously terminating bodies.
   
  -   counter counter
-  counter is the number of already done cycles
  
-   num num
-  num is the initial loop number of cycles.
   
  -   Repeat(int, Instruction) Repeat(int, Instruction)
-  
   
  -   activation(Machine) activation(Machine)
-  Specific activation.
  
-   equals(Instruction) equals(Instruction)
-  Equality of two instructions implies that they are of the same type.
  
-   reset() reset()
-  To reset the instruction.
  
-   residual(Machine) residual(Machine)
-  Redefinition of residual.
  
-   toString() toString()
-  Instructions can be converted to strings.
   
 num
num
  protected int num
  -  num is the initial loop number of cycles.
 counter
counter
  protected int counter
  -  counter is the number of already done cycles
   
 Repeat
Repeat
  public Repeat(int num,
                Instruction body)
   
 reset
reset
  public void reset()
  -  To reset the instruction.
  
    -  Overrides:
    
-  reset in class UnaryInstruction
  
 
 equals
equals
  public final boolean equals(Instruction inst)
  -  Equality of two instructions implies that they are of the same type.
  
    -  Overrides:
    
-  equals in class UnaryInstruction
  
 
 residual
residual
  public Instruction residual(Machine machine)
  -  Redefinition of residual.
  
    -  Overrides:
    
-  residual in class UnaryInstruction
  
 
 toString
toString
  public final String toString()
  -  Instructions can be converted to strings.
  
    -  Overrides:
    
-  toString in class Instruction
  
 
 activation
activation
  protected final byte activation(Machine machine)
  -  Specific activation.
  
    -  Overrides:
    
-  activation in class Instruction
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index