Package codeanalysis.binding
Class BoundAssignmentExpression
java.lang.Object
codeanalysis.binding.BoundNode
codeanalysis.binding.BoundExpression
codeanalysis.binding.BoundAssignmentExpression
Represents a bound assignment expression in the code analysis process.
- Version:
- 1.0
- Author:
- Siyabend Urun
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBoundAssignmentExpression(VariableSymbol variable, BoundExpression boundExpression) Initializes a new instance of the BoundAssignmentExpression class. -
Method Summary
-
Constructor Details
-
BoundAssignmentExpression
Initializes a new instance of the BoundAssignmentExpression class.- Parameters:
variable- The variable symbol being assigned to.boundExpression- The bound expression representing the value being assigned.
-
-
Method Details
-
getVariable
Gets the variable being assigned to.- Returns:
- The variable symbol.
-
getExpression
Gets the expression being assigned.- Returns:
- The bound expression.
-
getClassType
Gets the class type of the bound expression.- Specified by:
getClassTypein classBoundExpression- Returns:
- The class type of the bound expression.
-
getType
Gets the type of the bound expression.
-