|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ir.hir.HIR_Impl | +--coins.ir.hir.StmtImpl | +--coins.ir.hir.LabeledStmtImpl
LabeledStmtImpl Labeled statement class
フィールドの概要 | |
protected Sym |
fFileNameSym
|
protected int |
fLineNumber
|
クラス 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 |
コンストラクタの概要 | |
LabeledStmtImpl(HirRoot pHirRoot,
Label pLabel,
Stmt pStmt)
|
メソッドの概要 | |
void |
accept(HirVisitor pVisitor)
accept Acceptor used in HIR visitor. |
java.lang.Object |
clone()
deleteThisStmt Delete labels defined by this statement from the label definition list of the current subprogram and then delete this statement. |
Stmt |
deleteLabel(Label pLabel)
deleteLabel Delete LabelDef having pLabel as its label from the list of LabelDef nodes of this statement. |
LabelNode |
explicitLabelReference()
explicitLabelReference Get a LabelNode refering explicitly a label attached to this statement. |
Label |
getLabel()
getLabel Get the label attached to this statement. |
IrList |
getLabelDefList()
|
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. |
java.lang.String |
toString()
toString Get text representation of this node without traversing children. |
クラス 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 |
フィールドの詳細 |
protected Sym fFileNameSym
protected int fLineNumber
コンストラクタの詳細 |
public LabeledStmtImpl(HirRoot pHirRoot, Label pLabel, Stmt pStmt)
メソッドの詳細 |
public IrList getLabelDefList()
Stmt
内の getLabelDefList
StmtImpl
内の getLabelDefList
public void setLabelDefList(IrList pLabelDefList)
LabeledStmt
の記述:
LabeledStmt
内の setLabelDefList
pLabelDefList
- label definition list to be set.public Label getLabel()
Stmt
の記述:
Stmt
内の getLabel
StmtImpl
内の getLabel
public Stmt getStmt()
LabeledStmt
内の getStmt
public void setStmt(Stmt pStmt)
LabeledStmt
の記述:
LabeledStmt
内の setStmt
pStmt
- Statement to be set.public Stmt deleteLabel(Label pLabel)
LabeledStmt
の記述: 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.
LabeledStmt
内の deleteLabel
pLabel
- label to be deleted.
public void replaceLabelNodesReferingThisStmtToNewOne(Label pNewLabel)
LabeledStmt
の記述:
LabeledStmt
内の replaceLabelNodesReferingThisStmtToNewOne
pNewLabel
- Label to which refering LabelNodes are to be changed.public void merge(LabeledStmt from)
LabeledStmt
の記述:
LabeledStmt
内の merge
from
- LabeledStmtpublic LabelNode explicitLabelReference()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
StmtImpl
内の clone
java.lang.CloneNotSupportedException
public java.lang.String toString()
HIR
の記述:
HIR
内の toString
HIR_Impl
内の toString
public void accept(HirVisitor pVisitor)
HIR0
の記述:
HIR0
内の accept
HIR_Impl
内の accept
pVisitor
- HirVisitor
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |