Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ArrayVariant Class Reference

List of all members.

Public Methods

 ArrayVariant (ClassTokenArray classTokenArray, Index arrayIndex, FGNodeArray node)
FGNodeArray getNode ()

Private Attributes

ClassTokenArray classTokenArray
Index arrayIndex
FGNodeArray node

Detailed Description

This class represents the array object that may flow into an array reference. These array objects created using new are referred to as ArrayVariants.
Author:
John Hatcliff
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 53 of file ArrayVariant.java.


Constructor & Destructor Documentation

ArrayVariant::ArrayVariant ClassTokenArray   classTokenArray,
Index   arrayIndex,
FGNodeArray   node
[inline]
 

Constructor of the class.

Parameters:
classTokenArray   the Array class this arrayVariant represents.
arrayIndex   the Index corresponding to this variant.
node   the flow graph node corresponding to this variant's creation site.

Definition at line 82 of file ArrayVariant.java.


Member Function Documentation

FGNodeArray ArrayVariant::getNode   [inline]
 

Provides the flow graph node corresponding to new expression in which this variant was created.

Returns:
the flow graph node corresponding to this variant's creation site.

Definition at line 95 of file ArrayVariant.java.

Referenced by FGExpr::caseNewArrayExpr(), FGExpr::caseNewMultiArrayExpr(), FGActionArrayStore::doAction(), and FGActionArrayRef::doAction().


Member Data Documentation

Index ArrayVariant::arrayIndex [private]
 

The Index corresponding to this variant. This Index is obtained from ArrayIndexManager and used by ArrayVariantManager to map the ValueVariant and ClassTokenArray to the ArrayVariant.

Definition at line 66 of file ArrayVariant.java.

ClassTokenArray ArrayVariant::classTokenArray [private]
 

Describes an Array class.

Definition at line 58 of file ArrayVariant.java.

FGNodeArray ArrayVariant::node [private]
 

The flow graph node corresponding to this variant. This node corresponds to the array creation site.

Definition at line 72 of file ArrayVariant.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:04:51 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001