|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.aflow.IrAdapter
フィールドの概要 |
インタフェース coins.ir.IR から継承したフィールド |
OP_CODE_NAME, OP_INF, OP_LIST, OP_PROG, OP_SUBP_DEF |
コンストラクタの概要 | |
IrAdapter()
Creates new IrAdatper |
メソッドの概要 | |
void |
addInf(java.lang.String pInfIdInterned,
java.lang.Object pInfObject)
addInf Add (attach) information pInfObject to this IR node. |
void |
attachInf(IR pNode)
|
IR |
buildNode(int pOperator)
|
IR |
buildNode(int pOperator,
IR pSource1)
|
IR |
buildNode(int pOperator,
IR pSource1,
IR pSource2)
|
IR |
buildSymNode(Sym pSym)
|
IR |
getChild(int pNumber)
getChild |
IR |
getChild1()
getChild1 Get the first child of this node. |
IR |
getChild2()
getChild2 Get the second child of this node. |
int |
getChildCount()
getChildCount Get the number of children that may be attached to this node. |
FlowAnalSym |
getFlowAnalSym()
|
java.lang.String |
getIndentSpace(int pIndent)
|
int |
getIndex()
getIndex Get the index number assigned to "this" node. |
java.lang.Object |
getInf(java.lang.String pInfIdInterned)
getInf Get the information of the kind pInfKindInterned. |
IrList |
getInfList()
getInfList Get the information list attached to this node. |
IrList |
getInfList(java.lang.String pString)
|
IR |
getInfNode()
|
java.lang.String |
getInfString()
|
java.lang.String |
getInfString(java.lang.String pString)
|
java.lang.String |
getIrName()
|
int |
getOperator()
getOperator Get operation code of "this" node. |
IR |
getParent()
getParent Get the parent of this node. |
Sym |
getResultOperand()
|
Sym |
getResultVar()
|
IR |
getSourceNode(int pNumber)
|
IR |
getSourceNode1()
|
IR |
getSourceNode2()
|
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.). |
java.lang.Object |
getWork()
|
void |
print(int pIndent)
print Print this subtree in text format traversing all children of this node. |
void |
print(int pIndent,
boolean pDetail)
print Print this subtree in text format traversing all children of this node. |
void |
removeInf(java.lang.String pInfIdInterned)
removeInf Remove the information of the kind pInfKindInterned. |
void |
replaceOperator(int pOperator)
|
void |
replaceResultOperand(IR pOperand)
|
void |
replaceResultVar(IR pOperand)
|
void |
replaceSource(int pNumber,
IR pOperand)
|
void |
replaceSource1(IR pOperand)
|
void |
replaceSource2(IR pOperand)
|
void |
replaceThisNode(IR pNewNode)
|
void |
setChild(int pNumber,
IR pIr)
setChild Set pHir as pNumber-th child of this node. |
void |
setChild1(IR p1)
|
void |
setChild2(IR p2)
|
void |
setIndex(int pIndex)
|
void |
setInfList(java.lang.String pInfIdInterned,
IrList pInfList)
|
void |
setInfString(java.lang.String pInfIdInterned,
java.lang.String pInfString)
|
void |
setParent(IR pParent)
|
void |
setWork(java.lang.Object pObject)
|
java.lang.String |
toStringShort()
setChild Set pHir as pNumber-th child of this node. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public IrAdapter()
メソッドの詳細 |
public void replaceSource2(IR pOperand)
public IR buildNode(int pOperator)
public IR getChild1()
IR
の記述:
IR
内の getChild1
public void replaceSource1(IR pOperand)
public void replaceOperator(int pOperator)
public void setChild2(IR p2)
public java.lang.String getIndentSpace(int pIndent)
public void replaceResultVar(IR pOperand)
public void setChild1(IR p1)
public Sym getSym()
IR
の記述:
IR
内の getSym
public IR getSourceNode(int pNumber)
public void setParent(IR pParent)
public IR getSourceNode2()
public IR getSourceNode1()
public IR buildNode(int pOperator, IR pSource1)
public IR buildNode(int pOperator, IR pSource1, IR pSource2)
public int getChildCount()
IR0
の記述:
IR0
内の getChildCount
public int getOperator()
IR0
の記述:
IR0
内の getOperator
public void print(int pIndent)
IR
の記述:
IR
内の print
pIndent
- number of heading spaces for indentation.public void replaceSource(int pNumber, IR pOperand)
public java.lang.String getIrName()
public Sym getResultVar()
public IR getInfNode()
public IR buildSymNode(Sym pSym)
public void setIndex(int pIndex)
public void attachInf(IR pNode)
public IR getParent()
IR
の記述:
IR
内の getParent
public void print(int pIndent, boolean pDetail)
IR
の記述:
IR
内の print
pIndent
- number of heading spaces for indentation.pDetail
- true if detail print is requested, false otherwise.public void replaceThisNode(IR pNewNode)
public void setChild(int pNumber, IR pIr)
IR0
の記述:
IR0
内の setChild
pNumber
- Child numberpublic int getIndex()
IR0
の記述:
IR0
内の getIndex
public IR getChild(int pNumber)
IR0
の記述:
IR0
内の getChild
pNumber
- the child number of the child to be returned.
public IR getChild2()
IR
の記述:
IR
内の getChild2
public void setInfList(java.lang.String pInfIdInterned, IrList pInfList)
public void setInfString(java.lang.String pInfIdInterned, java.lang.String pInfString)
public void addInf(java.lang.String pInfIdInterned, java.lang.Object pInfObject)
IR
の記述:
IR
内の addInf
pInfObject
- Object to be added as information.
It may be String, Sym, IR, List, and so on,
hence they may be non-IR elements.public IrList getInfList()
IR
の記述:
IR
内の getInfList
public IrList getInfList(java.lang.String pString)
public java.lang.String getInfString()
public java.lang.String getInfString(java.lang.String pString)
public java.lang.Object getInf(java.lang.String pInfIdInterned)
IR
の記述:
IR
内の getInf
public void removeInf(java.lang.String pInfIdInterned)
IR
の記述:
IR
内の removeInf
public FlowAnalSym getFlowAnalSym()
public Sym getResultOperand()
public void replaceResultOperand(IR pOperand)
public void setWork(java.lang.Object pObject)
public java.lang.Object getWork()
public java.lang.String toStringShort()
IR
の記述:
IR
内の toStringShort
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |