All Classes and Interfaces
Class
Description
Abstract function implementation
Abstract base class for system min/max function.
Base class for min/max function.
Impl
Object.toString()
for sub-classes sequence.Base token class
Abstract function to implement variadic arguments function.
A
MethodVisitor
to insert before, after and around advices in
methods and constructors.A
MethodVisitor
that keeps track of stack map frame changes between
visitFrame
calls.A visitor to visit a Java annotation.
An
AnnotationVisitor
that generates annotations in bytecode form.Sequence for object array.
Utilities to access/update array elements etc.
Code generator using asm
assert function to assert an expression's value is true, otherwise throw an exception.
Assertion failiure.
A non standard class, field, method or code attribute.
Aviator Big Integer
Aviator bindings
Aviator boolean type
Aviator classloader to define class
Aviator Big Decimal
Aviator double type
Avaitor Expression evaluator
A aviator evaluator instance
A aviator function,all functions must implement this interface
Aviator variable
Aviator long type
Aviator nil object
Aviator number type
Aviator root object
A special ObjectInputStream that loads a class based on the AvaitorClassLoader rather than the
system default.
A special ObjectOutputStream that will write the generated script class byte array.
A Aviator regular expression pattern
Aviator runtime java type,used by when generate runtime result.
Aviator script engine
Aviator script engine factory.
A aviator string
Aviator string builder for fast concatenating string.
Aviator types
Base expression
Cast value to bigint
Binary function,includes +,-,*,/,%,!
Cast value to boolean, return false when nil or false, otherwise returns true.
A dynamically extensible vector of bytes.
__catch_handler(fun, exception) to create a
CatchHandler
.Sequence for CharSequence.
Charactor token
A class definer
Compiled expression,all generated class inherit this class
An aviator function wraps a class's static method.
A function loader that loads function from classpath config file.
A Java class parser to make a
ClassVisitor
visit an existing class.A visitor to visit a Java class.
A
ClassVisitor
that generates classes in bytecode form.Code generator interface
A
MethodVisitor
that can be used to approximate method size.Collector to collect elements.
Returns an implementation of java.util.Comparator based upon pred function.
A compare function.
A compiled aviator script.
Compile expression exception
compile-time types
Constant function to return the argument itself.
Information about a class being parsed in a
ClassReader
.date_to_string function
DateFormat cache
Cast value to decimal.
Delegate token,wrap a token with special syntax structure
Dispatch function by argument arity.
Cast value to double,double(a) eg.
An edge in the control flow graph of a method body.
An empty sequence
Expression execute environment.Modifed from ChainedMap in jibx.
Default Value when cannot resolve class symbol.
Processing env before or after executing expression.
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.
Expression engine evaluate mode
A expression
Base expression default methods accessor
Expression Lexer,scan tokens from string
Compiled expression not found exception.
Syntex parser for expression
Expression runtime exception
A string segment that generated by an expression execution.
Expression syntax exception
Syntax features.
A visitor to visit a Java field.
An
FieldVisitor
that generates Java fields in bytecode form.Information about the input and output stack map frames of a basic block.
Function annotation for method to import java class public method.
A function argument.
Function loader to load function when function not found.
Function not found hook interface.
Function not found exception.
Function param
Function helper
A
MethodVisitor
with convenient methods to generate code.A reference to a field or a method.
Information about an exception handler block.
identity function return the argument itself.
Identity hash set based on IdentityHashMap.
__if_callcc function
Ignore annotation for method to ignore importing the java class methods.
Illegal function arity exception.
Import annotation for class to special importing methods scope.
Import method scopes
A
MethodVisitor
providing a more detailed API to generate and transform instructions.Generate expression based on IR for interpreting.
Eval IR context.
A simple io module for aviator
IR interface
is_a(x, clazz) returns true when x is an intance of the class.
is_def(x) returns true when variable x is defined in current scope or parent scopes.
A constant pool item.
Sequence for iterable.
A function missing implementation that invoking first argument class's java instance method by
reflection with all arguments(the first argument as `this` pointer).
A label represents a position in the bytecode of a method.
All lamabda function base class
A lambda function creator.
Lambda function generator
Cast reader into a sequence of text lines in file.
A literal expression with a fixed result
A string literal segment
load('script.av') to load a script and retrieve it's exports.
load an operand
A
MethodVisitor
that renumbers local variables in their order of appearance.Cast value to long
LRU map based on LinkedHashMap
AviatorScript bootstrap
Sequence for map.
math.abs(d) function
math.acos(d) function
math.asin(d) function
math.atan(d) function
math.ceil(d) function
math.cos(d) function
math.floor(d) function
math.log10(d) function
math.log(d) function
math.pow(d1,d2) function
math.round(d) function
math.sin(d) function
math.sqrt(d) function
math.tan(d) function
max function to find the largest element in arguments.
meta(obj, [key]) function to return the meatadata of obj [with the key], returns null if ithere
is no metadata.
A named method descriptor.
A visitor to visit a Java method.
A
MethodVisitor
that generates methods in bytecode form.min function to find the smallest element in arguments.
__new(Class, ...args) to create an instance of special class with arguments.
A code generator that generates nothing.
No such property exception when property not found in java beans.
now() function to invoke System.currentTimeMillis()
A Number token
Defines the JVM opcodes, access flags and array type codes.
Operation runtime
OperatorType IR
Operator token
Operator type
Optimized code generator
Aviator Evaluator Configuration options.
The option's value union
A pattern token
println(obj) function to print object
println(obj) function to print object with newline
pst([out], e) function to print stacktrace of exception
rand() function to generate random double value
A range in [start, end) with step.
A function to create a range in [start, end] with step.
Internal reducer-break function for 'for-loop' structure.
Internal reducer-continue function for 'for-loop' structure.
Internal reducer-callcc function for 'for-loop' structure.
ReducerResult in looping.
Internal reducer-return function for 'for-loop' structure.
Some code is copied from
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Reflector.java
Class's instance method cache key
require('script.av') to load a script and retrieve it's exports, if it's required before, it will
return the exports directly.
Runtime function delegator
Runtime utils
Lexical scope info
seq.add function to add all elements in other sequence into this one.
seq.add function to add an element into seq.
seq.array(class, ...elements) function to create a new array of special type and elements.
seq.collector(seq) to create a collector for this sequence.
seq.raw(collector) to retrieve the raw container of collector.
Composite predicate function with invalid input: '&'invalid input: '&' or ||
seq.contains_key(map,key) function to check if seq(should be map) contains the key.
count(seq) to get seq's size
Returns true if fun.call(x) is logical true for every x in sequence, else false.
filter(seq,predicate) to filter seq by predicate
seq(obj) function to cast a object into sequence, throw an runtime exception if fail.
seq.get function to retrieve a element by index(for list) or key(for map).
include(seq,obj) function to check if seq contains object
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.
seq.keys(map) to retrieve keys sequence of the map.
Function to make predicate for filter function
seq.entry(key, value) function to create a Map.Entry instance.
map(col,fun) function to iterate seq with function
seq.max function to find the largest element in sequence.
seq.min function to find the smallest element in sequence.
seq.array_of(class, len) function to create a new array of special type and size.
seq.list function to new an array list.
seq.map function to new a hash map.
seq.set function to new a hash set.
Returns false if fun.call(x) is logical true for any x in sequence, else true.
A predicate function
seq.put function to set a element value by index(for list) or key(for map).
reduce(col,fun,init) function to reduce seq with function and a initial value value
seq.add function to add an element into seq.
reverse(seq) to reverse an array or list in place.
Returns the first logical true value of fun.call(x) for any x in sequence, else returns nil.
sort(list, [comparator]) function to sort a java.util.List or array,return a sorted duplicate
object
Sequence mark interface.
seq.vals(map) to retrieve values sequence of the map.
seq.collector(seq) to create a collector for this sequence.
A
ClassVisitor
that adds a serial version unique identifier to a class if missing.Source info to debug.
Standard error.
A
ClassVisitor
that merges clinit methods into a single one.Cast value to string
string_to_date function
string.contains(s1,s2) function
string.endsWith(s1,s2) function
String.indexOf function
string.join function
string.length(s) function
string.replace_all function
string.replace_first function
A string segment.
string.split function
string.startsWith(s1,s2) function
string.substring(s1,s2) function
String token
Symbol table
Thread-safe LRU map
sysdate() function
A code generator for switch statements.
__throw(e) to throw an exception.
The expression execution is timed out.
Lex token interface
Trace eval function.
__try(try_func, catch_handlers, finally_fn, callcc)
tuple(x,y,z, ...) function to return an object array.
A Java field or method type.
type(x) function return the type of x, the result is a string such as 'string', 'long', 'double'
etc.
Java type to aviator type utilities
undef(x) to forgot a variable that is defined in current scope.
Unpacking arguments on runtime
__use(pkg, ...names) function to implement import use
Some helper methods.
Variable token
Variable metadata, collected in compile-time.
Non-threadsafe temporal variable name generator
A string segment that generated by a variable in env.
with_meta(obj, key, value) function to add metadata key/value to obj, return the obj.
without_meta(obj, key) function to remove metadata by key from obj, return the obj.