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 build(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

build

public Exp build(Exp[] kids)
Specified by:
build 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