Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.nfunk.jep.function
Interface SpecialEvaluationI

Deprecated. The interface CallbackEvaluationI should generally be used instead as its simpler and allows different evaluation schemes to be used.

    public interface SpecialEvaluationI

Functions which require greater control over their evaluation should implement this interface.

Author:
  Rich Morris
See Also:
  `Created on 18-Nov-2003`

Method Summary
`java.lang.Object` | `evaluate(Node node, java.lang.Object data, ParserVisitor pv, java.util.Stack stack, SymbolTable symTab)` Deprecated. Performs some special evaluation on the node.

Method Detail

### evaluate

    java.lang.Object evaluate(Node node,
                              java.lang.Object data,
                              ParserVisitor pv,
                              java.util.Stack stack,
                              SymbolTable symTab)
                              throws ParseException

  Deprecated.
  Performs some special evaluation on the node. This method has the responsibility for evaluating the children of the node and it should generally call

       node.jjtGetChild(i).jjtAccept(pv,data);

  for each child. Briefly the symbol table was removed as arguments to this method, it is now reinserted.

  Parameters:
    `node` - The current node
    `data` - The data passed to visitor, typically not used
    `pv` - The visitor, can be used evaluate the children
    `stack` - The stack of the evaluator
    `symTab` - The symbol table
  Returns:
    the value after evaluation
  Throws:
    `ParseException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

http://www.singularsys.com/jep Copyright © 2007 Singular Systems