|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ir.hir.HIR_Impl
|
+--coins.ir.hir.ExpImpl
|
+--coins.ir.hir.ExpListExpImpl
ExpListExpImpl Expression representing a list of expressions (Exp). Its operator is OP_EXPLIST. This is used to represent a list of initial values. The element of the list may be a repetition specification that specifies repetition count (as child 1) and elements to be repeated (as child 2).
| フィールドの概要 | |
(パッケージプライベート) java.util.LinkedList |
values
|
| クラス 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 |
| コンストラクタの概要 | |
ExpListExpImpl(HirRoot pHirRoot,
java.util.List list)
|
|
| メソッドの概要 | |
void |
add(int pInsertionPosition,
java.lang.Object pObjectToBeInserted)
|
void |
add(java.lang.Object pElement)
Specifications of following methods are the same to those of List in java.util. |
void |
clear()
|
java.lang.Object |
clone()
clone Override Object.clone in HIR. |
boolean |
contains(java.lang.Object pObject)
|
java.lang.Object |
get(int pIndex)
|
Exp |
getExp(int index)
getExp Get the i-th element of the expression list, where i is given by the parameter pIndex. |
java.lang.Object |
getFirst()
|
Exp |
getWithRepeat(int index)
getWithRepeat Get the i-th final element of the expression list assuming as if the nest of list is expanded, where i is given by the parameter pIndex. |
HirList |
hirListClone()
hirListClone Make the clone of this node to get a clone in the situation where clone() can not be used directly. |
int |
indexOf(java.lang.Object pObject)
|
boolean |
isEmpty()
|
java.util.ListIterator |
iterator()
|
int |
length()
length |
void |
print(int indent)
print Print this subtree in text format traversing all children of this node. |
void |
print(int indent,
boolean detail)
print Print this subtree in text format traversing all children of this node. |
java.lang.Object |
remove(int pRemovePosition)
|
boolean |
remove(java.lang.Object pObject)
|
void |
set(int pIndex,
java.lang.Object pElement)
|
void |
setExp(int index,
Exp exp)
set Set pExp as pIndex-th element of the expression list. |
int |
size()
size |
java.lang.String |
toStringWithChildren()
toStringWithChildren Get the string of this node and its children traversing the children in depth-first order. |
| クラス coins.ir.hir.ExpImpl から継承したメソッド |
accept, evaluate, evaluateAsDouble, evaluateAsFloat, evaluateAsInt, evaluateAsLong, findSubpType, fold, getActualParamList, getArrayExp, getConstSym, getElem, getElemSizeExp, getExp1, getExp2, getLabel, getPointedElem, getPointerExp, getQualifiedElem, getQualifierExp, getSubp, getSubpSpec, getSubscriptExp, getSym, getValueString, getVar, initiateArray, isEvaluable, isLValue |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース coins.ir.hir.ExpListExp から継承したメソッド |
toString |
| インタフェース coins.ir.hir.Exp から継承したメソッド |
evaluate, evaluateAsDouble, evaluateAsFloat, evaluateAsInt, evaluateAsLong, findSubpType, fold, getActualParamList, getArrayExp, getConstSym, 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, 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, program, qualifiedExp, repeatStmt, replaceThisNode, returnStmt, setFlag, setIndexNumberToAllNodes, sizeofExp, sizeofExp, subpDefinition, subpNode, subscriptedExp, switchStmt, symNode, trueNode, undecayExp, varNode, whileStmt |
| インタフェース coins.ir.IrList から継承したメソッド |
getClone, toStringShort |
| フィールドの詳細 |
java.util.LinkedList values
| コンストラクタの詳細 |
public ExpListExpImpl(HirRoot pHirRoot,
java.util.List list)
| メソッドの詳細 |
public int size()
ExpListExp の記述:
ExpListExp 内の sizepublic int length()
ExpListExp の記述:
ExpListExp 内の lengthpublic Exp getExp(int index)
ExpListExp の記述:
ExpListExp 内の getExpindex - element index number.
public Exp getWithRepeat(int index)
ExpListExp の記述:
ExpListExp 内の getWithRepeatindex - index number corresponding to the element
to be returned.
public void setExp(int index,
Exp exp)
ExpListExp の記述:
ExpListExp 内の setExpindex - index number corresponding to the element
to be set.exp - element to be set.
public void set(int pIndex,
java.lang.Object pElement)
HirList 内の setpublic void add(java.lang.Object pElement)
HirList の記述:
HirList 内の add
public void add(int pInsertionPosition,
java.lang.Object pObjectToBeInserted)
HirList 内の addpublic java.lang.Object getFirst()
HirList 内の getFirstpublic java.lang.Object get(int pIndex)
HirList 内の getpublic boolean isEmpty()
HirList 内の isEmptypublic boolean contains(java.lang.Object pObject)
HirList 内の containspublic int indexOf(java.lang.Object pObject)
HirList 内の indexOfpublic java.lang.Object remove(int pRemovePosition)
HirList 内の removepublic boolean remove(java.lang.Object pObject)
HirList 内の removepublic void clear()
IrList 内の clearpublic java.util.ListIterator iterator()
ExpListExp 内の iterator
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
HIR_Impl の記述:
HIR_Impl 内の clonejava.lang.CloneNotSupportedException
public HirList hirListClone()
throws java.lang.CloneNotSupportedException
HirList の記述:
HirList 内の hirListClonejava.lang.CloneNotSupportedExceptionpublic void print(int indent)
IR の記述:
ExpListExp 内の printHIR_Impl 内の printindent - number of heading spaces for indentation.
public void print(int indent,
boolean detail)
IR の記述:
ExpListExp 内の printHIR_Impl 内の printindent - number of heading spaces for indentation.detail - true if detail print is requested, false otherwise.public java.lang.String toStringWithChildren()
HIR の記述:
HIR 内の toStringWithChildrenHIR_Impl 内の toStringWithChildren
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||