Class ValueExpression

    • Constructor Detail

      • ValueExpression

        protected ValueExpression​(Type staticType,
                                  CodeLocation location)
        Builds the heap expression.
        Parameters:
        staticType - the static type of this expression
        location - the code location of the statement that has generated this value expression
    • Method Detail

      • removeNegations

        public ValueExpression removeNegations()
        Yields the same value expression removing any negation, namely the LogicalNegation operator, preserving its semantics, if possible.
        Returns:
        the same value expression removing any negation, preserving its semantics