public class AstMoment extends AstBuiltin<AstMoment>
AstMktime class.| Constructor and Description |
|---|
AstMoment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
args()
List of argument names.
|
protected ValFrame |
exec(Val[] args)
Most Ast* functions will want to override this method.
|
int |
nargs()
Number of function's arguments + 1.
|
java.lang.String |
str()
String representation of this Ast object in the Rapids language.
|
applydescription, example, execasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSONpublic int nargs()
AstPrimitivenargs in class AstPrimitive<AstMoment>public java.lang.String[] args()
AstPrimitiveargs in class AstPrimitive<AstMoment>public 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.protected ValFrame exec(Val[] args)
AstBuiltinexec in class AstBuiltin<AstMoment>