org.moremotion.evaluator
Class Function

java.lang.Object
  extended by org.moremotion.evaluator.Function
All Implemented Interfaces:
Evaluable

public class Function
extends java.lang.Object
implements Evaluable

Version:
$Id: Function.java 171 2008-07-10 07:46:02Z mustafa $

Constructor Summary
Function(java.lang.String str)
          Creates a new instance of Function
Function(java.lang.String name, Expression[] params)
           
 
Method Summary
 java.lang.Object evaluate(SymbolResolver sr)
           
 char getDataType()
           
 void parse()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Function

public Function(java.lang.String str)
Creates a new instance of Function


Function

public Function(java.lang.String name,
                Expression[] params)
Method Detail

evaluate

public java.lang.Object evaluate(SymbolResolver sr)
                          throws EvaluationException
Specified by:
evaluate in interface Evaluable
Throws:
EvaluationException

getDataType

public char getDataType()

parse

public void parse()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.