Package examples.ast

Class Assignment


public class Assignment extends Statement
Assignments as statements.
  • Field Details

    • lhs

      final Expression lhs
      The left- and right-hand sides of the assignment.
    • rhs

      final Expression rhs
      The left- and right-hand sides of the assignment.
  • Constructor Details

    • Assignment

      public Assignment(int line, int column, Expression lhs, Expression rhs)
      Constructor.
      Parameters:
      line - The line where the assignment appears.
      column - The column where the assignment appears.
      lhs - The left-hand side of the assignment.
      rhs - The right-hand side of the assignment.
  • Method Details