tree
Class SEQ

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

public class SEQ
extends Stm

Classe representa duas subárvores do tipo comando (Stm), uma seguida da outra. A subárvore da esquerda deve ser avaliada antes da direita.


Constructor Summary
SEQ(Stm l, Stm r)
           
 
Method Summary
 Stm build(List<Exp> kids)
           
 Stm getLeft()
           
 Stm getRight()
           
 List<Exp> kids()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SEQ

public SEQ(Stm l,
           Stm r)
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

getLeft

public Stm getLeft()
Returns:
Subárvore esquerda.

getRight

public Stm getRight()
Returns:
Subárvore direita.