Class BoundVariableExpression


public class BoundVariableExpression extends BoundExpression
Represents a bound variable expression in the code analysis process.
Version:
1.0
Author:
Siyabend Urun
See Also:
  • Constructor Details

    • BoundVariableExpression

      public BoundVariableExpression(VariableSymbol variable)
      Creates a new instance of the BoundVariableExpression class.
      Parameters:
      variable - The variable symbol represented by the expression.
  • Method Details

    • getVariable

      public VariableSymbol getVariable()
      Gets the variable symbol represented by the expression.
      Returns:
      The variable symbol.
    • getClassType

      public Class<?> getClassType()
      Gets the class type of the bound expression.
      Specified by:
      getClassType in class BoundExpression
      Returns:
      The class type of the bound expression.
    • getType

      public BoundNodeType getType()
      Gets the type of the bound expression.
      Specified by:
      getType in class BoundNode
      Returns:
      The type of the bound expression.