public Comparable<?>[] evaluate(ASTFunNode node, JepRuntime runtime) throws ParseException { node.childrenAccept(runtime.ev, null); Comparable<?> limit2 = runtime.stack.pop(); Comparable<?> limit1 = runtime.stack.pop(); Comparable<?> source = runtime.stack.pop(); return new Comparable<?>[] {source, limit1, limit2}; }
public Comparable<?>[] evaluate(ASTFunNode node, JepRuntime runtime) throws ParseException { node.childrenAccept(runtime.ev, null); Comparable<?> param = runtime.stack.pop(); return new Comparable<?>[] {param}; }