|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Constant node
フィールドの概要 |
インタフェース coins.ir.hir.HIR から継承したフィールド |
OP_CODE_NAME, OP_CODE_NAME_DENSE |
インタフェース coins.ir.IR から継承したフィールド |
OP_INF, OP_LIST, OP_PROG, OP_SUBP_DEF |
メソッドの概要 | |
Const |
getConstSym()
getConstSym If boolean true node then return symRoot.intConst1 else if boolean false node then return symRoot.intConst0 else if NamedConst node then return corresponding Const symbol. |
int |
getIntValue()
Get the value of the canstant castint it to integer. |
long |
getLongValue()
Get the value of the canstant castint it to long integer. |
boolean |
isFalseConstNode()
|
boolean |
isIntConst0()
|
boolean |
isIntConst1()
|
boolean |
isTrueConstNode()
|
インタフェース coins.ir.hir.SymNode から継承したメソッド |
getSymNodeSym, setSymNodeSym |
インタフェース coins.ir.hir.Exp から継承したメソッド |
adjustTypesOfBinaryOperands, evaluate, evaluateAsDouble, evaluateAsFloat, evaluateAsInt, evaluateAsLong, findSubpType, fold, getActualParamList, getArrayExp, getElem, getElemSizeExp, getExp1, getExp2, getLabel, getPointedElem, getPointerExp, getQualifiedElem, getQualifierExp, getSubp, getSubpSpec, getSubscriptExp, getValueString, getVar, initiateArray, isEvaluable |
インタフェース 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 Const getConstSym()
If boolean true node then return symRoot.intConst1 else if boolean false node then return symRoot.intConst0 else if NamedConst node then return corresponding Const symbol. else return Const attached to this node.
Exp
内の getConstSym
public int getIntValue()
public long getLongValue()
public boolean isIntConst0()
public boolean isIntConst1()
public boolean isTrueConstNode()
public boolean isFalseConstNode()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |