public abstract class AstRollupOp extends AstReducerOp
| Constructor and Description |
|---|
AstRollupOp() |
| Modifier and Type | Method and Description |
|---|---|
Val |
apply(Env env,
Env.StackHelp stk,
AstRoot[] asts)
Primary method to invoke this function, passing all the parameters
as the `asts` list.
|
java.lang.String[] |
args()
List of argument names.
|
abstract double |
rup(Vec vec) |
nargs, opdescription, example, execasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSONpublic java.lang.String[] args()
AstPrimitiveargs in class AstPrimitivepublic abstract double rup(Vec vec)
public Val apply(Env env, Env.StackHelp stk, AstRoot[] asts)
AstPrimitivePrimary method to invoke this function, passing all the parameters as the `asts` list.
apply in class AstReducerOpenv - Current execution environment. Variables are looked up here.stk - TODO need clarificationasts - List of AstRoot expressions that are arguments to the
function. First element in this list is the function itself.