Class BoundAssignmentExpression


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

    • BoundAssignmentExpression

      public BoundAssignmentExpression(VariableSymbol variable, BoundExpression boundExpression)
      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

      public VariableSymbol getVariable()
      Gets the variable being assigned to.
      Returns:
      The variable symbol.
    • getExpression

      public BoundExpression getExpression()
      Gets the expression being assigned.
      Returns:
      The bound expression.
    • 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.