cetus.analysis
Class DDArrayAccessInfo

java.lang.Object
  extended by cetus.analysis.DDArrayAccessInfo

public class DDArrayAccessInfo
extends java.lang.Object


Constructor Summary
DDArrayAccessInfo(ArrayAccess expr, int type, Loop loop, Statement stmt)
          Constructor
 
Method Summary
 java.util.LinkedList<Loop> getAccessEnclosingLoops()
          Returns entire nest of enclosing loops
 Loop getAccessLoop()
          Returns the enclosing loop
 int getAccessType()
          Returns a boolean value indicating whether this array access is a write(0) or a read(1) within the parent statement
 ArrayAccess getArrayAccess()
          Returns the array access expression
 Expression getArrayAccessName()
           
 Statement getParentStatement()
          Returns the statement that contains the array access
 void setArrayAccess(ArrayAccess e)
          Set the array access expression
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DDArrayAccessInfo

public DDArrayAccessInfo(ArrayAccess expr,
                         int type,
                         Loop loop,
                         Statement stmt)
Constructor

Parameters:
-
Method Detail

getArrayAccess

public ArrayAccess getArrayAccess()
Returns the array access expression


setArrayAccess

public void setArrayAccess(ArrayAccess e)
Set the array access expression


getAccessType

public int getAccessType()
Returns a boolean value indicating whether this array access is a write(0) or a read(1) within the parent statement


getAccessLoop

public Loop getAccessLoop()
Returns the enclosing loop


getAccessEnclosingLoops

public java.util.LinkedList<Loop> getAccessEnclosingLoops()
Returns entire nest of enclosing loops


getParentStatement

public Statement getParentStatement()
Returns the statement that contains the array access


getArrayAccessName

public Expression getArrayAccessName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object