|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
switch 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 |
getBodyStmt()
Gget switch-body statement that contains case statements. |
Const |
getCaseConst(int index)
Get the n-th (head is 0) case constant. |
int |
getCaseCount()
|
Label |
getCaseLabel(int index)
getCaseLabel Get n-th (head is 0) case label. |
LabelNode |
getCaseLabelNode(int index)
getCaseLabelNode Get LabelNode of n-th (head is 0) case label. |
Label |
getDefaultLabel()
Get default label |
LabelNode |
getDefaultLabelNode()
Get default label node |
Label |
getEndLabel()
Get break destination label (switch-end label) of this switch statement. |
Exp |
getSelectionExp()
Get selection expression |
LabeledStmt |
getSwitchEndNode()
Get the switch end node to where break statements jump. |
void |
setSelectionExp(Exp pSelectionExp)
Set selection expression |
インタフェース 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 Exp getSelectionExp()
public void setSelectionExp(Exp pSelectionExp)
pSelectionExp
- Selection expression of this switch statement.public int getCaseCount()
public Const getCaseConst(int index)
public Label getCaseLabel(int index)
public LabelNode getCaseLabelNode(int index)
public Label getDefaultLabel()
public LabelNode getDefaultLabelNode()
public Label getEndLabel()
public LabeledStmt getSwitchEndNode()
public Stmt getBodyStmt()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |