cetus.hir
Class ValueInitializer

java.lang.Object
  extended by cetus.hir.Initializer
      extended by cetus.hir.ValueInitializer
All Implemented Interfaces:
Printable, Traversable, java.lang.Cloneable

public class ValueInitializer
extends Initializer


Field Summary
 
Fields inherited from class cetus.hir.Initializer
children, parent
 
Constructor Summary
ValueInitializer(Expression value)
           
 
Method Summary
 Expression getValue()
           
 void print(java.io.OutputStream stream)
          Print the code for the IR represented by the object.
 java.lang.String toString()
           
 
Methods inherited from class cetus.hir.Initializer
clone, defaultPrint, getChildren, getParent, removeChild, setChild, setClassPrintMethod, setParent, setPrintMethod
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueInitializer

public ValueInitializer(Expression value)
Method Detail

getValue

public Expression getValue()

print

public void print(java.io.OutputStream stream)
Description copied from interface: Printable
Print the code for the IR represented by the object. Always calls object_print_method(this, stream). If the object's print method is null, nothing is printed; this provides an easy mechanism to temporarily hide something.

Specified by:
print in interface Printable
Overrides:
print in class Initializer
Parameters:
stream - The stream on which to print the data.

toString

public java.lang.String toString()
Overrides:
toString in class Initializer