Package compilation.analysis.semantic
Interface AnnotatedOperator
-
- All Known Implementing Classes:
AnnotatedAssignmentOperator,AnnotatedBinaryOperator,AnnotatedUnaryOperator
public interface AnnotatedOperatorThe AnnotatedOperator interface is used to represent annotated operators declared during compilation.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatorTypegetOperatorType()Return the OperatorType of an AnnotatedOperator objectObjectTypegetResultObjectType()Return the ObjectType of an AnnotatedOperator objectTokenTypegetTokenType()Return the TokenType of an AnnotatedOperator object
-
-
-
Method Detail
-
getTokenType
TokenType getTokenType()
Return the TokenType of an AnnotatedOperator object- Returns:
- the TokenType of the AnnotatedOperator
-
getOperatorType
OperatorType getOperatorType()
Return the OperatorType of an AnnotatedOperator object- Returns:
- the OperatorType of the AnnotatedOperator
-
getResultObjectType
ObjectType getResultObjectType()
Return the ObjectType of an AnnotatedOperator object- Returns:
- the ObjectType of the AnnotatedOperator
-
-