coins.alias
クラス MyExpIdAssigner

java.lang.Object
  |
  +--coins.ir.hir.HirVisitorModel2
        |
        +--coins.alias.MyExpIdAssigner
すべての実装インタフェース:
HirVisitor

class MyExpIdAssigner
extends HirVisitorModel2

Assigns MyExpIds to relevant nodes in a subprogram. Nodes MyExpIds are assigned to are

These (except for AssignStmt nodes) are the nodes that can be considered to have values. (Nodes with aggregate type are considered to have arrays of values.) Operands of the ADDRESS nodes are also included, although their values are irrelevant.


フィールドの概要
(パッケージプライベート)  AliasFactory fFactory
          Factory object used to create objects.
(パッケージプライベート)  MyExpId[] fMyExpIdTable
          Table of MyExpId objects whose index is the HIR node index.
(パッケージプライベート)  SubpDefinition fSubpDef
          SubpDefinition instance nodes contained in which to assign MyExpIds.
 
クラス coins.ir.hir.HirVisitorModel2 から継承したフィールド
fDbgLevel, hirRoot, ioRoot, symRoot
 
コンストラクタの概要
(パッケージプライベート) MyExpIdAssigner(SubpDefinition pSubpDef, HirRoot pHirRoot)
          Creates a new instance of MyExpIdAssigner
 
メソッドの概要
(パッケージプライベート)  MyExpId[] assign()
          Performs the assignment for all the nodes contained in fSubpDef.
 void atAssignStmt(AssignStmt pStmt)
          Assigns MyExpId to the specified AssignStmt.
 void atExp(Exp pExp)
          Assigns MyExpId to the specified Exp.
 void atFunctionExp(FunctionExp pExp)
          Assigns MyExpId to the specified FunctionExp.
 void atPhiExp(PhiExp pExp)
          Assigns MyExpId to the specified PhiExp.
 void atPointedExp(PointedExp pExp)
          Assigns MyExpId to the specified PointedExp.
 void atQualifiedExp(QualifiedExp pExp)
          Assigns MyExpId to the specified QualifiedExp.
 void atSubscriptedExp(SubscriptedExp pExp)
          Assigns MyExpId to the specified SubscriptedExp.
 void atVarNode(VarNode pVarNode)
          Assigns MyExpId to the specified VarNode.
 
クラス coins.ir.hir.HirVisitorModel2 から継承したメソッド
atAsmStmt, atBlockStmt, atConstNode, atElemNode, atExpStmt, atForStmt, atHirList, atHirSeq, atIfStmt, atIndexedLoopStmt, atInfNode, atInfStmt, atIrList, atJumpStmt, atLabelDef, atLabeledStmt, atLabelNode, atLoopStmt, atNullNode, atProgram, atRepeatStmt, atReturnStmt, atSubpDefinition, atSubpNode, atSwitchStmt, atSymNode, atTypeNode, atUntilStmt, atWhileStmt, visit, visitChildren
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

fMyExpIdTable

MyExpId[] fMyExpIdTable
Table of MyExpId objects whose index is the HIR node index.


fFactory

final AliasFactory fFactory
Factory object used to create objects.


fSubpDef

SubpDefinition fSubpDef
SubpDefinition instance nodes contained in which to assign MyExpIds.

コンストラクタの詳細

MyExpIdAssigner

MyExpIdAssigner(SubpDefinition pSubpDef,
                HirRoot pHirRoot)
Creates a new instance of MyExpIdAssigner

パラメータ:
pSubpDef - SubpDefinition instance nodes contained in which to assign MyExpIds.
pHirRoot - HirRoot object shared by every module in the program.
メソッドの詳細

assign

MyExpId[] assign()
Performs the assignment for all the nodes contained in fSubpDef.

戻り値:
fMyExpIdTable, the table of assigned MyExpIds where indexes are HIR node indexes.

atVarNode

public void atVarNode(VarNode pVarNode)
Assigns MyExpId to the specified VarNode.

定義:
インタフェース HirVisitor 内の atVarNode
オーバーライド:
クラス HirVisitorModel2 内の atVarNode
パラメータ:
pVarNode - VarNode to assign MyExpId to.

atExp

public void atExp(Exp pExp)
Assigns MyExpId to the specified Exp.

定義:
インタフェース HirVisitor 内の atExp
オーバーライド:
クラス HirVisitorModel2 内の atExp
パラメータ:
pExp - Exp to assign MyExpId to.

atSubscriptedExp

public void atSubscriptedExp(SubscriptedExp pExp)
Assigns MyExpId to the specified SubscriptedExp.

定義:
インタフェース HirVisitor 内の atSubscriptedExp
オーバーライド:
クラス HirVisitorModel2 内の atSubscriptedExp
パラメータ:
pExp - SubscriptedExp to assign MyExpId to.

atQualifiedExp

public void atQualifiedExp(QualifiedExp pExp)
Assigns MyExpId to the specified QualifiedExp.

定義:
インタフェース HirVisitor 内の atQualifiedExp
オーバーライド:
クラス HirVisitorModel2 内の atQualifiedExp
パラメータ:
pExp - QualifiedExp to assign MyExpId to.

atPointedExp

public void atPointedExp(PointedExp pExp)
Assigns MyExpId to the specified PointedExp.

定義:
インタフェース HirVisitor 内の atPointedExp
オーバーライド:
クラス HirVisitorModel2 内の atPointedExp
パラメータ:
pExp - PointedExp to assign MyExpId to.

atFunctionExp

public void atFunctionExp(FunctionExp pExp)
Assigns MyExpId to the specified FunctionExp.

定義:
インタフェース HirVisitor 内の atFunctionExp
オーバーライド:
クラス HirVisitorModel2 内の atFunctionExp
パラメータ:
pExp - FunctionExp to assign MyExpId to.

atAssignStmt

public void atAssignStmt(AssignStmt pStmt)
Assigns MyExpId to the specified AssignStmt.

定義:
インタフェース HirVisitor 内の atAssignStmt
オーバーライド:
クラス HirVisitorModel2 内の atAssignStmt
パラメータ:
pStmt - AssignStmt to assign MyExpId to.

atPhiExp

public void atPhiExp(PhiExp pExp)
Assigns MyExpId to the specified PhiExp.

定義:
インタフェース HirVisitor 内の atPhiExp
オーバーライド:
クラス HirVisitorModel2 内の atPhiExp
パラメータ:
pExp - PhiExp to assign MyExpId to.