Package compilation.analysis.semantic
Class AnnotatedUnaryExpression
- java.lang.Object
-
- compilation.analysis.semantic.AnnotatedUnaryExpression
-
- All Implemented Interfaces:
AnnotatedExpression
public final class AnnotatedUnaryExpression extends java.lang.Object implements AnnotatedExpression
The AnnotatedUnaryExpression class is used to store information about annotated unary expressions declared during compilation.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description AnnotatedUnaryExpression(AnnotatedUnaryOperator operator, AnnotatedExpression operand)Constructs an AnnotatedUnaryExpression 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
-
AnnotatedUnaryExpression
public AnnotatedUnaryExpression(AnnotatedUnaryOperator operator, AnnotatedExpression operand)
Constructs an AnnotatedUnaryExpression object, initialised with the expressions contents.The ObjectType is automatically added based on the result type of the operator.
- Parameters:
operator- The unary operatoroperand- The expression the operator is being applied to
-
-