|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ir.hir.HIR_Impl
|
+--coins.ir.hir.ExpImpl
|
+--coins.ir.hir.SymNodeImpl
|
+--coins.ir.hir.ConstNodeImpl
Constant node
| フィールドの概要 |
| クラス coins.ir.hir.SymNodeImpl から継承したフィールド |
fSym |
| クラス 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 |
| コンストラクタの概要 | |
ConstNodeImpl(HirRoot pHirRoot,
Const pConstSym)
|
|
| メソッドの概要 | |
void |
accept(HirVisitor pVisitor)
accept Acceptor used in HIR visitor. |
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. |
Sym |
getSym()
getSym Get the symbol represented by "this" node if this is a node representing a symbol (simple variable, element/field name, subprogram, label, constant, etc.). |
boolean |
isFalseConstNode()
|
boolean |
isIntConst0()
|
boolean |
isIntConst1()
|
boolean |
isTrueConstNode()
|
| クラス coins.ir.hir.SymNodeImpl から継承したメソッド |
clone, getIrName, getSymNodeSym, setSymNodeSym, toString, toStringShort |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース 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, 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 ConstNodeImpl(HirRoot pHirRoot,
Const pConstSym)
| メソッドの詳細 |
public Const getConstSym()
ConstNode の記述: 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.
ConstNode 内の getConstSymExpImpl 内の getConstSympublic Sym getSym()
IR の記述:
IR 内の getSymSymNodeImpl 内の getSympublic int getIntValue()
ConstNode の記述:
ConstNode 内の getIntValuepublic long getLongValue()
ConstNode の記述:
ConstNode 内の getLongValuepublic boolean isIntConst0()
ConstNode 内の isIntConst0public boolean isIntConst1()
ConstNode 内の isIntConst1public boolean isTrueConstNode()
ConstNode 内の isTrueConstNodepublic boolean isFalseConstNode()
ConstNode 内の isFalseConstNodepublic void accept(HirVisitor pVisitor)
HIR0 の記述:
HIR0 内の acceptSymNodeImpl 内の acceptpVisitor - HirVisitor
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||