Package | Description |
---|---|
leola.lang | |
leola.lang.io | |
leola.lang.sql | |
leola.vm | |
leola.vm.compiler | |
leola.vm.debug | |
leola.vm.exceptions | |
leola.vm.types | |
leola.vm.util |
Modifier and Type | Method and Description |
---|---|
LeoObject |
ReflectionLeolaLibrary._implements(String interfaceName,
LeoObject leoMethods)
Implements a Java Interface
|
LeoObject |
LangLeolaLibrary._synchronized(LeoObject function)
Synchronizes the supplied
LeoObject function |
LeoObject |
DebugLeolaLibrary.asm(LeoObject asm)
Creates a
LeoFunction based off of the supplied assembler code (string). |
LeoObject |
ReflectionLeolaLibrary.call(LeoObject func,
LeoObject... params)
Calls the function and applies the array as function arguments to this function.
|
LeoObject |
ArrayLeolaLibrary.clone(LeoArray array) |
LeoObject |
MapLeolaLibrary.clone(LeoMap map) |
LeoObject |
ReflectionLeolaLibrary.clone(LeoObject obj)
Clones the object
|
LeoObject |
LangLeolaLibrary.eval(String expr)
Evaluates the expression.
|
LeoObject |
CollectionsLeolaLibrary.filter(LeoObject list,
LeoObject function)
returns a sequence consisting of those items from the sequence for which function(item) is true
|
LeoObject |
ArrayLeolaLibrary.first(LeoArray array) |
LeoObject |
MapLeolaLibrary.foreach(LeoMap map,
LeoObject function) |
LeoObject |
CollectionsLeolaLibrary.foreach(LeoObject list,
LeoObject function)
Iterates through the array invoking the call back.
|
LeoObject |
ArrayLeolaLibrary.get(LeoArray array,
int i) |
LeoObject |
MapLeolaLibrary.get(LeoMap map,
LeoObject key) |
LeoObject |
MapLeolaLibrary.keys(LeoMap map) |
LeoObject |
ArrayLeolaLibrary.last(LeoArray array) |
LeoObject |
CollectionsLeolaLibrary.map(LeoObject list,
LeoObject function)
calls function(item) for each of the sequence’s items and returns a list of the return values.
|
LeoObject |
ReflectionLeolaLibrary.newInstance(LeoObject classname,
LeoObject... params)
Reflectively create a new instance of a class.
|
LeoObject |
ArrayLeolaLibrary.peek(LeoArray array) |
LeoObject |
ArrayLeolaLibrary.pop(LeoArray array) |
LeoObject |
CollectionsLeolaLibrary.range(LeoObject start,
LeoObject end)
Constructs a list given the range.
|
LeoObject |
CollectionsLeolaLibrary.reduce(LeoObject list,
LeoObject function)
Reduces all of the values in the list into one value.
|
LeoObject |
MapLeolaLibrary.remove(LeoMap map,
LeoObject key) |
LeoObject |
ArrayLeolaLibrary.rest(LeoArray array) |
LeoObject |
ArrayLeolaLibrary.reverse(LeoArray array) |
LeoObject |
ArrayLeolaLibrary.slice(LeoArray array,
int start,
int end) |
LeoObject |
ArrayLeolaLibrary.sort(LeoArray array,
LeoObject comparator) |
LeoObject |
ArrayLeolaLibrary.tail(LeoArray array,
int start) |
LeoObject |
MapLeolaLibrary.values(LeoMap map) |
Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedDeque<LeoObject> |
CollectionsLeolaLibrary.concurrentDeque(LeoArray array)
Creates a concurrent Deque data structure based off of the data in the
LeoArray |
ConcurrentMap<LeoObject,LeoObject> |
CollectionsLeolaLibrary.concurrentMap(LeoMap map)
Converts the optional supplied
LeoMap into a ConcurrentMap . |
ConcurrentMap<LeoObject,LeoObject> |
CollectionsLeolaLibrary.concurrentMap(LeoMap map)
Converts the optional supplied
LeoMap into a ConcurrentMap . |
Set<LeoObject> |
CollectionsLeolaLibrary.concurrentSet(LeoArray array)
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionsLeolaLibrary.__for(LeoObject obj,
int start,
int end,
LeoObject function)
Iterates through the array.
|
LeoObject |
ReflectionLeolaLibrary._implements(String interfaceName,
LeoObject leoMethods)
Implements a Java Interface
|
LeoObject |
LangLeolaLibrary._synchronized(LeoObject function)
Synchronizes the supplied
LeoObject function |
void |
ArrayLeolaLibrary.add(LeoArray array,
LeoObject v) |
void |
ArrayLeolaLibrary.addAll(LeoArray array,
LeoObject values) |
LeoObject |
DebugLeolaLibrary.asm(LeoObject asm)
Creates a
LeoFunction based off of the supplied assembler code (string). |
void |
DebugLeolaLibrary.assertEq(LeoObject l,
LeoObject r,
String message)
Assert that both objects are equal to each other.
|
void |
DebugLeolaLibrary.assertNotNull(LeoObject obj,
String message)
Assert that the supplied object is not null.
|
void |
DebugLeolaLibrary.assertNull(LeoObject obj,
String message)
Assert that the supplied object is null.
|
void |
DebugLeolaLibrary.assertTrue(LeoObject obj,
String message)
Assert that both objects are equal to each other.
|
byte[] |
StringLeolaLibrary.bytes(LeoObject str) |
LeoObject |
ReflectionLeolaLibrary.call(LeoObject func,
LeoObject... params)
Calls the function and applies the array as function arguments to this function.
|
LeoObject |
ReflectionLeolaLibrary.call(LeoObject func,
LeoObject... params)
Calls the function and applies the array as function arguments to this function.
|
LeoObject |
ReflectionLeolaLibrary.clone(LeoObject obj)
Clones the object
|
boolean |
StringLeolaLibrary.contains(LeoString str,
LeoObject v) |
boolean |
StringLeolaLibrary.empty(LeoObject str) |
boolean |
StringLeolaLibrary.endsWith(LeoString str,
LeoObject v) |
LeoArray |
CollectionsLeolaLibrary.fill(LeoArray array,
LeoObject function)
Iterates through the array invoking the call back filling the
array
|
LeoObject |
CollectionsLeolaLibrary.filter(LeoObject list,
LeoObject function)
returns a sequence consisting of those items from the sequence for which function(item) is true
|
void |
ArrayLeolaLibrary.foreach(LeoArray array,
LeoObject function) |
LeoObject |
MapLeolaLibrary.foreach(LeoMap map,
LeoObject function) |
LeoObject |
CollectionsLeolaLibrary.foreach(LeoObject list,
LeoObject function)
Iterates through the array invoking the call back.
|
void |
StringLeolaLibrary.foreach(LeoString str,
LeoObject function) |
LeoObject |
MapLeolaLibrary.get(LeoMap map,
LeoObject key) |
Bytecode |
DebugLeolaLibrary.getbytecode(LeoObject f)
Retrieves the
Bytecode from the supplied object. |
LeoClass.Metaclass |
ReflectionLeolaLibrary.getMetaclass(LeoObject aClass)
Retrieves the
LeoClass.Metaclass information from the supplied LeoClass |
boolean |
ArrayLeolaLibrary.has(LeoArray array,
LeoObject v) |
boolean |
MapLeolaLibrary.has(LeoMap map,
LeoObject key) |
LeoArray |
StringLeolaLibrary.indexesOf(LeoString str,
LeoObject v)
Retrieves all of the indexes where 'v' is found in this string.
|
int |
StringLeolaLibrary.indexOf(LeoString str,
LeoObject v) |
LeoString |
StringLeolaLibrary.insert(LeoString str,
int index,
LeoObject v) |
int |
CollectionsLeolaLibrary.length(LeoObject array)
returns the length of the array
|
LeoObject |
CollectionsLeolaLibrary.map(LeoObject list,
LeoObject function)
calls function(item) for each of the sequence’s items and returns a list of the return values.
|
LeoArray |
LangLeolaLibrary.newArray(int size,
LeoObject func)
Constructs a new Array
|
LeoObject |
ReflectionLeolaLibrary.newInstance(LeoObject classname,
LeoObject... params)
Reflectively create a new instance of a class.
|
LeoObject |
ReflectionLeolaLibrary.newInstance(LeoObject classname,
LeoObject... params)
Reflectively create a new instance of a class.
|
LeoNativeClass |
LangLeolaLibrary.newThread(LeoObject function,
String name,
Boolean daemon)
Returns a new thread with the supplied
LeoObject serving
as the thread runnable. |
LeoString |
StringLeolaLibrary.printf(Object str,
LeoObject... args) |
void |
LangLeolaLibrary.printf(Object x,
LeoObject... args)
Print format
|
void |
ArrayLeolaLibrary.push(LeoArray array,
LeoObject v) |
void |
MapLeolaLibrary.put(LeoMap map,
LeoObject key,
LeoObject value) |
void |
MapLeolaLibrary.putAll(LeoMap map,
LeoObject values) |
LeoObject |
CollectionsLeolaLibrary.range(LeoObject start,
LeoObject end)
Constructs a list given the range.
|
LeoObject |
CollectionsLeolaLibrary.reduce(LeoObject list,
LeoObject function)
Reduces all of the values in the list into one value.
|
boolean |
ArrayLeolaLibrary.remove(LeoArray array,
LeoObject v) |
LeoObject |
MapLeolaLibrary.remove(LeoMap map,
LeoObject key) |
void |
ArrayLeolaLibrary.removeAll(LeoArray array,
LeoObject v) |
void |
MapLeolaLibrary.removeAll(LeoMap map,
LeoObject values) |
void |
CollectionsLeolaLibrary.repeat(int n,
LeoObject function)
Repeats the function N times
|
void |
LangLeolaLibrary.Scheduler.repeat(long delay,
LeoObject function)
Repeatedly executes the function
|
LeoString |
StringLeolaLibrary.replace(LeoString str,
int start,
int end,
LeoObject v) |
LeoString |
StringLeolaLibrary.replaceAll(LeoString str,
LeoObject replaceMe,
LeoObject v) |
void |
LangLeolaLibrary.Scheduler.schedule(long timeMsec,
LeoObject function)
Schedules the function
|
LeoObject |
ArrayLeolaLibrary.sort(LeoArray array,
LeoObject comparator) |
LeoArray |
StringLeolaLibrary.split(LeoString str,
LeoObject v) |
boolean |
StringLeolaLibrary.startsWith(LeoString str,
LeoObject v) |
LeoString |
StringLeolaLibrary.trim(LeoObject str) |
String |
ReflectionLeolaLibrary.type(LeoObject obj) |
Modifier and Type | Method and Description |
---|---|
LeoObject |
LeolaFile.with(LeoObject func)
Executes the supplied function and always closes the file afterwards (even if
an exception occurs).
|
Modifier and Type | Method and Description |
---|---|
LeoObject |
LeolaFile.with(LeoObject func)
Executes the supplied function and always closes the file afterwards (even if
an exception occurs).
|
Modifier and Type | Method and Description |
---|---|
LeoObject |
Conn.execute(LeoObject sql,
LeoMap params,
Integer maxResults)
Executes a read-only query.
|
LeoObject |
Conn.transaction(LeoObject func)
Executes a block of code around a transaction.
|
Modifier and Type | Method and Description |
---|---|
Conn |
SqlLeolaLibrary.connect(LeoObject url,
LeoObject username,
LeoObject pw)
Connects to a database.
|
void |
SqlLeolaLibrary.driver(LeoObject driver)
Sets the driver
|
LeoObject |
Conn.execute(LeoObject sql,
LeoMap params,
Integer maxResults)
Executes a read-only query.
|
Query |
Conn.query(LeoObject sql) |
void |
Conn.releaseSavepoint(LeoObject savepoint) |
void |
Conn.rollbackTo(LeoObject savepoint) |
void |
Conn.savepoint(LeoObject savepoint) |
void |
Query.streamExecute(LeoObject function,
Integer fetchSize)
Streams the result set invoking the supplied function every fetchSize.
|
void |
Conn.streamExecute(LeoObject function,
LeoObject sql,
LeoMap params,
Integer pageSize)
Streams the response.
|
LeoObject |
Conn.transaction(LeoObject func)
Executes a block of code around a transaction.
|
int |
Conn.update(LeoObject sql,
LeoMap params)
Executes a update statement
|
Modifier and Type | Method and Description |
---|---|
LeoObject |
Leola.eval(File file)
Checks the file extension, if it ends in "leolac" it will treat it as a
compiled script and attempt to evaluate the bytecode.
|
LeoObject |
Leola.eval(File file,
String namespace)
Checks the file extension, if it ends in "leolac" it will treat it as a
compiled script and attempt to evaluate the bytecode.
|
LeoObject |
Leola.eval(InputStream iStream) |
LeoObject |
Leola.eval(Reader reader) |
LeoObject |
Leola.eval(Reader reader,
LeoNamespace namespace) |
LeoObject |
Leola.eval(String inlineSource)
Evaluates the inlined source code.
|
LeoObject |
Leola.execute(Bytecode code)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(LeoObject callee,
Bytecode code)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
Executes the supplied
Bytecode . |
LeoObject |
Leola.get(LeoScopedObject scope,
String reference)
Gets a
LeoObject by reference from a specific LeoScopedObject . |
LeoObject |
Leola.get(Scope scope,
String reference)
|
LeoObject |
Leola.get(String reference)
|
LeoObject |
ClassDefinition.getClassName() |
LeoObject |
Scope.getClassName(LeoObject fullyQualifiedClassName)
Gets just the class name, removing any package or namespaces.
|
LeoObject[] |
ClassDefinition.getInterfaceNames() |
LeoObject |
Scope.getObject(LeoObject reference)
Recursively attempts to retrieve the value associated with the reference.
|
LeoObject |
Scope.getObject(String reference)
Recursively attempts to retrieve the value associated with the reference.
|
LeoObject |
Scope.getObjectNoGlobal(LeoObject reference)
Searches scopes and parent scopes up and until the global scope
|
LeoObject |
Scope.getObjectNoGlobal(String reference)
Searches scopes and parent scopes up and until the global scope
|
LeoObject[] |
ClassDefinition.getParameterNames() |
LeoObject[] |
Scope.getScopedValues() |
LeoObject |
Args.getScriptArgs() |
LeoObject[] |
ClassDefinition.getSuperParameterNames() |
LeoObject |
ClassDefinitions.newInstance(Leola runtime,
ClassDefinition definition,
LeoObject[] params)
Creates a new instance of a class defined by the
ClassDefinition for the supplied
class name. |
LeoObject |
ClassDefinitions.newInstance(Leola runtime,
LeoObject className,
LeoObject[] params)
Creates a new instance of a class defined by the
ClassDefinition for the supplied
class name. |
LeoObject |
Scope.putObject(LeoObject reference,
LeoObject value)
Stores an object in this scope and only this scope.
|
LeoObject |
Scope.putObject(String reference,
LeoObject value) |
LeoObject |
Scope.removeObject(LeoObject reference)
Removes an object from this
Scope |
LeoObject |
Scope.removeObject(String reference)
Removes an object from this
Scope |
LeoObject |
Scope.storeObject(LeoObject reference,
LeoObject newValue)
Stores an object in this scope, it first checks to see if any parent
values contain the supplied reference, if it does it will override the existing
value.
|
LeoObject |
Scope.storeObject(String reference,
LeoObject value) |
static LeoObject |
Leola.toLeoObject(Object javaObject)
Converts the supplied Java Object into a
LeoObject equivalent |
Modifier and Type | Method and Description |
---|---|
Map<LeoObject,ClassDefinition> |
ClassDefinitions.getClassDefinitions() |
Map<LeoObject,LeoNamespace> |
NamespaceDefinitions.getNamespaceDefinitions() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClassDefinitions.containsClass(LeoObject className)
Determines if there is a
ClassDefinition defined by the supplied
class name. |
boolean |
NamespaceDefinitions.containsNamespace(LeoObject namespace)
Determines if there is a
LeoNamespace associated with the supplied name. |
LeoObject |
Leola.execute(Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(LeoObject callee,
Bytecode code)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode |
LeoObject |
Leola.execute(LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject[] args)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
Executes the supplied
Bytecode . |
LeoObject |
VM.execute(LeoObject env,
LeoObject callee,
Bytecode code,
LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
Executes the supplied
Bytecode . |
LeoObject |
Scope.getClassName(LeoObject fullyQualifiedClassName)
Gets just the class name, removing any package or namespaces.
|
ClassDefinition |
ClassDefinitions.getDefinition(LeoObject className)
Retrieves the
ClassDefinition associated with the supplied class name. |
LeoNamespace |
Scope.getNamespace(LeoObject reference)
Retrieves a
LeoNamespace by its name |
LeoNamespace |
NamespaceDefinitions.getNamespace(LeoObject namespace)
Retrieves the
LeoNamespace associated with the supplied name. |
LeoObject |
Scope.getObject(LeoObject reference)
Recursively attempts to retrieve the value associated with the reference.
|
LeoObject |
Scope.getObjectNoGlobal(LeoObject reference)
Searches scopes and parent scopes up and until the global scope
|
ClassDefinitions |
Scope.lookupClassDefinitions(LeoObject className)
Looks up the appropriate
ClassDefinitions containing the className. |
ClassDefinitions |
Scope.lookupClassDefinitions(Scope currentScope,
LeoObject className)
Looks up the appropriate
ClassDefinitions containing the className |
LeoNamespace |
Scope.lookupNamespace(LeoObject namespace)
Looks up name spaces (Ex.
|
LeoObject |
ClassDefinitions.newInstance(Leola runtime,
ClassDefinition definition,
LeoObject[] params)
Creates a new instance of a class defined by the
ClassDefinition for the supplied
class name. |
LeoObject |
ClassDefinitions.newInstance(Leola runtime,
LeoObject className,
LeoObject[] params)
Creates a new instance of a class defined by the
ClassDefinition for the supplied
class name. |
LeoObject |
ClassDefinitions.newInstance(Leola runtime,
LeoObject className,
LeoObject[] params)
Creates a new instance of a class defined by the
ClassDefinition for the supplied
class name. |
LeoObject |
Scope.putObject(LeoObject reference,
LeoObject value)
Stores an object in this scope and only this scope.
|
LeoObject |
Scope.putObject(String reference,
LeoObject value) |
void |
ClassDefinitions.removeClass(LeoObject className)
Removes the
ClassDefinition associated with the supplied class name. |
void |
NamespaceDefinitions.removeNamespace(LeoObject namespaceName)
Removes the
LeoNamespace associated with the supplied name |
LeoObject |
Scope.removeObject(LeoObject reference)
Removes an object from this
Scope |
void |
Args.setScriptArgs(LeoObject scriptArgs) |
Args.ArgsBuilder |
Args.ArgsBuilder.setScriptArguments(LeoObject scriptArgs)
Arguments passed to the runtime -- a kin to program
arguments.
|
void |
ClassDefinitions.storeClass(LeoObject className,
ClassDefinition klass)
Stores a
ClassDefinition |
void |
NamespaceDefinitions.storeNamespace(LeoObject namespaceName,
LeoNamespace ns)
Stores the
LeoNamespace , bounded to the supplied namespace name |
LeoObject |
Scope.storeObject(LeoObject reference,
LeoObject newValue)
Stores an object in this scope, it first checks to see if any parent
values contain the supplied reference, if it does it will override the existing
value.
|
LeoObject |
Scope.storeObject(String reference,
LeoObject value) |
Constructor and Description |
---|
ClassDefinition(LeoObject className,
ClassDefinition superClass,
Scope declaredScope,
LeoObject[] interfaces,
LeoObject[] params,
LeoObject[] superParams,
Bytecode body) |
ClassDefinition(LeoObject className,
ClassDefinition superClass,
Scope declaredScope,
LeoObject[] interfaces,
LeoObject[] params,
LeoObject[] superParams,
Bytecode body) |
ClassDefinition(LeoObject className,
ClassDefinition superClass,
Scope declaredScope,
LeoObject[] interfaces,
LeoObject[] params,
LeoObject[] superParams,
Bytecode body) |
ClassDefinition(LeoObject className,
ClassDefinition superClass,
Scope declaredScope,
LeoObject[] interfaces,
LeoObject[] params,
LeoObject[] superParams,
Bytecode body) |
Modifier and Type | Field and Description |
---|---|
LeoObject[] |
Bytecode.constants |
Modifier and Type | Method and Description |
---|---|
LeoObject[] |
Constants.compile() |
LeoObject |
Constants.get(int index)
Retrieves the
LeoObject and a particular index. |
LeoObject |
Outer.StackValue.getStackValue(int index)
Retrieve an element from the stack at
the supplied index.
|
LeoObject |
Outer.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
BytecodeEmitter.addAndloadconst(LeoObject obj)
Stores the
LeoObject in the constants table and
emits a load instruction for it. |
int |
BytecodeEmitter.addConst(LeoObject obj)
Stores the
LeoObject in the constant table. |
int |
Constants.get(LeoObject obj)
Retrieves the index in which the supplied
LeoObject is stored. |
static Bytecode |
Bytecode.read(LeoObject env,
DataInput in)
|
void |
Outer.StackValue.setStackValue(int index,
LeoObject value)
Sets the stack at the supplied index with the
supplied value.
|
void |
Outer.setValue(LeoObject value)
Sets the value
|
int |
Constants.store(LeoObject obj)
Stores a
LeoObject literal |
Modifier and Type | Method and Description |
---|---|
LeoObject[] |
DebugEvent.getStack() |
Constructor and Description |
---|
DebugEvent(LeoObject[] stack,
int base,
int topStack,
int sp,
int pc,
int lineNumber,
Scope scope,
Outer[] calleeouters,
Bytecode bytecode) |
Constructor and Description |
---|
LeolaRuntimeException(LeoObject error) |
Modifier and Type | Class and Description |
---|---|
class |
LeoArray
An expandable array that can act as a Stack or a randomly accessed array.
|
class |
LeoBoolean
Leola boolean value
|
class |
LeoClass
Represents an instance of a Class
|
class |
LeoDouble
Represents a double float precision number
|
class |
LeoError
An Error object
|
class |
LeoFunction
A
LeoFunction is a function or better known as a Closure. |
class |
LeoGenerator
A
LeoGenerator is an object that behaves like a function, but
is "resumeable" from a yield statement. |
class |
LeoInteger
Represents a double float precision number
|
class |
LeoLong
Represents a double float precision number
|
class |
LeoMap
A
Map data structure. |
class |
LeoNamespace
Defines a namespace.
|
class |
LeoNativeClass
Refers to a Java Class
|
class |
LeoNativeFunction
A
LeoNativeFunction is a function or better known as a Closure. |
class |
LeoNull
Leola's null object.
|
class |
LeoOuterObject
An object that can carry closure values along with it.
|
class |
LeoScopedObject
An object which contains code within it that can be referenced outside of the scope (namespaces, classes).
|
class |
LeoString
A Leola String.
|
class |
LeoUserFunction
A user defined function.
|
Modifier and Type | Field and Description |
---|---|
protected LeoObject |
LeoFunction.env
The environment it was created in
|
static LeoObject |
LeoObject.FALSE |
protected LeoObject[] |
LeoMap.hashKeys
the hash keys
|
protected LeoObject[] |
LeoMap.hashValues
the hash values
|
static LeoObject |
LeoObject.NULL
A convenience means for retrieving the
LeoNull object |
static LeoObject |
LeoObject.TRUE |
Modifier and Type | Method and Description |
---|---|
<T extends LeoObject> |
LeoObject.as()
Up Casts this
LeoObject |
static <T extends LeoObject> |
LeoObject.as(LeoObject obj)
Up Casts the supplied
LeoObject |
Modifier and Type | Method and Description |
---|---|
LeoObject |
LeoString.$add(double other) |
LeoObject |
LeoObject.$add(double other) |
LeoObject |
LeoLong.$add(double other) |
LeoObject |
LeoInteger.$add(double other) |
LeoObject |
LeoDouble.$add(double other) |
LeoObject |
LeoString.$add(int other) |
LeoObject |
LeoObject.$add(int other) |
LeoObject |
LeoLong.$add(int other) |
LeoObject |
LeoInteger.$add(int other) |
LeoObject |
LeoDouble.$add(int other) |
LeoObject |
LeoString.$add(LeoObject other) |
LeoObject |
LeoObject.$add(LeoObject other) |
LeoObject |
LeoNativeClass.$add(LeoObject other) |
LeoObject |
LeoNamespace.$add(LeoObject other) |
LeoObject |
LeoMap.$add(LeoObject other) |
LeoObject |
LeoLong.$add(LeoObject other) |
LeoObject |
LeoInteger.$add(LeoObject other) |
LeoObject |
LeoFunction.$add(LeoObject other) |
LeoObject |
LeoDouble.$add(LeoObject other) |
LeoObject |
LeoClass.$add(LeoObject other) |
LeoObject |
LeoBoolean.$add(LeoObject other) |
LeoObject |
LeoArray.$add(LeoObject obj)
Adds an object
|
LeoObject |
LeoString.$add(long other) |
LeoObject |
LeoObject.$add(long other) |
LeoObject |
LeoLong.$add(long other) |
LeoObject |
LeoInteger.$add(long other) |
LeoObject |
LeoDouble.$add(long other) |
LeoObject |
LeoObject.$band(double other) |
LeoObject |
LeoLong.$band(double other) |
LeoObject |
LeoInteger.$band(double other) |
LeoObject |
LeoDouble.$band(double other) |
LeoObject |
LeoObject.$band(int other) |
LeoObject |
LeoLong.$band(int other) |
LeoObject |
LeoInteger.$band(int other) |
LeoObject |
LeoDouble.$band(int other) |
LeoObject |
LeoObject.$band(LeoObject other) |
LeoObject |
LeoLong.$band(LeoObject other) |
LeoObject |
LeoInteger.$band(LeoObject other) |
LeoObject |
LeoDouble.$band(LeoObject other) |
LeoObject |
LeoClass.$band(LeoObject other) |
LeoObject |
LeoBoolean.$band(LeoObject other) |
LeoObject |
LeoObject.$band(long other) |
LeoObject |
LeoLong.$band(long other) |
LeoObject |
LeoInteger.$band(long other) |
LeoObject |
LeoDouble.$band(long other) |
LeoObject |
LeoObject.$bnot() |
LeoObject |
LeoLong.$bnot() |
LeoObject |
LeoInteger.$bnot() |
LeoObject |
LeoDouble.$bnot() |
LeoObject |
LeoClass.$bnot() |
LeoObject |
LeoBoolean.$bnot() |
LeoObject |
LeoObject.$bor(double other) |
LeoObject |
LeoLong.$bor(double other) |
LeoObject |
LeoInteger.$bor(double other) |
LeoObject |
LeoDouble.$bor(double other) |
LeoObject |
LeoObject.$bor(int other) |
LeoObject |
LeoLong.$bor(int other) |
LeoObject |
LeoInteger.$bor(int other) |
LeoObject |
LeoDouble.$bor(int other) |
LeoObject |
LeoObject.$bor(LeoObject other) |
LeoObject |
LeoLong.$bor(LeoObject other) |
LeoObject |
LeoInteger.$bor(LeoObject other) |
LeoObject |
LeoDouble.$bor(LeoObject other) |
LeoObject |
LeoClass.$bor(LeoObject other) |
LeoObject |
LeoBoolean.$bor(LeoObject other) |
LeoObject |
LeoObject.$bor(long other) |
LeoObject |
LeoLong.$bor(long other) |
LeoObject |
LeoInteger.$bor(long other) |
LeoObject |
LeoDouble.$bor(long other) |
LeoObject |
LeoObject.$bsl(double other) |
LeoObject |
LeoLong.$bsl(double other) |
LeoObject |
LeoInteger.$bsl(double other) |
LeoObject |
LeoDouble.$bsl(double other) |
LeoObject |
LeoObject.$bsl(int other) |
LeoObject |
LeoLong.$bsl(int other) |
LeoObject |
LeoInteger.$bsl(int other) |
LeoObject |
LeoDouble.$bsl(int other) |
LeoObject |
LeoObject.$bsl(LeoObject other) |
LeoObject |
LeoLong.$bsl(LeoObject other) |
LeoObject |
LeoInteger.$bsl(LeoObject other) |
LeoObject |
LeoDouble.$bsl(LeoObject other) |
LeoObject |
LeoClass.$bsl(LeoObject other) |
LeoObject |
LeoArray.$bsl(LeoObject other) |
LeoObject |
LeoObject.$bsl(long other) |
LeoObject |
LeoLong.$bsl(long other) |
LeoObject |
LeoInteger.$bsl(long other) |
LeoObject |
LeoDouble.$bsl(long other) |
LeoObject |
LeoObject.$bsr(double other) |
LeoObject |
LeoLong.$bsr(double other) |
LeoObject |
LeoInteger.$bsr(double other) |
LeoObject |
LeoDouble.$bsr(double other) |
LeoObject |
LeoObject.$bsr(int other) |
LeoObject |
LeoLong.$bsr(int other) |
LeoObject |
LeoInteger.$bsr(int other) |
LeoObject |
LeoDouble.$bsr(int other) |
LeoObject |
LeoObject.$bsr(LeoObject other) |
LeoObject |
LeoLong.$bsr(LeoObject other) |
LeoObject |
LeoInteger.$bsr(LeoObject other) |
LeoObject |
LeoDouble.$bsr(LeoObject other) |
LeoObject |
LeoClass.$bsr(LeoObject other) |
LeoObject |
LeoArray.$bsr(LeoObject other) |
LeoObject |
LeoObject.$bsr(long other) |
LeoObject |
LeoLong.$bsr(long other) |
LeoObject |
LeoInteger.$bsr(long other) |
LeoObject |
LeoDouble.$bsr(long other) |
LeoObject |
LeoObject.$div(double other) |
LeoObject |
LeoLong.$div(double other) |
LeoObject |
LeoInteger.$div(double other) |
LeoObject |
LeoDouble.$div(double other) |
LeoObject |
LeoObject.$div(int other) |
LeoObject |
LeoLong.$div(int other) |
LeoObject |
LeoInteger.$div(int other) |
LeoObject |
LeoDouble.$div(int other) |
LeoObject |
LeoObject.$div(LeoObject other) |
LeoObject |
LeoLong.$div(LeoObject other) |
LeoObject |
LeoInteger.$div(LeoObject other) |
LeoObject |
LeoDouble.$div(LeoObject other) |
LeoObject |
LeoClass.$div(LeoObject other) |
LeoObject |
LeoObject.$div(long other) |
LeoObject |
LeoLong.$div(long other) |
LeoObject |
LeoInteger.$div(long other) |
LeoObject |
LeoDouble.$div(long other) |
LeoObject |
LeoString.$index(double other) |
LeoObject |
LeoObject.$index(double other) |
LeoObject |
LeoMap.$index(double other) |
LeoObject |
LeoArray.$index(double other) |
LeoObject |
LeoString.$index(int other) |
LeoObject |
LeoObject.$index(int other) |
LeoObject |
LeoMap.$index(int other) |
LeoObject |
LeoArray.$index(int other) |
LeoObject |
LeoString.$index(LeoObject other) |
LeoObject |
LeoObject.$index(LeoObject other) |
LeoObject |
LeoNativeClass.$index(LeoObject other) |
LeoObject |
LeoMap.$index(LeoObject other) |
LeoObject |
LeoClass.$index(LeoObject key) |
LeoObject |
LeoArray.$index(LeoObject other) |
LeoObject |
LeoString.$index(long other) |
LeoObject |
LeoObject.$index(long other) |
LeoObject |
LeoMap.$index(long other) |
LeoObject |
LeoArray.$index(long other) |
LeoObject |
LeoObject.$mod(double other) |
LeoObject |
LeoLong.$mod(double other) |
LeoObject |
LeoInteger.$mod(double other) |
LeoObject |
LeoDouble.$mod(double other) |
LeoObject |
LeoObject.$mod(int other) |
LeoObject |
LeoLong.$mod(int other) |
LeoObject |
LeoInteger.$mod(int other) |
LeoObject |
LeoDouble.$mod(int other) |
LeoObject |
LeoObject.$mod(LeoObject other) |
LeoObject |
LeoLong.$mod(LeoObject other) |
LeoObject |
LeoInteger.$mod(LeoObject other) |
LeoObject |
LeoDouble.$mod(LeoObject other) |
LeoObject |
LeoClass.$mod(LeoObject other) |
LeoObject |
LeoObject.$mod(long other) |
LeoObject |
LeoLong.$mod(long other) |
LeoObject |
LeoInteger.$mod(long other) |
LeoObject |
LeoDouble.$mod(long other) |
LeoObject |
LeoObject.$mul(double other) |
LeoObject |
LeoLong.$mul(double other) |
LeoObject |
LeoInteger.$mul(double other) |
LeoObject |
LeoDouble.$mul(double other) |
LeoObject |
LeoObject.$mul(int other) |
LeoObject |
LeoLong.$mul(int other) |
LeoObject |
LeoInteger.$mul(int other) |
LeoObject |
LeoDouble.$mul(int other) |
LeoObject |
LeoObject.$mul(LeoObject other) |
LeoObject |
LeoLong.$mul(LeoObject other) |
LeoObject |
LeoInteger.$mul(LeoObject other) |
LeoObject |
LeoDouble.$mul(LeoObject other) |
LeoObject |
LeoClass.$mul(LeoObject other) |
LeoObject |
LeoObject.$mul(long other) |
LeoObject |
LeoLong.$mul(long other) |
LeoObject |
LeoInteger.$mul(long other) |
LeoObject |
LeoDouble.$mul(long other) |
LeoObject |
LeoObject.$neg() |
LeoObject |
LeoLong.$neg() |
LeoObject |
LeoInteger.$neg() |
LeoObject |
LeoDouble.$neg() |
LeoObject |
LeoClass.$neg() |
LeoObject |
LeoObject.$sub(double other) |
LeoObject |
LeoLong.$sub(double other) |
LeoObject |
LeoInteger.$sub(double other) |
LeoObject |
LeoDouble.$sub(double other) |
LeoObject |
LeoObject.$sub(int other) |
LeoObject |
LeoLong.$sub(int other) |
LeoObject |
LeoInteger.$sub(int other) |
LeoObject |
LeoDouble.$sub(int other) |
LeoObject |
LeoString.$sub(LeoObject other) |
LeoObject |
LeoObject.$sub(LeoObject other) |
LeoObject |
LeoLong.$sub(LeoObject other) |
LeoObject |
LeoInteger.$sub(LeoObject other) |
LeoObject |
LeoDouble.$sub(LeoObject other) |
LeoObject |
LeoClass.$sub(LeoObject other) |
LeoObject |
LeoArray.$sub(LeoObject other) |
LeoObject |
LeoObject.$sub(long other) |
LeoObject |
LeoLong.$sub(long other) |
LeoObject |
LeoInteger.$sub(long other) |
LeoObject |
LeoDouble.$sub(long other) |
LeoObject |
LeoObject.$xor(double other) |
LeoObject |
LeoLong.$xor(double other) |
LeoObject |
LeoInteger.$xor(double other) |
LeoObject |
LeoDouble.$xor(double other) |
LeoObject |
LeoObject.$xor(int other) |
LeoObject |
LeoLong.$xor(int other) |
LeoObject |
LeoInteger.$xor(int other) |
LeoObject |
LeoDouble.$xor(int other) |
LeoObject |
LeoObject.$xor(LeoObject other) |
LeoObject |
LeoMap.$xor(LeoObject other) |
LeoObject |
LeoLong.$xor(LeoObject other) |
LeoObject |
LeoInteger.$xor(LeoObject other) |
LeoObject |
LeoDouble.$xor(LeoObject other) |
LeoObject |
LeoClass.$xor(LeoObject other) |
LeoObject |
LeoBoolean.$xor(LeoObject other) |
LeoObject |
LeoArray.$xor(LeoObject other) |
LeoObject |
LeoObject.$xor(long other) |
LeoObject |
LeoLong.$xor(long other) |
LeoObject |
LeoInteger.$xor(long other) |
LeoObject |
LeoDouble.$xor(long other) |
LeoObject |
LeoUserFunction.call() |
LeoObject |
LeoObject.call()
Invokes the function
|
LeoObject |
LeoNativeFunction.call() |
LeoObject |
LeoFunction.call() |
LeoObject |
LeoUserFunction.call(LeoObject arg1) |
LeoObject |
LeoObject.call(LeoObject arg1)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1) |
LeoObject |
LeoFunction.call(LeoObject arg1) |
LeoObject |
LeoUserFunction.call(LeoObject[] args) |
LeoObject |
LeoObject.call(LeoObject[] args)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject[] args) |
LeoObject |
LeoFunction.call(LeoObject[] args) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
LeoObject |
LeoClass.Metaclass.className() |
LeoObject |
LeoUserFunction.clone() |
LeoObject |
LeoString.clone() |
abstract LeoObject |
LeoObject.clone() |
LeoObject |
LeoNull.clone() |
LeoObject |
LeoNativeFunction.clone() |
LeoObject |
LeoNativeClass.clone() |
LeoObject |
LeoNamespace.clone() |
LeoObject |
LeoMap.clone() |
LeoObject |
LeoLong.clone() |
LeoObject |
LeoInteger.clone() |
LeoObject |
LeoGenerator.clone() |
LeoObject |
LeoFunction.clone() |
LeoObject |
LeoError.clone() |
LeoObject |
LeoDouble.clone() |
LeoObject |
LeoClass.clone() |
LeoObject |
LeoBoolean.clone() |
LeoObject |
LeoArray.clone() |
LeoObject |
LeoArray.first() |
LeoObject |
LeoString.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoMap.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoGenerator.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoArray.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoArray.get(int i)
Gets an element
|
LeoObject |
LeoMap.get(Object key) |
LeoObject |
LeoMap.getByString(String key)
Retrieves by key (a java
String ) |
LeoObject |
LeoClass.getClassName() |
LeoObject |
LeoMap.getKey(int index) |
LeoObject[] |
LeoObject.getLocals() |
LeoObject[] |
LeoGenerator.getLocals() |
LeoObject |
LeoNativeClass.getMember(LeoObject member)
Attempt to retrieve a native member of the supplied Java class.
|
LeoObject |
LeoError.getMessage() |
LeoObject |
LeoNativeFunction.getMethodName() |
LeoObject |
LeoNamespace.getName() |
protected static LeoObject |
LeoObject.getNativeMember(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods or fields from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
LeoObject |
LeoString.getObject(LeoObject key) |
LeoObject |
LeoScopedObject.getObject(LeoObject key) |
LeoObject |
LeoObject.getObject(LeoObject key)
Retrieves a property from this object.
|
LeoObject |
LeoNativeClass.getObject(LeoObject key) |
LeoObject |
LeoMap.getObject(LeoObject key) |
LeoObject |
LeoArray.getObject(LeoObject key) |
LeoObject |
LeoObject.getObject(String key)
Retrieves a property from this object.
|
LeoObject[] |
LeoClass.getParamNames() |
LeoObject |
LeoScopedObject.getProperty(LeoObject member)
Attempts to look up the data member with the supplied name.
|
LeoObject[] |
LeoArray.getRawArray() |
LeoObject |
LeoClass.getSuperClass() |
LeoObject |
LeoMap.getValue(int index) |
LeoObject |
LeoMap.getWithJNull(LeoObject key)
Returns the value associated with the key.
|
protected LeoObject |
LeoMap.hashget(LeoObject key) |
protected LeoObject |
LeoMap.hashset(LeoObject key,
LeoObject value)
Set a hashtable value
|
LeoObject |
LeoArray.last() |
protected LeoObject |
LeoScopedObject.lazyGetProperty(LeoObject member,
Map<String,Method> methods) |
LeoObject |
LeoNativeFunction.nativeCall(LeoObject... args)
Invokes the native function using Java reflection.
|
protected LeoObject |
LeoMap.nextKey(LeoObject key) |
protected LeoObject |
LeoMap.nextValue(LeoObject key) |
LeoObject |
LeoArray.peek() |
LeoObject |
LeoArray.pop() |
LeoObject |
LeoMap.put(LeoObject key,
LeoObject value) |
LeoObject |
LeoMap.putByString(String key,
LeoObject value)
Converts the Java String into a
LeoString |
static LeoObject |
LeoObject.read(LeoObject env,
DataInput in)
|
LeoObject |
LeoGenerator.reduce(LeoObject function)
Reduces all of the elements in this generator into one value.
|
LeoObject |
LeoArray.reduce(LeoObject function)
Reduces all of the elements in this array into one value.
|
LeoObject |
LeoArray.remove(int index) |
LeoObject |
LeoMap.remove(Object key) |
LeoObject |
LeoMap.removeByString(String key)
Removes by key (a java String)
|
LeoObject |
LeoArray.rest()
Truncates the first element and returns the rest of the array.
|
LeoObject |
LeoArray.reverse() |
LeoObject |
LeoArray.set(int index,
LeoObject obj)
Sets an element
|
LeoObject |
LeoClass.Metaclass.superClass() |
LeoObject |
LeoObject.throwIfError()
Throws a
LeolaRuntimeException if this is a LeoError instance |
LeoObject[] |
LeoArray.toArray() |
static LeoObject |
LeoObject.valueOf(Object v)
Converts the supplied Java object into the appropriate
LeoObject type. |
LeoObject |
LeoObject.xcall()
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject[] args)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
This is the equivalent of:
|
LeoObject |
LeoString.xgetObject(LeoObject key) |
LeoObject |
LeoScopedObject.xgetObject(LeoObject key) |
LeoObject |
LeoObject.xgetObject(LeoObject key)
Similar to
getObject(LeoObject) in every way, with the exception that
this will throw a LeolaRuntimeException is the attribute is not found. |
LeoObject |
LeoNativeClass.xgetObject(LeoObject key) |
LeoObject |
LeoMap.xgetObject(LeoObject key) |
LeoObject |
LeoArray.xgetObject(LeoObject key) |
LeoObject |
LeoObject.xgetObject(String key)
Similar to
getObject(String) in every way, with the exception that
this will throw a LeolaRuntimeException is the attribute is not found. |
LeoObject |
LeoScopedObject.xgetProperty(LeoObject member)
Attempts to look up the data member with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<LeoObject,LeoObject>> |
LeoMap.entrySet() |
Set<Map.Entry<LeoObject,LeoObject>> |
LeoMap.entrySet() |
List<LeoObject> |
LeoArray.getArray() |
Map<LeoObject,LeoObject> |
LeoMap.getMap() |
Map<LeoObject,LeoObject> |
LeoMap.getMap() |
Iterator<LeoObject> |
LeoArray.iterator() |
Set<LeoObject> |
LeoMap.keySet() |
ListIterator<LeoObject> |
LeoArray.listIterator() |
ListIterator<LeoObject> |
LeoArray.listIterator(int index) |
List<LeoObject> |
LeoArray.subList(int fromIndex,
int toIndex) |
Collection<LeoObject> |
LeoMap.values() |
Modifier and Type | Method and Description |
---|---|
void |
LeoString._for(int start,
int end,
LeoObject function)
Iterates through the string, invoking the supplied
function object for each element.
|
void |
LeoArray._for(int startIndex,
int endIndex,
LeoObject function)
Iterates through the array given the supplied bounds
|
LeoObject |
LeoString.$add(LeoObject other) |
LeoObject |
LeoObject.$add(LeoObject other) |
LeoObject |
LeoNativeClass.$add(LeoObject other) |
LeoObject |
LeoNamespace.$add(LeoObject other) |
LeoObject |
LeoMap.$add(LeoObject other) |
LeoObject |
LeoLong.$add(LeoObject other) |
LeoObject |
LeoInteger.$add(LeoObject other) |
LeoObject |
LeoFunction.$add(LeoObject other) |
LeoObject |
LeoDouble.$add(LeoObject other) |
LeoObject |
LeoClass.$add(LeoObject other) |
LeoObject |
LeoBoolean.$add(LeoObject other) |
LeoObject |
LeoArray.$add(LeoObject obj)
Adds an object
|
LeoObject |
LeoObject.$band(LeoObject other) |
LeoObject |
LeoLong.$band(LeoObject other) |
LeoObject |
LeoInteger.$band(LeoObject other) |
LeoObject |
LeoDouble.$band(LeoObject other) |
LeoObject |
LeoClass.$band(LeoObject other) |
LeoObject |
LeoBoolean.$band(LeoObject other) |
LeoObject |
LeoObject.$bor(LeoObject other) |
LeoObject |
LeoLong.$bor(LeoObject other) |
LeoObject |
LeoInteger.$bor(LeoObject other) |
LeoObject |
LeoDouble.$bor(LeoObject other) |
LeoObject |
LeoClass.$bor(LeoObject other) |
LeoObject |
LeoBoolean.$bor(LeoObject other) |
LeoObject |
LeoObject.$bsl(LeoObject other) |
LeoObject |
LeoLong.$bsl(LeoObject other) |
LeoObject |
LeoInteger.$bsl(LeoObject other) |
LeoObject |
LeoDouble.$bsl(LeoObject other) |
LeoObject |
LeoClass.$bsl(LeoObject other) |
LeoObject |
LeoArray.$bsl(LeoObject other) |
LeoObject |
LeoObject.$bsr(LeoObject other) |
LeoObject |
LeoLong.$bsr(LeoObject other) |
LeoObject |
LeoInteger.$bsr(LeoObject other) |
LeoObject |
LeoDouble.$bsr(LeoObject other) |
LeoObject |
LeoClass.$bsr(LeoObject other) |
LeoObject |
LeoArray.$bsr(LeoObject other) |
LeoObject |
LeoObject.$div(LeoObject other) |
LeoObject |
LeoLong.$div(LeoObject other) |
LeoObject |
LeoInteger.$div(LeoObject other) |
LeoObject |
LeoDouble.$div(LeoObject other) |
LeoObject |
LeoClass.$div(LeoObject other) |
boolean |
LeoUserFunction.$eq(LeoObject other) |
boolean |
LeoString.$eq(LeoObject other) |
boolean |
LeoScopedObject.$eq(LeoObject other) |
abstract boolean |
LeoObject.$eq(LeoObject other)
Determines if it equals another object.
|
boolean |
LeoNull.$eq(LeoObject other) |
boolean |
LeoNativeFunction.$eq(LeoObject other) |
boolean |
LeoNativeClass.$eq(LeoObject other) |
boolean |
LeoNamespace.$eq(LeoObject other) |
boolean |
LeoMap.$eq(LeoObject val) |
boolean |
LeoLong.$eq(LeoObject other) |
boolean |
LeoInteger.$eq(LeoObject other) |
boolean |
LeoFunction.$eq(LeoObject other) |
boolean |
LeoError.$eq(LeoObject other) |
boolean |
LeoDouble.$eq(LeoObject other) |
boolean |
LeoClass.$eq(LeoObject other) |
boolean |
LeoBoolean.$eq(LeoObject other) |
boolean |
LeoArray.$eq(LeoObject other) |
static boolean |
LeoObject.$eq(LeoObject left,
LeoObject right)
Determines if the two objects are equal.
|
boolean |
LeoUserFunction.$gt(LeoObject other) |
boolean |
LeoString.$gt(LeoObject other) |
abstract boolean |
LeoObject.$gt(LeoObject other)
If it's greater than to another object
|
boolean |
LeoNull.$gt(LeoObject other) |
boolean |
LeoNativeFunction.$gt(LeoObject other) |
boolean |
LeoNativeClass.$gt(LeoObject other) |
boolean |
LeoNamespace.$gt(LeoObject other) |
boolean |
LeoMap.$gt(LeoObject other) |
boolean |
LeoLong.$gt(LeoObject other) |
boolean |
LeoInteger.$gt(LeoObject other) |
boolean |
LeoFunction.$gt(LeoObject other) |
boolean |
LeoError.$gt(LeoObject other) |
boolean |
LeoDouble.$gt(LeoObject other) |
boolean |
LeoClass.$gt(LeoObject other) |
boolean |
LeoBoolean.$gt(LeoObject other) |
boolean |
LeoArray.$gt(LeoObject other) |
boolean |
LeoString.$gte(LeoObject other) |
boolean |
LeoObject.$gte(LeoObject other)
If it's greater than or equal to another object.
|
boolean |
LeoLong.$gte(LeoObject other) |
boolean |
LeoInteger.$gte(LeoObject other) |
boolean |
LeoDouble.$gte(LeoObject other) |
boolean |
LeoClass.$gte(LeoObject other) |
LeoObject |
LeoString.$index(LeoObject other) |
LeoObject |
LeoObject.$index(LeoObject other) |
LeoObject |
LeoNativeClass.$index(LeoObject other) |
LeoObject |
LeoMap.$index(LeoObject other) |
LeoObject |
LeoClass.$index(LeoObject key) |
LeoObject |
LeoArray.$index(LeoObject other) |
boolean |
LeoUserFunction.$lt(LeoObject other) |
boolean |
LeoString.$lt(LeoObject other) |
abstract boolean |
LeoObject.$lt(LeoObject other)
If it's less than to another object
|
boolean |
LeoNull.$lt(LeoObject other) |
boolean |
LeoNativeFunction.$lt(LeoObject other) |
boolean |
LeoNativeClass.$lt(LeoObject other) |
boolean |
LeoNamespace.$lt(LeoObject other) |
boolean |
LeoMap.$lt(LeoObject other) |
boolean |
LeoLong.$lt(LeoObject other) |
boolean |
LeoInteger.$lt(LeoObject other) |
boolean |
LeoFunction.$lt(LeoObject other) |
boolean |
LeoError.$lt(LeoObject other) |
boolean |
LeoDouble.$lt(LeoObject other) |
boolean |
LeoClass.$lt(LeoObject other) |
boolean |
LeoBoolean.$lt(LeoObject other) |
boolean |
LeoArray.$lt(LeoObject other) |
boolean |
LeoString.$lte(LeoObject other) |
boolean |
LeoObject.$lte(LeoObject other)
If it's less than or equal to another object.
|
boolean |
LeoLong.$lte(LeoObject other) |
boolean |
LeoInteger.$lte(LeoObject other) |
boolean |
LeoDouble.$lte(LeoObject other) |
boolean |
LeoClass.$lte(LeoObject other) |
LeoObject |
LeoObject.$mod(LeoObject other) |
LeoObject |
LeoLong.$mod(LeoObject other) |
LeoObject |
LeoInteger.$mod(LeoObject other) |
LeoObject |
LeoDouble.$mod(LeoObject other) |
LeoObject |
LeoClass.$mod(LeoObject other) |
LeoObject |
LeoObject.$mul(LeoObject other) |
LeoObject |
LeoLong.$mul(LeoObject other) |
LeoObject |
LeoInteger.$mul(LeoObject other) |
LeoObject |
LeoDouble.$mul(LeoObject other) |
LeoObject |
LeoClass.$mul(LeoObject other) |
boolean |
LeoObject.$neq(LeoObject other)
If it's not equal another object.
|
boolean |
LeoClass.$neq(LeoObject other) |
boolean |
LeoArray.$neq(LeoObject other) |
boolean |
LeoObject.$req(LeoObject other)
Tests if the references are the same.
|
boolean |
LeoNativeClass.$req(LeoObject other) |
void |
LeoString.$sindex(LeoObject key,
LeoObject other) |
void |
LeoObject.$sindex(LeoObject key,
LeoObject other) |
void |
LeoNativeClass.$sindex(LeoObject key,
LeoObject other) |
void |
LeoMap.$sindex(LeoObject key,
LeoObject value) |
void |
LeoClass.$sindex(LeoObject key,
LeoObject value) |
void |
LeoArray.$sindex(LeoObject key,
LeoObject other) |
LeoObject |
LeoString.$sub(LeoObject other) |
LeoObject |
LeoObject.$sub(LeoObject other) |
LeoObject |
LeoLong.$sub(LeoObject other) |
LeoObject |
LeoInteger.$sub(LeoObject other) |
LeoObject |
LeoDouble.$sub(LeoObject other) |
LeoObject |
LeoClass.$sub(LeoObject other) |
LeoObject |
LeoArray.$sub(LeoObject other) |
LeoObject |
LeoObject.$xor(LeoObject other) |
LeoObject |
LeoMap.$xor(LeoObject other) |
LeoObject |
LeoLong.$xor(LeoObject other) |
LeoObject |
LeoInteger.$xor(LeoObject other) |
LeoObject |
LeoDouble.$xor(LeoObject other) |
LeoObject |
LeoClass.$xor(LeoObject other) |
LeoObject |
LeoBoolean.$xor(LeoObject other) |
LeoObject |
LeoArray.$xor(LeoObject other) |
void |
LeoArray.add(int index,
LeoObject element) |
boolean |
LeoArray.add(LeoObject e) |
void |
LeoArray.addAll(LeoObject other) |
void |
LeoScopedObject.addProperty(LeoObject member,
LeoObject property)
Adds a data member to this
LeoScopedObject |
LeoString |
LeoString.append(LeoObject v)
Appends to this string.
|
static <T extends LeoObject> |
LeoObject.as(LeoObject obj)
Up Casts the supplied
LeoObject |
LeoObject |
LeoUserFunction.call(LeoObject arg1) |
LeoObject |
LeoObject.call(LeoObject arg1)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1) |
LeoObject |
LeoFunction.call(LeoObject arg1) |
LeoObject |
LeoUserFunction.call(LeoObject[] args) |
LeoObject |
LeoObject.call(LeoObject[] args)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject[] args) |
LeoObject |
LeoFunction.call(LeoObject[] args) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4) |
LeoObject |
LeoUserFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
LeoObject |
LeoObject.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
Invokes the function
|
LeoObject |
LeoNativeFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
LeoObject |
LeoFunction.call(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5) |
int |
LeoObject.compareTo(LeoObject other) |
boolean |
LeoString.contains(LeoObject v)
Determines if this string contains the supplied string (v)
|
boolean |
LeoString.endsWith(LeoObject v) |
LeoArray |
LeoArray.fill(LeoObject function)
Iterates through the array invoking the call back filling the
array
|
LeoString |
LeoString.filter(LeoObject function)
Returns a sequence consisting of those items from the sequence for which function(item) is true
|
LeoMap |
LeoMap.filter(LeoObject function)
Filters the
LeoArray |
LeoArray |
LeoGenerator.filter(LeoObject function)
Returns a sequence consisting of those items from the generator for which function(item) is true
|
LeoArray |
LeoArray.filter(LeoObject function)
Filters the
LeoArray |
LeoObject |
LeoString.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoMap.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoGenerator.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoArray.foreach(LeoObject function)
Iterates through the array, invoking the supplied
function object for each element
|
LeoObject |
LeoNativeClass.getMember(LeoObject member)
Attempt to retrieve a native member of the supplied Java class.
|
protected static LeoObject |
LeoObject.getNativeMember(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods or fields from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
LeoObject |
LeoString.getObject(LeoObject key) |
LeoObject |
LeoScopedObject.getObject(LeoObject key) |
LeoObject |
LeoObject.getObject(LeoObject key)
Retrieves a property from this object.
|
LeoObject |
LeoNativeClass.getObject(LeoObject key) |
LeoObject |
LeoMap.getObject(LeoObject key) |
LeoObject |
LeoArray.getObject(LeoObject key) |
LeoObject |
LeoScopedObject.getProperty(LeoObject member)
Attempts to look up the data member with the supplied name.
|
LeoObject |
LeoMap.getWithJNull(LeoObject key)
Returns the value associated with the key.
|
boolean |
LeoMap.has(LeoObject key)
Determines if the supplied key is contained in the
LeoMap |
boolean |
LeoArray.has(LeoObject value) |
protected int |
LeoMap.hashFindSlot(LeoObject key)
Find the hashtable slot to use
|
protected LeoObject |
LeoMap.hashget(LeoObject key) |
protected LeoObject |
LeoMap.hashset(LeoObject key,
LeoObject value)
Set a hashtable value
|
protected static boolean |
LeoObject.hasNativeMethod(Class<?> aClass,
LeoObject methodName)
Determines if the supplied class has a method by the supplied method name.
|
protected static boolean |
LeoObject.hasNativeMethod(Object owner,
LeoObject methodName)
Determines if the supplied owner has a method by the supplied method name.
|
boolean |
LeoString.hasObject(LeoObject key) |
boolean |
LeoScopedObject.hasObject(LeoObject key) |
boolean |
LeoObject.hasObject(LeoObject key)
Determines if the supplied key has an associated value
|
boolean |
LeoNativeClass.hasObject(LeoObject key) |
boolean |
LeoMap.hasObject(LeoObject key) |
boolean |
LeoArray.hasObject(LeoObject key) |
boolean |
LeoScopedObject.hasProperty(LeoObject member)
Determines if a data member exists in this
Scope or parent scopes |
boolean |
LeoMap.hasValue(LeoObject value)
Determines if the supplied value is contained in the
LeoMap |
LeoArray |
LeoString.indexesOf(LeoObject v)
Retrieves all of the indexes where 'v' is found in this string.
|
int |
LeoString.indexOf(LeoObject v)
The index of the supplied string
|
LeoString |
LeoString.insert(int position,
LeoObject v)
inserts a string into the supplied position.
|
static boolean |
LeoObject.isTrue(LeoObject obj)
Determines if the supplied object is of type TRUE.
|
protected LeoObject |
LeoScopedObject.lazyGetProperty(LeoObject member,
Map<String,Method> methods) |
LeoString |
LeoString.map(LeoObject function)
Maps the supplied function to each element in the string.
|
LeoMap |
LeoMap.map(LeoObject function)
Maps the supplied function to each element in the array.
|
LeoArray |
LeoGenerator.map(LeoObject function)
Applies a function to each generator iteration.
|
LeoArray |
LeoArray.map(LeoObject function)
Maps the supplied function to each element in the array.
|
LeoObject |
LeoNativeFunction.nativeCall(LeoObject... args)
Invokes the native function using Java reflection.
|
static LeoArray |
LeoArray.newLeoArray(LeoObject... leoObjects)
Converts the raw array to a
LeoArray |
protected int |
LeoMap.nexti(LeoObject key) |
protected LeoObject |
LeoMap.nextKey(LeoObject key) |
protected LeoObject |
LeoMap.nextValue(LeoObject key) |
void |
LeoArray.push(LeoObject obj)
Adds an object to the array
|
LeoObject |
LeoMap.put(LeoObject key,
LeoObject value) |
void |
LeoMap.putAllEntries(LeoObject obj) |
LeoObject |
LeoMap.putByString(String key,
LeoObject value)
Converts the Java String into a
LeoString |
void |
LeoScopedObject.putObject(LeoObject reference,
LeoObject value)
Places the data member in this scope.
|
void |
LeoScopedObject.putObject(String reference,
LeoObject value)
Places the data member in this scope.
|
protected void |
LeoMap.rawset(LeoObject key,
LeoObject value)
caller must ensure key is not nil
|
static LeoGenerator |
LeoGenerator.read(Leola runtime,
LeoObject env,
DataInput in)
|
static LeoFunction |
LeoFunction.read(Leola runtime,
LeoObject env,
DataInput in)
|
static LeoObject |
LeoObject.read(LeoObject env,
DataInput in)
|
static LeoMap |
LeoMap.read(LeoObject env,
DataInput in)
|
static LeoError |
LeoError.read(LeoObject env,
DataInput in)
|
static LeoBoolean |
LeoBoolean.read(LeoObject env,
DataInput in)
|
static LeoArray |
LeoArray.read(LeoObject env,
DataInput in)
|
LeoObject |
LeoGenerator.reduce(LeoObject function)
Reduces all of the elements in this generator into one value.
|
LeoObject |
LeoArray.reduce(LeoObject function)
Reduces all of the elements in this array into one value.
|
boolean |
LeoArray.remove(LeoObject obj)
Removes an object.
|
void |
LeoArray.removeAll(LeoObject other) |
void |
LeoMap.removeAllEntries(LeoObject obj) |
void |
LeoScopedObject.removeProperty(LeoObject member)
Removes the data member from this
LeoScopedObject |
LeoString |
LeoString.replace(int start,
int end,
LeoObject v)
Replaces a portion of the string.
|
LeoString |
LeoString.replaceAll(LeoObject replaceMe,
LeoObject v)
Replaces all occurrences of the supplied string.
|
LeoObject |
LeoArray.set(int index,
LeoObject obj)
Sets an element
|
void |
LeoMap.set(LeoObject key,
LeoObject value)
caller must ensure key is not nil
|
void |
LeoArray.set(LeoObject index,
LeoObject obj)
Sets the element at the provided index
|
void |
LeoNativeClass.setMember(LeoObject member,
LeoObject value)
Attempts to set the Java objects field.
|
void |
LeoString.setObject(LeoObject key,
LeoObject value) |
void |
LeoScopedObject.setObject(LeoObject key,
LeoObject value) |
void |
LeoObject.setObject(LeoObject key,
LeoObject value)
Sets a property on this object.
|
void |
LeoNativeClass.setObject(LeoObject key,
LeoObject value) |
void |
LeoMap.setObject(LeoObject key,
LeoObject value) |
void |
LeoArray.setObject(LeoObject key,
LeoObject value) |
void |
LeoObject.setObject(String key,
LeoObject value)
Sets a property on this object.
|
LeoArray |
LeoArray.sort(LeoObject function)
Sorts the Array, it sorts it in place (meaning this will not allocate
a new array, but rather sort this instance of the array).
|
LeoArray |
LeoString.split(LeoObject v)
Splits the string by the regex
|
boolean |
LeoString.startsWith(LeoObject v) |
static void |
LeoObject.throwAttributeAccessError(Class<?> ownerClass,
LeoObject name)
Throws a
LeolaRuntimeException denoting an AttributeAccessError, stating that a requested attribute
could not be accessed in the owned scope and/or class. |
static void |
LeoObject.throwAttributeError(Class<?> ownerClass,
LeoObject name)
Throws a
LeolaRuntimeException denoting an AttributeError, stating that a requested attribute
does not exist in the owned scope and/or class. |
void |
LeoObject.throwAttributeError(LeoObject name)
Throws a
LeolaRuntimeException denoting an AttributeError, stating that a requested attribute
does not exist in the owned scope. |
static Object |
LeoObject.toJavaObject(Class<?> jtype,
LeoObject v)
Attempts to convert the supplied
LeoObject into the equivalent Java Object using
the supplied Class as a hint. |
LeoObject |
LeoObject.xcall(LeoObject arg1)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject[] args)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4)
This is the equivalent of:
|
LeoObject |
LeoObject.xcall(LeoObject arg1,
LeoObject arg2,
LeoObject arg3,
LeoObject arg4,
LeoObject arg5)
This is the equivalent of:
|
LeoObject |
LeoString.xgetObject(LeoObject key) |
LeoObject |
LeoScopedObject.xgetObject(LeoObject key) |
LeoObject |
LeoObject.xgetObject(LeoObject key)
Similar to
getObject(LeoObject) in every way, with the exception that
this will throw a LeolaRuntimeException is the attribute is not found. |
LeoObject |
LeoNativeClass.xgetObject(LeoObject key) |
LeoObject |
LeoMap.xgetObject(LeoObject key) |
LeoObject |
LeoArray.xgetObject(LeoObject key) |
LeoObject |
LeoScopedObject.xgetProperty(LeoObject member)
Attempts to look up the data member with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LeoArray.addAll(Collection<? extends LeoObject> c) |
boolean |
LeoArray.addAll(int index,
Collection<? extends LeoObject> c) |
protected static LeoObject |
LeoObject.getNativeMember(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods or fields from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMember(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods or fields from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Class<?> ownerClass,
Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
protected static LeoObject |
LeoObject.getNativeMethod(Object owner,
Map<LeoObject,LeoObject> nativeApi,
LeoObject key)
Retrieve the native methods from the owner public method listings.
|
void |
LeoMap.putAll(Map<? extends LeoObject,? extends LeoObject> m) |
void |
LeoMap.putAll(Map<? extends LeoObject,? extends LeoObject> m) |
Constructor and Description |
---|
LeoArray(LeoObject[] a) |
LeoArray(LeoObject[] a,
int size) |
LeoClass(Leola runtime,
Scope scope,
ClassDefinition classDefinition,
LeoObject superClass,
LeoObject[] params) |
LeoClass(Leola runtime,
Scope scope,
ClassDefinition classDefinition,
LeoObject superClass,
LeoObject[] params) |
LeoError(LeoObject message) |
LeoError(LeoObject message,
int lineNumber) |
LeoFunction(Leola runtime,
LeoObject.LeoType type,
LeoObject env,
Bytecode bytecode) |
LeoFunction(Leola runtime,
LeoObject env,
Bytecode bytecode) |
LeoGenerator(Leola runtime,
LeoObject env,
Bytecode bytecode) |
LeoNamespace(Leola runtime,
Bytecode code,
Scope scope,
LeoObject name) |
LeoNamespace(Scope scope,
LeoObject name) |
Constructor and Description |
---|
LeoArray(List<LeoObject> array) |
LeoMap(Map<LeoObject,LeoObject> map) |
LeoMap(Map<LeoObject,LeoObject> map) |
Modifier and Type | Field and Description |
---|---|
static LeoObject[] |
ArrayUtil.EMPTY_LEOOBJECTS |
Modifier and Type | Method and Description |
---|---|
static LeoObject |
LeoTypeConverter.convertToLeolaType(Object javaObj)
Converts the supplied java object into a
LeoObject . |
static LeoObject[] |
ArrayUtil.newLeoObjectArray() |
static LeoObject[] |
ArrayUtil.resize(LeoObject[] array,
int len) |
Modifier and Type | Method and Description |
---|---|
static Object |
LeoTypeConverter.convertLeoObjectToJavaObj(Class<?> type,
LeoObject obj)
Convert to the specified type.
|
static Object |
ClassUtil.invokeMethod(List<Method> overloads,
Object instance,
LeoObject[] args)
Attempts to find the best matching overloaded
Method . |
static Object |
ClassUtil.invokeMethod(Method method,
Object owner,
LeoObject[] params)
Invokes the supplied method.
|
static LeoNativeClass |
ClassUtil.newNativeInstance(String className,
LeoObject... params)
Creates a new
LeoNativeClass based off of the Java fully qualified name and supplied parameters. |
static LeoObject[] |
ArrayUtil.resize(LeoObject[] array,
int len) |
Copyright © 2010–2015. All rights reserved.