Class ExprExpression

  • All Implemented Interfaces:
    java.lang.Cloneable, Constants, RuntimeConstants

    public class ExprExpression
    extends UnaryExpression
    Parenthesized expressions. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
    • Constructor Detail

      • ExprExpression

        public ExprExpression​(long where,
                              Expression right)
        Constructor
    • Method Detail

      • checkAssignOp

        public Vset checkAssignOp​(Environment env,
                                  Context ctx,
                                  Vset vset,
                                  java.util.Hashtable<java.lang.Object,​java.lang.Object> exp,
                                  Expression outside)
        Check the expression if it appears as an lvalue. We just pass it on to our unparenthesized subexpression. (Part of fix for 4090372)
        Overrides:
        checkAssignOp in class Expression
      • isNull

        public boolean isNull()
        Description copied from class: Expression
        Check if the expression must be a null reference.
        Overrides:
        isNull in class Expression
      • isNonNull

        public boolean isNonNull()
        Description copied from class: Expression
        Check if the expression cannot be a null reference.
        Overrides:
        isNonNull in class Expression
      • getValue

        public java.lang.Object getValue()
        Description copied from class: Expression
        Return the constant value.
        Overrides:
        getValue in class Expression
      • inlineValueSB

        protected java.lang.StringBuffer inlineValueSB​(Environment env,
                                                       Context ctx,
                                                       java.lang.StringBuffer buffer)
        Delegate to our subexpression. See the comment in AddExpression#inlineValueSB() for information about this method.
        Overrides:
        inlineValueSB in class Expression