tecgraf.javautils.jexpression.parser.model
Class FunctionCall

java.lang.Object
  extended by tecgraf.javautils.jexpression.parser.model.Exp
      extended by tecgraf.javautils.jexpression.parser.model.FunctionCall

public class FunctionCall
extends Exp

Classe que armazena uma chamada de função. Ex: max(10, 20), max(a, b), max(a[i], b[2]), sen(x), value()

Author:
Tecgraf

Constructor Summary
FunctionCall(String name, List<Exp> params)
          Construtor.
 
Method Summary
 String getName()
          Nome.
 List<Exp> getParams()
          Parâmetros.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionCall

public FunctionCall(String name,
                    List<Exp> params)
Construtor.

Parameters:
name - nome.
params - parâmetros.
Method Detail

getName

public String getName()
Nome.

Returns:
nome.

getParams

public List<Exp> getParams()
Parâmetros.

Returns:
parâmetros.

toString

public String toString()

Specified by:
toString in class Exp


Copyright © 2007–2014 Tecgraf/PUC-Rio. All rights reserved.