Package codeanalysis.binding
Class BoundVariableExpression
java.lang.Object
codeanalysis.binding.BoundNode
codeanalysis.binding.BoundExpression
codeanalysis.binding.BoundVariableExpression
Represents a bound variable expression in the code analysis process.
- Version:
- 1.0
- Author:
- Siyabend Urun
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBoundVariableExpression(VariableSymbol variable) Creates a new instance of the BoundVariableExpression class. -
Method Summary
-
Constructor Details
-
BoundVariableExpression
Creates a new instance of the BoundVariableExpression class.- Parameters:
variable- The variable symbol represented by the expression.
-
-
Method Details
-
getVariable
Gets the variable symbol represented by the expression.- Returns:
- The variable symbol.
-
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.
-