Tree
Class CONST

java.lang.Object
  extended by Tree.Exp
      extended by Tree.CONST

public class CONST
extends Exp


Field Summary
 int value
           
 
Constructor Summary
CONST(int v)
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> v, D d)
           
 Exp clone(Exp[] kids)
           
 boolean isAtom()
           
 Exp[] kids()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public int value
Constructor Detail

CONST

public CONST(int v)
Method Detail

kids

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

clone

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

accept

public <R,D> R accept(Visitor<R,D> v,
                      D d)
Specified by:
accept in class Exp

isAtom

public boolean isAtom()
Overrides:
isAtom in class Exp