Class Evaluator

  • class Evaluator
    extends java.lang.Object
    Holds context for evaluating expressions.
    • Field Summary

      Modifier and Type Field Description
      (package private) java.util.List<ParameterExpression> parameters  
      (package private) java.util.List<java.lang.Object> values  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void clear()  
      (package private) java.lang.Object evaluate​(Node expression)  
      (package private) java.lang.Object peek​(ParameterExpression param)  
      (package private) void pop​(int n)  
      (package private) void push​(ParameterExpression parameter, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • values

        final java.util.List<java.lang.Object> values
    • Constructor Detail

      • Evaluator

    • Method Detail

      • pop

        void pop​(int n)
      • evaluate

        java.lang.Object evaluate​(Node expression)
      • clear

        void clear()