next up previous contents index
Next: Translating method invocations Up: Basic translation Previous: Scalar subscripts in distributed   Contents   Index


Translating field accesses

We only need to consider the case where the field is a multiarray. The general scheme is illustrated in Figure A.30.

The names $a'_{\mbox{\small dat}}$, $a'_{\mbox{\small bas}}$, and $a'_0, \ldots, a'_{R-1}$ are the names introduced by the translator when translating the corresponding field in the source program (see section A.4.2).

Figure A.31: Translation of method invocation expression, where return value is not multiarray-valued.
\begin{figure}\textbf{SOURCE:}
\begin{eqnarray*}
e & \equiv & e_{\mbox{\small ob...
...t TRANS\_ARGS} is defined in the text.}
\end{array}\end{displaymath}\end{figure}



Bryan Carpenter 2003-04-15