public class AstLOr extends AstBinOp
| Constructor and Description |
|---|
AstLOr() |
| 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.
|
double |
op(double l,
double r)
Override to express a basic math primitive
|
static double |
or_op(double l,
double r) |
java.lang.String |
str()
String representation of this Ast object in the Rapids language.
|
args, categoricalOK, frame_op_scalar, nargs, prim_apply, str_opdescription, example, execasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSONpublic java.lang.String str()
AstRootAstPrimitives this is the name of the function; for
AstParameters this is either the name of the variable, or the
value of the numeric constant that the parameter represents. For more
complicated constructs such as AstExec or AstFunction
this method should return those objects as a Rapids string.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 AstBinOpenv - 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.public double op(double l,
double r)
AstBinOppublic static double or_op(double l,
double r)