Class UseFunction
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.function.AbstractVariadicFunction
com.googlecode.aviator.runtime.function.internal.UseFunction
- All Implemented Interfaces:
AviatorFunction, Serializable, Runnable, Callable<AviatorObject>
__use(pkg, ...names) function to implement import use
- Author:
- dennis(killme2008@gmail.com)
- See Also:
-
Field Summary
FieldsFields inherited from class AviatorObject
metadata -
Method Summary
Modifier and TypeMethodDescriptioncall(Map<String, Object> env, AviatorObject arg1) use package.class;call(Map<String, Object> env, AviatorObject arg1, AviatorObject arg2) use package.* or use.package.{class};getName()Get the function namevariadicCall(Map<String, Object> env, AviatorObject... args) use package.{class1, class2};Methods inherited from class AbstractVariadicFunction
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, desc, getAviatorType, getValue, innerCompare, runMethods inherited from class AviatorObject
add, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, getMetadata, isNull, match, meta, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRight, withMeta, withoutMeta
-
Field Details
-
INSTANCE
-
-
Method Details
-
variadicCall
use package.{class1, class2};- Specified by:
variadicCallin classAbstractVariadicFunction- Parameters:
env-args-- Returns:
-
call
use package.class;- Specified by:
callin interfaceAviatorFunction- Overrides:
callin classAbstractVariadicFunction
-
call
use package.* or use.package.{class};- Specified by:
callin interfaceAviatorFunction- Overrides:
callin classAbstractVariadicFunction
-
getName
-