Class ExpressionCompiler

    • Field Detail

      • returnType

        private java.lang.Class returnType
      • verifyOnly

        private boolean verifyOnly
      • verifying

        private boolean verifying
      • secondPassOptimization

        private boolean secondPassOptimization
    • Constructor Detail

      • ExpressionCompiler

        public ExpressionCompiler​(java.lang.String expression)
      • ExpressionCompiler

        public ExpressionCompiler​(java.lang.String expression,
                                  boolean verifying)
      • ExpressionCompiler

        public ExpressionCompiler​(char[] expression)
      • ExpressionCompiler

        public ExpressionCompiler​(java.lang.String expression,
                                  ParserContext ctx)
      • ExpressionCompiler

        public ExpressionCompiler​(char[] expression,
                                  int start,
                                  int offset)
      • ExpressionCompiler

        public ExpressionCompiler​(java.lang.String expression,
                                  int start,
                                  int offset,
                                  ParserContext ctx)
      • ExpressionCompiler

        public ExpressionCompiler​(char[] expression,
                                  int start,
                                  int offset,
                                  ParserContext ctx)
      • ExpressionCompiler

        public ExpressionCompiler​(char[] expression,
                                  ParserContext ctx)
    • Method Detail

      • _compile

        public CompiledExpression _compile()
        Initiate an in-context compileShared. This method should really only be called by the internal API.
        Returns:
        compiled expression object
      • getStackValueResult

        private java.lang.Object getStackValueResult()
      • compileReduce

        private boolean compileReduce​(int opCode,
                                      ASTLinkedList astBuild)
      • isBooleanOperator

        private static boolean isBooleanOperator​(int operator)
      • isVerifying

        public boolean isVerifying()
      • setVerifying

        public void setVerifying​(boolean verifying)
      • isVerifyOnly

        public boolean isVerifyOnly()
      • setVerifyOnly

        public void setVerifyOnly​(boolean verifyOnly)
      • getReturnType

        public java.lang.Class getReturnType()
      • setReturnType

        public void setReturnType​(java.lang.Class returnType)
      • getParserContextState

        public ParserContext getParserContextState()
      • isLiteralOnly

        public boolean isLiteralOnly()