uk.ac.man.cs.rainbow.compiler.names
Class Op

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.compiler.CompilerThing
        |
        +--uk.ac.man.cs.rainbow.compiler.names.Op

public class Op
extends CompilerThing


Field Summary
 CompilerType left_type
           
 CompilerType result_type
           
 CompilerType right_type
           
 
Constructor Summary
Op()
           
Op(String opname, CompilerType left_type, CompilerType right_type, CompilerType result_type)
           
 
Method Summary
 void attach(Op next)
           
 Op lookup_op(String op)
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerThing
className, crashHere, getSerial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

left_type

public CompilerType left_type

right_type

public CompilerType right_type

result_type

public CompilerType result_type
Constructor Detail

Op

public Op(String opname,
          CompilerType left_type,
          CompilerType right_type,
          CompilerType result_type)

Op

public Op()
Method Detail

attach

public void attach(Op next)

toString

public String toString()
Overrides:
toString in class Object

lookup_op

public Op lookup_op(String op)