eval
Class expression

java.lang.Object
  |
  +--oops.parser.GoalAdapter
        |
        +--eval.expression

public class expression
extends oops.parser.GoalAdapter

Goal class for the expression rule.

Author:
Bernd Kuehl, Bernd.Kuehl@informatik.uni-osnabrueck.de, Axel-Tobias Schreiner, axel@informatik.uni-osnabrueck.de, Jan Kraneis, jkraneis@informatik.uni-osnabrueck.de

Fields inherited from class oops.parser.GoalAdapter
result
 
Constructor Summary
expression()
           
 
Method Summary
 java.lang.Object reduce()
          reduce method.
 void shift(oops.parser.Goal sender, java.lang.Object value)
          shift method.
 
Methods inherited from class oops.parser.GoalAdapter
shift, shift
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

expression

public expression()
Method Detail

shift

public void shift(oops.parser.Goal sender,
                  java.lang.Object value)
shift method. Prints evaluated value.
Overrides:
shift in class oops.parser.GoalAdapter

reduce

public java.lang.Object reduce()
reduce method.
Overrides:
reduce in class oops.parser.GoalAdapter
Returns:
always null