org.eclipse.xtend.backend.expr
Class CurryingExpression

java.lang.Object
  extended by org.eclipse.xtend.backend.common.ExpressionBase
      extended by org.eclipse.xtend.backend.expr.CurryingExpression

public final class CurryingExpression
extends ExpressionBase

Author:
Arno Haase (http://www.haase-consulting.com)

Field Summary
 
Fields inherited from class org.eclipse.xtend.backend.common.ExpressionBase
_log
 
Constructor Summary
CurryingExpression(Function f, java.util.List<ExpressionBase> boundParams, SourcePos pos)
           
 
Method Summary
protected  java.lang.Object evaluateInternal(ExecutionContext ctx)
           
 java.util.List<ExpressionBase> getBoundParams()
           
 Function getFunction()
           
 
Methods inherited from class org.eclipse.xtend.backend.common.ExpressionBase
evaluate, getListeners, getPos, registerExecutionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurryingExpression

public CurryingExpression(Function f,
                          java.util.List<ExpressionBase> boundParams,
                          SourcePos pos)
Parameters:
boundParams - must have the same size as the number of parameters of the function. Unbound parameters are represented by "null" entries.
Method Detail

getFunction

public Function getFunction()

getBoundParams

public java.util.List<ExpressionBase> getBoundParams()

evaluateInternal

protected java.lang.Object evaluateInternal(ExecutionContext ctx)
Specified by:
evaluateInternal in class ExpressionBase