|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ffront.Pair
coins.ffront.SubscrOrFunCallNode
Subscripted variable reference or function call
| Field Summary | |
(package private) DeclManager |
fDeclMgr
|
(package private) ExecStmtManager |
fESMgr
|
(package private) HirUtility |
fHirUtil
|
(package private) IntrinsicUtility |
fIntrUtil
|
(package private) TypeUtility |
fTypeUtil
|
(package private) HIR |
hir
|
| Fields inherited from class coins.ffront.Pair |
fHir, left, right |
| Constructor Summary | |
SubscrOrFunCallNode(Token t,
FirList list,
FirToHir pfHir)
|
|
| Method Summary | |
(package private) 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()
|
(package private) 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. |
(package private) IrList |
makeFParamTypes(FirList pList)
Make type list (IrList) from Token list (FirList) |
(package private) Exp |
makeFunCall(Sym funcSym)
Make Exp node of a statement-function call or an external function call |
(package private) Exp |
makeNewFunCall(Type returnType)
Define an external function and make Exp node for the external function call. |
(package private) Exp |
makeParamFunCall(Param param)
|
(package private) Exp |
makeSubscripted()
Make subscripted exp. |
(package private) void |
registerFParams(FirList pList,
IrList fParamList)
Register pamameters of a statement-function to symbol table |
| Methods inherited from class coins.ffront.Pair |
getLeft, getRight, print, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
HirUtility fHirUtil
TypeUtility fTypeUtil
DeclManager fDeclMgr
ExecStmtManager fESMgr
IntrinsicUtility fIntrUtil
HIR hir
| Constructor Detail |
public SubscrOrFunCallNode(Token t,
FirList list,
FirToHir pfHir)
| Method Detail |
public java.lang.String getIdent()
public Exp makeExp()
makeExp in interface NodemakeExp in class PairExp makeParamFunCall(Param param)
Exp makeNewFunCall(Type returnType)
returnType - type of return value
IrList makeAParams()
IrList makeFParamTypes(FirList pList)
pList - Token list
void registerFParams(FirList pList,
IrList fParamList)
pList - Token list of parametersfParamList - Type list of parameterspublic Exp getAParamAt(int index)
index -
Exp makeSubscripted()
Exp makeFunCall(Sym funcSym)
public Exp makeArgAddr(FStmt pCallStmt)
makeArgAddr in interface NodemakeArgAddr in class PairpCallStmt -
void dp(java.lang.String str)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||