elan.instruction
Class Repeat

java.lang.Object
  |
  +--elan.GrammarElement
        |
        +--elan.instruction.Instruction
              |
              +--elan.instruction.Repeat

public class Repeat
extends Instruction

Relates to "REPEAT"-type instructions.


Field Summary
protected  Expression myExpression
           
protected  StrictInstructionList myList
           
 
Fields inherited from class elan.GrammarElement
ourMap
 
Constructor Summary
Repeat(Expression e, StrictInstructionList sil)
           
 
Method Summary
 java.lang.Object evaluate(Context c)
           
 java.lang.String toString()
          Returns the HRF of the Instruction as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myExpression

protected Expression myExpression

myList

protected StrictInstructionList myList
Constructor Detail

Repeat

public Repeat(Expression e,
              StrictInstructionList sil)
Method Detail

evaluate

public java.lang.Object evaluate(Context c)
Overrides:
evaluate in class Instruction

toString

public java.lang.String toString()
Returns the HRF of the Instruction as a String.

Overrides:
toString in class java.lang.Object