coins.alias
クラス MyExpId

java.lang.Object
  |
  +--coins.alias.MyExpId

public class MyExpId
extends java.lang.Object

ExpId class used for alias analysis. Currently doesn't implement coins.sym.ExpId or extend coins.sym.ExpIdImpl.


フィールドの概要
(パッケージプライベート)  HIR fCopy
           
(パッケージプライベート)  HIR fHIR
           
(パッケージプライベート)  Tag fTag
           
 java.lang.Object work
          Workspace object that can be used for any purpose.
 
コンストラクタの概要
MyExpId(HIR pHIR)
          Creates a new instance of MyExpId
 
メソッドの概要
 HIR getHir()
          Returns an instance of HIR node that is the root of the HIR tree represented by this MyExpId object.
 HIR getLinkedNode()
          Returns an instance of HIR node that is the root of the HIR tree represented by this MyExpId object.
 java.lang.String toString()
          Returns a String representation of this MyExpId object.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fHIR

HIR fHIR

fCopy

HIR fCopy

fTag

Tag fTag

work

public java.lang.Object work
Workspace object that can be used for any purpose.

コンストラクタの詳細

MyExpId

public MyExpId(HIR pHIR)
Creates a new instance of MyExpId

パラメータ:
pHIR - HIR node the subtree rooted at which this MyExpId object represents.
メソッドの詳細

getLinkedNode

public HIR getLinkedNode()
Returns an instance of HIR node that is the root of the HIR tree represented by this MyExpId object. The returned node is part of the program tree (if not optimized out) so should not be modified.

戻り値:
a root node of the tree this MyExpId represents, which may be part of the program tree.

getHir

public HIR getHir()
Returns an instance of HIR node that is the root of the HIR tree represented by this MyExpId object. The returned node is detached from the program tree so modification to it is free (but note this method does not return a fresh copy of such a tree each time it is called).

戻り値:
a root node of the tree this MyExpId represents, detached from the program tree.

toString

public java.lang.String toString()
Returns a String representation of this MyExpId object.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
a String representation of this MyExpId object.