Tree
Class BINOP

java.lang.Object
  extended by Tree.Exp
      extended by Tree.BINOP
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BINOP.ADD, BINOP.AND, BINOP.DIV, BINOP.MUL, BINOP.OR, BINOP.SLL, BINOP.SRA, BINOP.SRL, BINOP.SUB, BINOP.XOR

public abstract class BINOP
extends Exp
implements java.lang.Cloneable


Nested Class Summary
static class BINOP.ADD
           
static class BINOP.AND
           
static class BINOP.DIV
           
static class BINOP.MUL
           
static class BINOP.OR
           
static class BINOP.SLL
           
static class BINOP.SRA
           
static class BINOP.SRL
           
static class BINOP.SUB
           
static class BINOP.XOR
           
 
Field Summary
 Exp left
           
 Exp right
           
 
Constructor Summary
BINOP(Exp l, Exp r)
           
 
Method Summary
 BINOP build(Exp[] kids)
           
 Exp[] kids()
           
 
Methods inherited from class Tree.Exp
accept, isAtom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

left

public Exp left

right

public Exp right
Constructor Detail

BINOP

public BINOP(Exp l,
             Exp r)
Method Detail

kids

public Exp[] kids()
Specified by:
kids in class Exp

build

public BINOP build(Exp[] kids)
Specified by:
build in class Exp