Interface ExpressionEvaluatorVisitor


public interface ExpressionEvaluatorVisitor
Interface describes a visitor for compiled expressions.
Since:
1.3.0
  • Method Details

    • visitStart

      Start visit.
      Returns:
      the visitor instance, must not be null
    • visitSpecial

      Visit special field (like stream counter)
      Parameters:
      specialField - special value to be visited, must not be null
      Returns:
      the visitor instance, must not be null
    • visitField

      ExpressionEvaluatorVisitor visitField(JBBPNamedFieldInfo nullableNameFieldInfo, String nullableExternalFieldName)
      Visit field item, it can be or named field or external field (which name starts with $)
      Parameters:
      nullableNameFieldInfo - name info for the field, it will be null for external fields
      nullableExternalFieldName - name of external field, it will be null for regular field
      Returns:
      the visitor instance, must not be null
    • visitOperator

      Visit operator
      Parameters:
      operator - operator item to be visited, must not be null
      Returns:
      the visitor instance, must not be null
    • visitConstant

      ExpressionEvaluatorVisitor visitConstant(int value)
      Visit integer constant
      Parameters:
      value - integer constant
      Returns:
      the visitor instance, must not be null
    • visitEnd

      End of expression
      Returns:
      the visitor instance, must not be null