| Class | Description |
|---|---|
| AbstractMinMaxFunction |
Abstract base class for system min/max function.
|
| AssertFunction |
assert function to assert an expression's value is true, otherwise throw an exception.
|
| BigIntFunction |
Cast value to bigint
|
| BinaryFunction |
Binary function,includes +,-,*,/,%,!
|
| BooleanFunction |
Cast value to double,double(a) eg.
|
| CompareFunction |
A compare function.
|
| ConstantFunction |
Constant function to return the argument itself.
|
| Date2StringFunction |
date_to_string function
|
| DateFormatCache |
DateFormat cache
|
| DecimalFunction |
Cast value to decimal.
|
| DoubleFunction |
Cast value to double,double(a) eg.
|
| EvalFunction |
eval(script) , eval(script, bindings) and eval(script, bindings, cached) to execute a script with
current env or special bindings, default is in caching mode.
|
| IdentityFunction |
identity function return the argument itself.
|
| IsDefFunction |
is_def(x) returns true when variable x is defined in current scope or parent scopes.
|
| LoadFunction |
load('script.av') to load a script and retrieve it's exports.
|
| LongFunction |
Cast value to long
|
| MaxFunction |
max function to find the largest element in arguments.
|
| MinFunction |
min function to find the smallest element in arguments.
|
| NowFunction |
now() function to invoke System.currentTimeMillis()
|
| PrintFunction |
println(obj) function to print object
|
| PrintlnFunction |
println(obj) function to print object with newline
|
| PstFunction |
pst([out], e) function to print stacktrace of exception
|
| RandomFunction |
rand() function to generate random double value
|
| RangeFunction |
A function to create a range in [start, end] with step.
|
| RequireFunction |
require('script.av') to load a script and retrieve it's exports, if it's required before, it will
return the exports directly.
|
| SeqFunction |
seq(obj) function to cast a object into sequence, throw an runtime exception if fail.
|
| StrFunction |
Cast value to string
|
| String2DateFunction |
string_to_date function
|
| SysDateFunction |
sysdate() function
|
| TupleFunction |
tuple(x,y,z, ...) function to return an object array.
|
| TypeFunction |
type(x) function return the type of x, the result is a string such as 'string', 'long', 'double'
etc.
|
| UndefFunction |
undef(x) to forgot a variable that is defined in current scope.
|
| Exception | Description |
|---|---|
| AssertFunction.AssertFailed |
Assertion failiure.
|
Copyright © 2022–2023. All rights reserved.