All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
| Class |
Description |
| AbstractFunction |
Abstract function implementation
|
| AbstractMinMaxFunction |
Abstract base class for system min/max function.
|
| AbstractMinMaxFunction.Op |
|
| AbstractSeqMinMaxFunction |
Base class for min/max function.
|
| AbstractSeqMinMaxFunction.Op |
|
| AbstractSequence<T> |
Impl Object.toString() for sub-classes sequence.
|
| AbstractToken<T> |
Base token class
|
| AbstractVariadicFunction |
Abstract function to implement variadic arguments function.
|
| AdviceAdapter |
A MethodVisitor to insert before, after and around advices in
methods and constructors.
|
| AnalyzerAdapter |
|
| AnnotationVisitor |
A visitor to visit a Java annotation.
|
| AnnotationWriter |
|
| ArrayCollector |
|
| ArrayHashMap<K,V> |
|
| ArrayHashMap.MapEntry<K,V> |
|
| ArraySequence |
Sequence for object array.
|
| ArrayUtils |
Utilities to access/update array elements etc.
|
| ASMCodeGenerator |
Code generator using asm
|
| ASMCodeGenerator.MethodMetaData |
|
| AssertFunction |
assert function to assert an expression's value is true, otherwise throw an exception.
|
| AssertFunction.AssertFailed |
Assertion failiure.
|
| AssertTypeIR |
|
| AssertTypeIR.AssertTypes |
|
| Attribute |
A non standard class, field, method or code attribute.
|
| AviatorBigInt |
Aviator Big Integer
|
| AviatorBigInt.BigIntCache |
|
| AviatorBindings |
Aviator bindings
|
| AviatorBoolean |
Aviator boolean type
|
| AviatorClassLoader |
Aviator classloader to define class
|
| AviatorDecimal |
Aviator Big Decimal
|
| AviatorDouble |
Aviator double type
|
| AviatorEvaluator |
Avaitor Expression evaluator
|
| AviatorEvaluator.StaticHolder |
|
| AviatorEvaluatorInstance |
A aviator evaluator instance
|
| AviatorEvaluatorInstance.StringSegments |
|
| AviatorFunction |
A aviator function,all functions must implement this interface
|
| AviatorJavaType |
Aviator variable
|
| AviatorLong |
Aviator long type
|
| AviatorLong.LongCache |
|
| AviatorNil |
Aviator nil object
|
| AviatorNumber |
Aviator number type
|
| AviatorObject |
Aviator root object
|
| AviatorObjectInputStream |
A special ObjectInputStream that loads a class based on the AvaitorClassLoader rather than the
system default.
|
| AviatorObjectOutputStream |
A special ObjectOutputStream that will write the generated script class byte array.
|
| AviatorPattern |
A Aviator regular expression pattern
|
| AviatorRuntimeJavaElementType |
|
| AviatorRuntimeJavaElementType.ContainerType |
|
| AviatorRuntimeJavaType |
Aviator runtime java type,used by when generate runtime result.
|
| AviatorScriptEngine |
Aviator script engine
|
| AviatorScriptEngineFactory |
Aviator script engine factory.
|
| AviatorString |
A aviator string
|
| AviatorStringBuilder |
Aviator string builder for fast concatenating string.
|
| AviatorType |
Aviator types
|
| BaseEvalCodeGenerator |
|
| BaseExpression |
Base expression
|
| BigIntFunction |
Cast value to bigint
|
| BinaryFunction |
Binary function,includes +,-,*,/,%,!
|
| BooleanFunction |
Cast value to boolean, return false when nil or false, otherwise returns true.
|
| BranchIfIR |
|
| BranchUnlessIR |
|
| ByteVector |
A dynamically extensible vector of bytes.
|
| CatchHandler |
|
| CatchHandlerFunction |
|
| CharSeqSequence |
Sequence for CharSequence.
|
| CharToken |
Charactor token
|
| ClassDefiner |
A class definer
|
| ClassExpression |
Compiled expression,all generated class inherit this class
|
| ClassMethodFunction |
An aviator function wraps a class's static method.
|
| ClassPathConfigFunctionLoader |
A function loader that loads function from classpath config file.
|
| ClassPathConfigFunctionLoader.StaticHolder |
|
| ClassReader |
A Java class parser to make a ClassVisitor visit an existing class.
|
| ClassVisitor |
A visitor to visit a Java class.
|
| ClassWriter |
|
| ClearIR |
|
| CodeGenerator |
Code generator interface
|
| CodeSizeEvaluator |
|
| Collector |
Collector to collect elements.
|
| ComparatorFunction |
Returns an implementation of java.util.Comparator based upon pred function.
|
| CompareFunction |
A compare function.
|
| CompareNotSupportedException |
|
| CompiledAviatorScript |
A compiled aviator script.
|
| CompileExpressionErrorException |
Compile expression exception
|
| CompileTypes |
compile-time types
|
| ConstantFunction |
Constant function to return the argument itself.
|
| Constants |
|
| Context |
Information about a class being parsed in a ClassReader.
|
| Date2StringFunction |
date_to_string function
|
| DateFormatCache |
DateFormat cache
|
| DecimalFunction |
Cast value to decimal.
|
| DelegateToken |
Delegate token,wrap a token with special syntax structure
|
| DelegateToken.DelegateTokenType |
|
| DepthState |
|
| DispatchFunction |
Dispatch function by argument arity.
|
| DoubleFunction |
Cast value to double,double(a) eg.
|
| Edge |
An edge in the control flow graph of a method body.
|
| EmptySequence |
An empty sequence
|
| EmptySequence.EmptyIterator |
|
| Env |
Expression execute environment.Modifed from ChainedMap in jibx.
|
| Env.GetValueTask |
|
| Env.IntCounter |
|
| Env.NullClass |
Default Value when cannot resolve class symbol.
|
| Env.TargetObjectTask |
|
| EnvProcessor |
Processing env before or after executing expression.
|
| EvalCodeGenerator |
|
| 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.
|
| EvalMode |
Expression engine evaluate mode
|
| Expression |
A expression
|
| ExpressionAccessor |
Base expression default methods accessor
|
| ExpressionLexer |
Expression Lexer,scan tokens from string
|
| ExpressionNotFoundException |
Compiled expression not found exception.
|
| ExpressionParser |
Syntex parser for expression
|
| ExpressionParser.StatementType |
|
| ExpressionRuntimeException |
Expression runtime exception
|
| ExpressionSegment |
A string segment that generated by an expression execution.
|
| ExpressionSyntaxErrorException |
Expression syntax exception
|
| Feature |
Syntax features.
|
| FieldVisitor |
A visitor to visit a Java field.
|
| FieldWriter |
An FieldVisitor that generates Java fields in bytecode form.
|
| Frame |
Information about the input and output stack map frames of a basic block.
|
| Function |
Function annotation for method to import java class public method.
|
| FunctionArgument |
A function argument.
|
| FunctionLoader |
Function loader to load function when function not found.
|
| FunctionMissing |
Function not found hook interface.
|
| FunctionNotFoundException |
Function not found exception.
|
| FunctionParam |
Function param
|
| FunctionUtils |
Function helper
|
| GeneratorAdapter |
|
| GotoIR |
|
| Handle |
A reference to a field or a method.
|
| Handler |
Information about an exception handler block.
|
| IdentityFunction |
identity function return the argument itself.
|
| IdentityHashSet<E> |
Identity hash set based on IdentityHashMap.
|
| IfCallccFunction |
__if_callcc function
|
| Ignore |
Ignore annotation for method to ignore importing the java class methods.
|
| IllegalArityException |
Illegal function arity exception.
|
| Import |
Import annotation for class to special importing methods scope.
|
| ImportScope |
Import method scopes
|
| InstructionAdapter |
A MethodVisitor providing a more detailed API to generate and transform instructions.
|
| InterpretCodeGenerator |
Generate expression based on IR for interpreting.
|
| InterpretContext |
Eval IR context.
|
| InterpretExpression |
|
| IoModule |
A simple io module for aviator
|
| IR |
IR interface
|
| IsAFunction |
is_a(x, clazz) returns true when x is an intance of the class.
|
| IsDefFunction |
is_def(x) returns true when variable x is defined in current scope or parent scopes.
|
| Item |
A constant pool item.
|
| IterableSequence |
Sequence for iterable.
|
| JavaMethodReflectionFunctionMissing |
A function missing implementation that invoking first argument class's java instance method by
reflection with all arguments(the first argument as `this` pointer).
|
| JumpIR |
|
| Label |
A label represents a position in the bytecode of a method.
|
| Label |
|
| LambdaFunction |
All lamabda function base class
|
| LambdaFunctionBootstrap |
A lambda function creator.
|
| LambdaGenerator |
Lambda function generator
|
| LimitedSequence<T> |
|
| LineSequence |
Cast reader into a sequence of text lines in file.
|
| ListCollector |
|
| LiteralExpression |
A literal expression with a fixed result
|
| LiteralSegment |
A string literal segment
|
| LoadFunction |
load('script.av') to load a script and retrieve it's exports.
|
| LoadIR |
load an operand
|
| LoadScriptFailureException |
|
| LocalVariablesSorter |
A MethodVisitor that renumbers local variables in their order of appearance.
|
| LongFunction |
Cast value to long
|
| LRUMap<K,V> |
LRU map based on LinkedHashMap
|
| Main |
AviatorScript bootstrap
|
| MapSequence |
Sequence for map.
|
| MathAbsFunction |
math.abs(d) function
|
| MathAcosFunction |
math.acos(d) function
|
| MathAsinFunction |
math.asin(d) function
|
| MathAtanFunction |
math.atan(d) function
|
| MathCeilFunction |
math.ceil(d) function
|
| MathCosFunction |
math.cos(d) function
|
| MathFloorFunction |
math.floor(d) function
|
| MathLog10Function |
math.log10(d) function
|
| MathLogFunction |
math.log(d) function
|
| MathPowFunction |
math.pow(d1,d2) function
|
| MathRoundFunction |
math.round(d) function
|
| MathSinFunction |
math.sin(d) function
|
| MathSqrtFunction |
math.sqrt(d) function
|
| MathTanFunction |
math.tan(d) function
|
| MaxFunction |
max function to find the largest element in arguments.
|
| MetaFunction |
meta(obj, [key]) function to return the meatadata of obj [with the key], returns null if ithere
is no metadata.
|
| Method |
A named method descriptor.
|
| MethodVisitor |
A visitor to visit a Java method.
|
| MethodWriter |
|
| MinFunction |
min function to find the smallest element in arguments.
|
| NewInstanceFunction |
__new(Class, ...args) to create an instance of special class with arguments.
|
| NewLambdaIR |
|
| NoneCodeGenerator |
A code generator that generates nothing.
|
| NoSuchPropertyException |
No such property exception when property not found in java beans.
|
| NowFunction |
now() function to invoke System.currentTimeMillis()
|
| NumberToken |
A Number token
|
| Opcodes |
Defines the JVM opcodes, access flags and array type codes.
|
| OperationRuntime |
Operation runtime
|
| OperatorIR |
OperatorType IR
|
| OperatorToken |
Operator token
|
| OperatorType |
Operator type
|
| OptimizeCodeGenerator |
Optimized code generator
|
| Options |
Aviator Evaluator Configuration options.
|
| Options.Value |
The option's value union
|
| Parser |
|
| PatternToken |
A pattern token
|
| PopIR |
|
| PopNIR |
|
| 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
|
| Range |
A range in [start, end) with step.
|
| RangeFunction |
A function to create a range in [start, end] with step.
|
| ReducerBreakFunction |
Internal reducer-break function for 'for-loop' structure.
|
| ReducerContFunction |
Internal reducer-continue function for 'for-loop' structure.
|
| ReducerFunction |
Internal reducer-callcc function for 'for-loop' structure.
|
| ReducerResult |
ReducerResult in looping.
|
| ReducerReturnFunction |
Internal reducer-return function for 'for-loop' structure.
|
| ReducerState |
|
| Reflector |
Some code is copied from
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Reflector.java
|
| Reflector.MethodKey |
Class's instance method cache key
|
| Reflector.PropertyFoundResult |
|
| Reflector.PropertyType |
|
| Reflector.Target |
|
| RequireFunction |
require('script.av') to load a script and retrieve it's exports, if it's required before, it will
return the exports directly.
|
| RuntimeFunctionDelegator |
Runtime function delegator
|
| RuntimeUtils |
Runtime utils
|
| ScopeInfo |
Lexical scope info
|
| SendIR |
|
| SeqAddAllFunction |
seq.add function to add all elements in other sequence into this one.
|
| SeqAddFunction |
seq.add function to add an element into seq.
|
| SeqArrayFunction |
seq.array(class, ...elements) function to create a new array of special type and elements.
|
| SeqCollectorFunction |
seq.collector(seq) to create a collector for this sequence.
|
| SeqCollectorRawFunction |
seq.raw(collector) to retrieve the raw container of collector.
|
| SeqCompsitePredFunFunction |
Composite predicate function with && or ||
|
| SeqCompsitePredFunFunction.LogicOp |
|
| SeqContainsKeyFunction |
seq.contains_key(map,key) function to check if seq(should be map) contains the key.
|
| SeqCountFunction |
count(seq) to get seq's size
|
| SeqEveryFunction |
Returns true if fun.call(x) is logical true for every x in sequence, else false.
|
| SeqFilterFunction |
filter(seq,predicate) to filter seq by predicate
|
| SeqFunction |
seq(obj) function to cast a object into sequence, throw an runtime exception if fail.
|
| SeqGetFunction |
seq.get function to retrieve a element by index(for list) or key(for map).
|
| SeqIncludeFunction |
include(seq,obj) function to check if seq contains object
|
| SeqIntoFunction |
into(to_coll, from_coll) Adds all elements in from_coll into to_coll by seq.add(to_coll, element)
and return the to_coll.
|
| SeqKeysFunction |
seq.keys(map) to retrieve keys sequence of the map.
|
| SeqMakePredicateFunFunction |
Function to make predicate for filter function
|
| SeqMapEntryFunction |
seq.entry(key, value) function to create a Map.Entry instance.
|
| SeqMapEntryFunction.MapEntry |
|
| SeqMapFunction |
map(col,fun) function to iterate seq with function
|
| SeqMaxFunction |
seq.max function to find the largest element in sequence.
|
| SeqMinFunction |
seq.min function to find the smallest element in sequence.
|
| SeqNewArrayFunction |
seq.array_of(class, len) function to create a new array of special type and size.
|
| SeqNewListFunction |
seq.list function to new an array list.
|
| SeqNewMapFunction |
seq.map function to new a hash map.
|
| SeqNewSetFunction |
seq.set function to new a hash set.
|
| SeqNotAnyFunction |
Returns false if fun.call(x) is logical true for any x in sequence, else true.
|
| SeqPredicateFunction |
A predicate function
|
| SeqPutFunction |
seq.put function to set a element value by index(for list) or key(for map).
|
| SeqReduceFunction |
reduce(col,fun,init) function to reduce seq with function and a initial value value
|
| SeqRemoveFunction |
seq.add function to add an element into seq.
|
| SeqReverseFunction |
reverse(seq) to reverse an array or list in place.
|
| SeqSomeFunction |
Returns the first logical true value of fun.call(x) for any x in sequence, else returns nil.
|
| SeqSortFunction |
sort(list, [comparator]) function to sort a java.util.List or array,return a sorted duplicate
object
|
| Sequence<T> |
Sequence mark interface.
|
| SeqValsFunction |
seq.vals(map) to retrieve values sequence of the map.
|
| SeqZipmapFunction |
seq.collector(seq) to create a collector for this sequence.
|
| SerialVersionUIDAdder |
A ClassVisitor that adds a serial version unique identifier to a class if missing.
|
| SerialVersionUIDAdder.Item |
|
| SourceInfo |
Source info to debug.
|
| StandardError |
Standard error.
|
| StaticInitMerger |
A ClassVisitor that merges clinit methods into a single one.
|
| StrFunction |
Cast value to string
|
| String2DateFunction |
string_to_date function
|
| StringContainsFunction |
string.contains(s1,s2) function
|
| StringEndsWithFunction |
string.endsWith(s1,s2) function
|
| StringIndexOfFunction |
String.indexOf function
|
| StringJoinFunction |
string.join function
|
| StringLengthFunction |
string.length(s) function
|
| StringReplaceAllFunction |
string.replace_all function
|
| StringReplaceFirstFunction |
string.replace_first function
|
| StringSegment |
A string segment.
|
| StringSplitFunction |
string.split function
|
| StringStartsWithFunction |
string.startsWith(s1,s2) function
|
| StringSubStringFunction |
string.substring(s1,s2) function
|
| StringToken |
String token
|
| SymbolTable |
Symbol table
|
| SyncLRUMap<K,V> |
Thread-safe LRU map
|
| SysDateFunction |
sysdate() function
|
| TableSwitchGenerator |
A code generator for switch statements.
|
| ThrowFunction |
__throw(e) to throw an exception.
|
| TimeoutException |
The expression execution is timed out.
|
| Token<T> |
Lex token interface
|
| Token.TokenType |
|
| TraceFunction |
Trace eval function.
|
| TryCatchFunction |
__try(try_func, catch_handlers, finally_fn, callcc)
|
| TupleFunction |
tuple(x,y,z, ...) function to return an object array.
|
| Type |
A Java field or method type.
|
| TypeFunction |
type(x) function return the type of x, the result is a string such as 'string', 'long', 'double'
etc.
|
| TypeUtils |
Java type to aviator type utilities
|
| UndefFunction |
undef(x) to forgot a variable that is defined in current scope.
|
| UnpackingArgsFunction |
Unpacking arguments on runtime
|
| UnsupportedFeatureException |
|
| UseFunction |
__use(pkg, ...names) function to implement import use
|
| Utils |
Some helper methods.
|
| Utils.StaticHolder |
|
| Variable |
Variable token
|
| VariableMeta |
Variable metadata, collected in compile-time.
|
| VarNameGenerator |
Non-threadsafe temporal variable name generator
|
| VarSegment |
A string segment that generated by a variable in env.
|
| VisitLabelIR |
|
| WithMetaFunction |
with_meta(obj, key, value) function to add metadata key/value to obj, return the obj.
|
| WithoutMetaFunction |
without_meta(obj, key) function to remove metadata by key from obj, return the obj.
|