ArrayRefExpr Class ReferenceAn expression representing an array reference.
More...
#include <ArrayRefExpr.h>
Inheritance diagram for ArrayRefExpr:
[legend]List of all members.
Detailed Description
An expression representing an array reference.
Polaris Expression - See also:
- Expression/ArrayRefExpr.h
Expression/ArrayRefExpr.h
Expression/Expression.cc
An ArrayRefExpr is an array reference. It consists of an array name and a subscripting expression.
USE: array is an IDExpr subscript is a CommaExpr
Definition at line 33 of file ArrayRefExpr.h.
Constructor & Destructor Documentation
| ArrayRefExpr::ArrayRefExpr |
( |
const ArrayRefExpr & |
e |
) |
[inline] |
|
|
|
Note: The following data fields are aliased: array = left subscript = right.
Definition at line 3393 of file Expression.cc.
References _arcs. |
| ArrayRefExpr::ArrayRefExpr |
( |
const Type & |
etype |
) |
[inline, protected] |
|
Member Function Documentation
| const Expression& ArrayRefExpr::array |
( |
|
) |
const [inline, virtual] |
|
| Expression& ArrayRefExpr::array |
( |
|
) |
[inline, virtual] |
|
| void ArrayRefExpr::array |
( |
Expression * |
|
) |
[virtual] |
|
| const Expression& ArrayRefExpr::subscript |
( |
|
) |
const [inline, virtual] |
|
| Expression& ArrayRefExpr::subscript |
( |
|
) |
[inline, virtual] |
|
| void ArrayRefExpr::subscript |
( |
Expression * |
|
) |
[virtual] |
|
| Expression * ArrayRefExpr::clone |
( |
|
) |
const [virtual] |
|
| int ArrayRefExpr::structures_OK |
( |
|
) |
const [virtual] |
|
| virtual void ArrayRefExpr::convert |
( |
BinRep & |
exprSet, |
|
|
Symtab & |
symtab |
|
) |
[virtual] |
|
|
|
Read in the values of my fields and my subexpressions from the given BinRep object.
Convert(BinRep) expects the BinRep to be referencing an expression set of the same type as the expression. On return, all data from the expression set has been inserted into the appropriate fields in the expression object. NOTE that this converts the expression to an intermediate form which may contain TableExpr objects.
Reimplemented from BinaryExpr. |
| virtual void ArrayRefExpr::print_debug |
( |
ostream & |
o, |
|
|
Boolean |
debug |
|
) |
const [virtual] |
|
| const Symbol * ArrayRefExpr::base_variable_ref |
( |
|
) |
const [virtual] |
|
| Symbol * ArrayRefExpr::base_variable_ref |
( |
|
) |
[virtual] |
|
| int ArrayRefExpr::exchange_expr |
( |
VDL & |
vdl |
) |
[virtual] |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files:
|