tree
Class CALL

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

public class CALL
extends Exp

Classe que representa uma operação de chamada de procedimento. Da mesma forma que o nó JUMP, pode ser chamado um NAME ou o resultado de uma Exp.


Constructor Summary
CALL(Exp f, List<Exp> a)
           
 
Method Summary
 Exp build(List<Exp> kids)
           
 List<Exp> getArguments()
           
 Exp getCallable()
           
 List<Exp> kids()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CALL

public CALL(Exp f,
            List<Exp> a)
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

getArguments

public List<Exp> getArguments()
Returns:
Conjunto de parâmetros que deverão ser empilhados, seguindo a ordem da lista.

getCallable

public Exp getCallable()
Returns:
Endereço (NAME ou Exp) que deverá ser chamado.