|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ir.hir.HIR_Impl | +--coins.ir.hir.ProgramImpl
ProgramImpl class
フィールドの概要 | |
protected SymTable |
fGlobalSymTable
|
protected IrList |
fRegionTypeList
|
クラス 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 |
コンストラクタの概要 | |
ProgramImpl(HirRoot pHirRoot,
Sym pProgSym,
SymTable pGlobalSymTable,
IR pInitiationPart,
IrList pSubpList)
|
メソッドの概要 | |
void |
accept(HirVisitor pVisitor)
accept Acceptor used in HIR visitor. |
void |
addInitiationStmt(IR pStmt)
addInitiationStmt Add the initiation statement pStmt that initiates global variables to the initiation part (BlockStmt) of this program. |
void |
addRegion(RegionType pRegionType)
addRegion Add pRegionType to the end of region list of this program. |
void |
addSubpDefinition(SubpDefinition pSubpDefinition)
addSubpDefinition Add the definition of a subprogram to the end of subprogram definition list of this program. |
java.lang.Object |
clone()
clone Override Object.clone in HIR. |
IR |
getInitiationPart()
getInitiationPart Get the initiation part that initiates global variables. |
IrList |
getRegionList()
getRegionList Get the list of RegionType instances. |
IrList |
getSubpDefinitionList()
getSubpDefinitionList Get subprogram definition list of this program. |
SymTable |
getSymTable()
|
void |
print(int pIndent,
boolean pDetail)
print Print this subtree in text format traversing all children of this node. |
void |
setSymTable(SymTable pSymTable)
|
クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース coins.ir.IR から継承したメソッド |
addInf, getChild1, getChild2, getInf, getInfList, getParent, getSym, 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, program, qualifiedExp, repeatStmt, replaceThisNode, returnStmt, setFlag, setIndexNumberToAllNodes, sizeofExp, sizeofExp, subpDefinition, subpNode, subscriptedExp, switchStmt, symNode, trueNode, undecayExp, varNode, whileStmt |
フィールドの詳細 |
protected SymTable fGlobalSymTable
protected IrList fRegionTypeList
コンストラクタの詳細 |
public ProgramImpl(HirRoot pHirRoot, Sym pProgSym, SymTable pGlobalSymTable, IR pInitiationPart, IrList pSubpList)
メソッドの詳細 |
public SymTable getSymTable()
Program
内の getSymTable
public void setSymTable(SymTable pSymTable)
Program
内の setSymTable
public IrList getSubpDefinitionList()
Program
内の getSubpDefinitionList
public void addSubpDefinition(SubpDefinition pSubpDefinition)
Program
の記述:
Program
内の addSubpDefinition
pSubpDefinition
- SubpDefinition node
defining a subprogram.public IrList getRegionList()
Program
の記述:
Program
内の getRegionList
public void addRegion(RegionType pRegionType)
Program
の記述:
Program
内の addRegion
pRegionType
- RegionType to be recorded.public IR getInitiationPart()
Program
の記述:
Program
内の getInitiationPart
public void addInitiationStmt(IR pStmt)
Program
の記述:
Program
内の addInitiationStmt
public java.lang.Object clone()
HIR_Impl
の記述:
HIR_Impl
内の clone
public void print(int pIndent, boolean pDetail)
IR
の記述:
IR
内の print
HIR_Impl
内の print
pIndent
- number of heading spaces for indentation.pDetail
- true if detail print is requested, false otherwise.public void accept(HirVisitor pVisitor)
HIR0
の記述:
HIR0
内の accept
HIR_Impl
内の accept
pVisitor
- HirVisitor
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |