avrora.core.isdl.ast
Class AssignStmt

java.lang.Object
  extended byavrora.core.isdl.ast.Stmt
      extended byavrora.core.isdl.ast.AssignStmt
Direct Known Subclasses:
MapAssignStmt, MapBitAssignStmt, MapBitRangeAssignStmt, VarAssignStmt, VarBitAssignStmt, VarBitRangeAssignStmt

public abstract class AssignStmt
extends Stmt

The AssignStmt class represents an assignment statement in the IR. This is an abstract class whose subclasses represent the different cases of assignments: assignments to locals, to maps, and to ranges of bits, individual bits, etc.


Field Summary
 Expr expr
          The expr field stores a reference to the expression whose result is assigned to the left hand side.
 
Constructor Summary
AssignStmt(Expr r)
          The constructor of the AssignStmt class simply stores a reference to the right hand side expression internally.
 
Methods inherited from class avrora.core.isdl.ast.Stmt
accept, accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expr

public final Expr expr
The expr field stores a reference to the expression whose result is assigned to the left hand side.

Constructor Detail

AssignStmt

public AssignStmt(Expr r)
The constructor of the AssignStmt class simply stores a reference to the right hand side expression internally.

Parameters:
r - the expression representing the right hand side of the assignment