Package codeanalysis.binding
Class BoundUnaryExpression
java.lang.Object
codeanalysis.binding.BoundNode
codeanalysis.binding.BoundExpression
codeanalysis.binding.BoundUnaryExpression
Represents a bound unary expression in the code analysis process.
- Version:
- 1.0
- Author:
- Siyabend Urun
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBoundUnaryExpression(BoundUnaryOperator operator, BoundExpression operand) Constructs a new instance of the BoundUnaryExpression class. -
Method Summary
-
Constructor Details
-
BoundUnaryExpression
Constructs a new instance of the BoundUnaryExpression class.- Parameters:
operator- The operator of the unary expression.operand- The operand of the unary expression.
-
-
Method Details
-
getType
Gets the type of the bound expression. -
getClassType
Gets the class type of the bound expression.- Specified by:
getClassTypein classBoundExpression- Returns:
- The class type of the bound expression.
-
getOperand
Gets the operand of the unary expression.- Returns:
- The operand of the unary expression.
-
getOperator
Gets the operator of the unary expression.- Returns:
- The operator of the unary expression.
-