coins.ffront
クラス SubscrOrFunCallNode

java.lang.Object
  |
  +--coins.ffront.Pair
        |
        +--coins.ffront.SubscrOrFunCallNode
すべての実装インタフェース:
Node

public class SubscrOrFunCallNode
extends Pair

Subscripted variable reference or function call


フィールドの概要
(パッケージプライベート)  DeclManager fDeclMgr
           
(パッケージプライベート)  ExecStmtManager fESMgr
           
(パッケージプライベート)  HirUtility fHirUtil
           
(パッケージプライベート)  IntrinsicUtility fIntrUtil
           
(パッケージプライベート)  TypeUtility fTypeUtil
           
(パッケージプライベート)  HIR hir
           
 
クラス coins.ffront.Pair から継承したフィールド
fHir, left, right
 
コンストラクタの概要
SubscrOrFunCallNode(Token t, FirList list, FirToHir pfHir)
           
 
メソッドの概要
(パッケージプライベート)  void dp(java.lang.String str)
           
 Exp getAParamAt(int index)
          Get Exp node of index-th actual parameter of statement-function call.
 java.lang.String getIdent()
           
(パッケージプライベート)  IrList makeAParams()
          Translate FirList actual parameter list to HIR IrList.
 Exp makeArgAddr(FStmt pCallStmt)
          Make Exp node of address of this.
 Exp makeExp()
          Translate this to HIR Exp node.
(パッケージプライベート)  IrList makeFParamTypes(FirList pList)
          Make type list (IrList) from Token list (FirList)
(パッケージプライベート)  Exp makeFunCall(Sym funcSym)
          Make Exp node of a statement-function call or an external function call
(パッケージプライベート)  Exp makeNewFunCall(Type returnType)
          Define an external function and make Exp node for the external function call.
(パッケージプライベート)  Exp makeParamFunCall(Param param)
           
(パッケージプライベート)  Exp makeSubscripted()
          Make subscripted exp.
(パッケージプライベート)  void registerFParams(FirList pList, IrList fParamList)
          Register pamameters of a statement-function to symbol table
 
クラス coins.ffront.Pair から継承したメソッド
getLeft, getRight, print, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fHirUtil

HirUtility fHirUtil

fTypeUtil

TypeUtility fTypeUtil

fDeclMgr

DeclManager fDeclMgr

fESMgr

ExecStmtManager fESMgr

fIntrUtil

IntrinsicUtility fIntrUtil

hir

HIR hir
コンストラクタの詳細

SubscrOrFunCallNode

public SubscrOrFunCallNode(Token t,
                           FirList list,
                           FirToHir pfHir)
メソッドの詳細

getIdent

public java.lang.String getIdent()

makeExp

public Exp makeExp()
Translate this to HIR Exp node.

定義:
インタフェース Node 内の makeExp
オーバーライド:
クラス Pair 内の makeExp
戻り値:
HIR Exp node.

makeParamFunCall

Exp makeParamFunCall(Param param)

makeNewFunCall

Exp makeNewFunCall(Type returnType)
Define an external function and make Exp node for the external function call.

パラメータ:
returnType - type of return value
戻り値:
external function call.

makeAParams

IrList makeAParams()
Translate FirList actual parameter list to HIR IrList.

戻り値:
actual parameter list in HIR.

makeFParamTypes

IrList makeFParamTypes(FirList pList)
Make type list (IrList) from Token list (FirList)

パラメータ:
pList - Token list
戻り値:
type list.

registerFParams

void registerFParams(FirList pList,
                     IrList fParamList)
Register pamameters of a statement-function to symbol table

パラメータ:
pList - Token list of parameters
fParamList - Type list of parameters

getAParamAt

public Exp getAParamAt(int index)
Get Exp node of index-th actual parameter of statement-function call.

パラメータ:
index -
戻り値:
index-th actual parameter.

makeSubscripted

Exp makeSubscripted()
Make subscripted exp.


makeFunCall

Exp makeFunCall(Sym funcSym)
Make Exp node of a statement-function call or an external function call

戻り値:
call expression.

makeArgAddr

public Exp makeArgAddr(FStmt pCallStmt)
Make Exp node of address of this.

定義:
インタフェース Node 内の makeArgAddr
オーバーライド:
クラス Pair 内の makeArgAddr
パラメータ:
pCallStmt -
戻り値:
address node.

dp

void dp(java.lang.String str)