elan.instruction
Class If

java.lang.Object
  |
  +--elan.GrammarElement
        |
        +--elan.instruction.If

public class If
extends elan.GrammarElement


Field Summary
protected  Expression myExpression
           
protected  StrictInstructionList myList
           
 
Fields inherited from class elan.GrammarElement
ourMap
 
Constructor Summary
If(Expression e, StrictInstructionList sil)
           
 
Method Summary
 java.lang.Object evaluate(elan.Context c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myExpression

protected Expression myExpression

myList

protected StrictInstructionList myList
Constructor Detail

If

public If(Expression e,
          StrictInstructionList sil)
Method Detail

evaluate

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