|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
LabeledStmt Labeled statement interface
フィールドの概要 |
インタフェース coins.ir.hir.HIR から継承したフィールド |
OP_CODE_NAME, OP_CODE_NAME_DENSE |
インタフェース coins.ir.IR から継承したフィールド |
OP_INF, OP_LIST, OP_PROG, OP_SUBP_DEF |
メソッドの概要 | |
Stmt |
deleteLabel(Label pLabel)
deleteLabel Delete LabelDef having pLabel as its label from the list of LabelDef nodes of this statement. |
Stmt |
getStmt()
|
void |
merge(LabeledStmt from)
Merging of LabeledStmt. |
void |
replaceLabelNodesReferingThisStmtToNewOne(Label pNewLabel)
replaceLabelNodesReferingThisStmtToNewOne Replace each LabelNode that refers a label defined by this statement to a LabelNode having pNewLabel. |
void |
setLabelDefList(IrList pLabelDefList)
Set thte label definition list of this statement. |
void |
setStmt(Stmt pStmt)
Set the statement part of this labeled statement. |
インタフェース 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 から継承したメソッド |
accept, 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 Stmt getStmt()
public void setStmt(Stmt pStmt)
pStmt
- Statement to be set.public void setLabelDefList(IrList pLabelDefList)
pLabelDefList
- label definition list to be set.public Stmt deleteLabel(Label pLabel)
Delete LabelDef having pLabel as its label from the list of LabelDef nodes of this statement. If no label remains after deletion, this statement is changed to a statement without label. If no label remains and statement body is either null or NullNode, then this statement is deleted and null is returned.
pLabel
- label to be deleted.
public void replaceLabelNodesReferingThisStmtToNewOne(Label pNewLabel)
pNewLabel
- Label to which refering LabelNodes are to be changed.public void merge(LabeledStmt from)
from
- LabeledStmt
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |