tree
Class CONST

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

public class CONST
extends Exp

Classe que representa uma constante.


Constructor Summary
CONST(long v)
           
 
Method Summary
 Exp build(List<Exp> kids)
           
 long getValue()
           
 List<Exp> kids()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CONST

public CONST(long v)
Method Detail

kids

public List<Exp> kids()
Specified by:
kids in class Exp

build

public Exp build(List<Exp> kids)
Specified by:
build in class Exp

getValue

public long getValue()
Returns:
Valor da constante