Class AnnotatedBinaryExpression

  • All Implemented Interfaces:
    AnnotatedExpression

    public final class AnnotatedBinaryExpression
    extends java.lang.Object
    implements AnnotatedExpression
    The AnnotatedBinaryExpression class is used to store information about annotated binary expressions declared during compilation.
    Since:
    1.0
    • Constructor Detail

      • AnnotatedBinaryExpression

        public AnnotatedBinaryExpression​(AnnotatedExpression leftOperand,
                                         AnnotatedBinaryOperator operator,
                                         AnnotatedExpression rightOperand)
        Constructs an AnnotatedBinaryExpression object, initialised with the expressions contents.

        The ObjectType is automatically added based on the result type of the operator.

        Parameters:
        leftOperand - The left operand
        operator - The binary operator
        rightOperand - The right operand