coins
インタフェース HasStringObject

すべてのスーパーインタフェース:
java.lang.Cloneable
既知の実装クラスの一覧:
HIR_Impl, SymImpl

public interface HasStringObject
extends java.lang.Cloneable

HasStringObject: Interface for objects that has text string image. (IR, HIR, Sym, etc.) This interface declares methods toString and print.


メソッドの概要
 boolean isHIR()
          Test if this is an HIR object.
 boolean isSym()
          Test if this is a Sym object.
 void print(int pIndent)
          Print the object.
 void print(int pIndent, boolean pDetail)
          Print the object.
 java.lang.String toString()
          Get the string image of object.
 

メソッドの詳細

toString

public java.lang.String toString()
Get the string image of object.

オーバーライド:
クラス java.lang.Object 内の toString

print

public void print(int pIndent)
Print the object.


print

public void print(int pIndent,
                  boolean pDetail)
Print the object.


isSym

public boolean isSym()
Test if this is a Sym object.

戻り値:
true if this is a Sym object, false otherwise.

isHIR

public boolean isHIR()
Test if this is an HIR object.

戻り値:
true if this is an HIR object, false otherwise.