coins
Interface HasStringObject

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
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.


Method Summary
 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.
 

Method Detail

toString

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


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.

Returns:
true if this is a Sym object, false otherwise.

isHIR

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

Returns:
true if this is an HIR object, false otherwise.