tree
Class EXPSTM

java.lang.Object
  extended by tree.Stm
      extended by tree.EXPSTM

public class EXPSTM
extends Stm

Esta classe define um statement que encapsula uma expressão, que deverá ser calculada. A expressão é a única sub-árvore deste nó.


Constructor Summary
EXPSTM(Exp e)
           
 
Method Summary
 Stm build(List<Exp> kids)
           
 Exp getExpression()
           
 List<Exp> kids()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EXPSTM

public EXPSTM(Exp e)
Method Detail

kids

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

build

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

getExpression

public Exp getExpression()
Returns:
Expressão encapsulada pelo stm.