org.mvel2.ast.FunctionInstance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mvel2 Show documentation
Show all versions of mvel2 Show documentation
A fork of MVEL by Axibase. Original version is hosted here: https://github.com/mvel/mvel.
MVEL is a powerful expression language for Java-based applications.
It provides a plethora of features and is suited for everything
from the smallest property binding and extraction, to full blown scripts.
The newest version!
package org.mvel2.ast;
import org.mvel2.integration.VariableResolverFactory;
/**
* @author Mike Brock
*/
public class FunctionInstance {
protected final Function function;
public FunctionInstance(Function function) {
this.function = function;
}
public Function getFunction() {
return function;
}
public Object call(Object ctx, Object thisValue, VariableResolverFactory factory, Object[] parms) {
return function.call(ctx, thisValue, factory, parms);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy