|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ir.hir.HIR_Impl
|
+--coins.ir.hir.StmtImpl
|
+--coins.ir.hir.AssignStmtImpl
Assignment statement class.
| フィールドの概要 |
| クラス coins.ir.hir.StmtImpl から継承したフィールド |
fMultiBlock, fNextStmt, fPrevStmt |
| クラス coins.ir.hir.HIR_Impl から継承したフィールド |
fAdditionalChild, fChildCount, fChildNode1, fChildNode2, fDbgLevel, fHirAnnex, fOperator, fParentNode, fType, hirRoot, inversionTable, machineParam, sourceLanguage |
| インタフェース coins.ir.hir.HIR から継承したフィールド |
OP_CODE_NAME, OP_CODE_NAME_DENSE |
| インタフェース coins.ir.IR から継承したフィールド |
OP_INF, OP_LIST, OP_PROG, OP_SUBP_DEF |
| コンストラクタの概要 | |
AssignStmtImpl(HirRoot pHirRoot,
Exp pLeftSide,
Exp pRightSide)
|
|
| メソッドの概要 | |
void |
accept(HirVisitor pVisitor)
accept Acceptor used in HIR visitor. |
Exp |
getLeftSide()
getLeftSide getRightSide These methods get a component of "this" assign statement. (##2) If "this" is not an assignment statement, then they return null. |
Exp |
getRightSide()
getLeftSide getRightSide These methods get a component of "this" assign statement. (##2) If "this" is not an assignment statement, then they return null. |
void |
replaceResultOperand(IR pOperand)
replaceResultOperand Replace result variable of "this" node by pOperand. |
void |
replaceResultVar(IR pOperand)
replaceResultVar to be DELETED. |
HIR |
replaceSource(int pNumber,
HIR pOperand)
|
HIR |
replaceSource1(HIR pOperand)
replaceSource1 Replace the source operand 1 of "this" node by pOperand. |
HIR |
replaceSource2(HIR pOperand)
replaceSource2 Replace the source operand 2 of "this" node by pOperand. |
void |
setLeftSide(Exp pOperand)
|
void |
setRightSide(Exp pOperand)
|
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース coins.ir.IR から継承したメソッド |
addInf, getChild1, getChild2, getInf, getInfList, getParent, getSym, print, print, removeInf |
| インタフェース coins.ir.IR0 から継承したメソッド |
getChild, getChildCount, getIndex, getOperator, setChild |
| インタフェース coins.ir.hir.HIR0 から継承したメソッド |
assignStmt, blockStmt, callStmt, constNode, contentsExp, convExp, copyWithOperands, copyWithOperandsChangingLabels, decayExp, elemNode, exp, exp, expStmt, falseNode, finishHir, forStmt, functionExp, getChildNumber, getFlag, getFlagBox, getNextStmt, getStmtContainingThisNode, getType, hirClone, hirIterator, hirList, hirSeq, ifStmt, intConstNode, irList, isSameAs, jumpStmt, labelDef, labeledStmt, labelNode, pointedExp, print, program, qualifiedExp, repeatStmt, replaceThisNode, returnStmt, setFlag, setIndexNumberToAllNodes, sizeofExp, sizeofExp, subpDefinition, subpNode, subscriptedExp, switchStmt, symNode, trueNode, undecayExp, varNode, whileStmt |
| コンストラクタの詳細 |
public AssignStmtImpl(HirRoot pHirRoot,
Exp pLeftSide,
Exp pRightSide)
| メソッドの詳細 |
public Exp getLeftSide()
AssignStmt 内の getLeftSidepublic Exp getRightSide()
AssignStmt の記述:
AssignStmt 内の getRightSidepublic void setLeftSide(Exp pOperand)
AssignStmt 内の setLeftSidepublic void setRightSide(Exp pOperand)
AssignStmt 内の setRightSidepublic HIR replaceSource1(HIR pOperand)
HIR の記述:
HIR 内の replaceSource1HIR_Impl 内の replaceSource1pOperand - node that take place of source operand 1.public HIR replaceSource2(HIR pOperand)
HIR の記述:
HIR 内の replaceSource2HIR_Impl 内の replaceSource2pOperand - node that take place of source operand 2.
public HIR replaceSource(int pNumber,
HIR pOperand)
public void replaceResultOperand(IR pOperand)
pOperand - node that takes place of result variable.
If "this" is HIR node then it should be HIR node,
if "this" is LIR node then it should be LIR node.public void replaceResultVar(IR pOperand)
pOperand - node that takes place of result variable.
If "this" is HIR node then it should be HIR node,
if "this" is LIR node then it should be LIR node.public void accept(HirVisitor pVisitor)
HIR0 の記述:
HIR0 内の acceptHIR_Impl 内の acceptpVisitor - HirVisitor
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||