Package compilation.analysis.semantic
Class AnnotatedBinaryExpression
- java.lang.Object
-
- compilation.analysis.semantic.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 Summary
Constructors Constructor Description AnnotatedBinaryExpression(AnnotatedExpression leftOperand, AnnotatedBinaryOperator operator, AnnotatedExpression rightOperand)Constructs an AnnotatedBinaryExpression object, initialised with the expressions contents.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface compilation.analysis.semantic.AnnotatedExpression
getExpressionType, getObjectType
-
-
-
-
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 operandoperator- The binary operatorrightOperand- The right operand
-
-