Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

call(String, Object...) - Method in class com.blackrook.rookscript.ScriptInstance
Initializes the script with an entry point and parameters and calls ScriptInstance.update() to execute it.
call(String, Object...) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
Creates the instance using the set components, then calls an entry point with a set of parameters.
CALL - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
Call function.
CALL_HOST - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
Call host function.
CALL_HOST_NAMESPACE - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
Call a namespaced host function.
callAndReturnAs(Class<T>, String, Object...) - Method in class com.blackrook.rookscript.ScriptInstance
Initializes the script with an entry point and parameters and calls ScriptInstance.update() to execute it, then gets the return value off the stack converted to a provided type.
callAndReturnAs(Class<T>, String, Object...) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
Creates the instance using the set components, then calls an entry point with a set of parameters.
CEILING - Enum constant in enum class com.blackrook.rookscript.functions.MathFunctions
 
CHECK_ERROR - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
If the stack top is an error, jump to label.
CLAMP - Enum constant in enum class com.blackrook.rookscript.functions.MathFunctions
 
clampValue(double, double, double) - Static method in class com.blackrook.rookscript.struct.Utils
Coerces a double to the range bounded by lo and hi.
ClassMemberFunctionResolver<C> - Class in com.blackrook.rookscript.resolvers.hostfunction
A function resolver that wraps individual constructors, fields, or functions.
ClassMemberFunctionResolver(Class<C>) - Constructor for class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
Creates a class function resolver.
clear() - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
Removes all resolvers (and all namespaced ones).
clear() - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
Removes all resolvers (and all namespaced ones).
clear() - Method in class com.blackrook.rookscript.resolvers.scope.DefaultScopeResolver
Clears this scope resolver of all added scope mappings.
clear() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver.Entry
 
clear() - Method in class com.blackrook.rookscript.resolvers.variable.DefaultVariableResolver
Clears the scope.
clearCurrentLexeme() - Method in class com.blackrook.rookscript.struct.Lexer
Clears the current token lexeme buffer.
clearStackValues() - Method in class com.blackrook.rookscript.ScriptInstance
Clears the value stack.
clearStackValues() - Method in class com.blackrook.rookscript.ScriptInstanceStack
Clears the value stack.
clearStackValuesFromDepth(int) - Method in class com.blackrook.rookscript.ScriptInstanceStack
Nullifies values from an arbitrary index in the stack down to the current top of the stack (but not the current top).
clearValue(String) - Method in class com.blackrook.rookscript.resolvers.variable.DefaultVariableResolver
Removes a value by variable name.
close() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack.Stream
 
close(AutoCloseable) - Static method in class com.blackrook.rookscript.struct.Utils
Attempts to close an AutoCloseable object.
CLOSE - Enum constant in enum class com.blackrook.rookscript.functions.common.MiscFunctions
 
closeableIsRegistered(AutoCloseable) - Method in class com.blackrook.rookscript.ScriptInstance
Checks if a closeable resource is registered on this instance.
closeAllCloseables() - Method in class com.blackrook.rookscript.ScriptInstance
Unregisters and closes all closeable resources that are registered on this instance.
COLOR - Enum constant in enum class com.blackrook.rookscript.functions.MathFunctions
 
COLORF - Enum constant in enum class com.blackrook.rookscript.functions.MathFunctions
 
com.blackrook.rookscript - package com.blackrook.rookscript
Contains scripting components for the scripting language.
com.blackrook.rookscript.annotations - package com.blackrook.rookscript.annotations
Contains annotations for object conversion and other stuff.
com.blackrook.rookscript.compiler - package com.blackrook.rookscript.compiler
Contains all of the compiler stuff for script creation/disassembly.
com.blackrook.rookscript.exception - package com.blackrook.rookscript.exception
Contains script system exceptions.
com.blackrook.rookscript.functions - package com.blackrook.rookscript.functions
Contains premade script functions.
com.blackrook.rookscript.functions.common - package com.blackrook.rookscript.functions.common
Contains the common script functions.
com.blackrook.rookscript.functions.io - package com.blackrook.rookscript.functions.io
Contains the common I/O script functions.
com.blackrook.rookscript.lang - package com.blackrook.rookscript.lang
Contains VM specific structures.
com.blackrook.rookscript.resolvers - package com.blackrook.rookscript.resolvers
Contains various resolver implementations.
com.blackrook.rookscript.resolvers.hostfunction - package com.blackrook.rookscript.resolvers.hostfunction
Contains host function resolvers.
com.blackrook.rookscript.resolvers.scope - package com.blackrook.rookscript.resolvers.scope
Contains script scope resolvers.
com.blackrook.rookscript.resolvers.variable - package com.blackrook.rookscript.resolvers.variable
Contains script variable resolvers.
com.blackrook.rookscript.struct - package com.blackrook.rookscript.struct
Additional helper data structures and methods.
com.blackrook.rookscript.tools - package com.blackrook.rookscript.tools
This package contains some user tools.
CommonFunctions - Class in com.blackrook.rookscript.functions
RookScript common functions.
compareTo(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
 
CompoundFunctionResolver - Class in com.blackrook.rookscript.resolvers.hostfunction
A host function resolver that is a combination of multiple resolvers.
CompoundFunctionResolver() - Constructor for class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
Creates a new MultiHostFunctionResolver.
CompoundHostFunctionResolver - Class in com.blackrook.rookscript.resolvers.hostfunction
A host function resolver that is a combination of multiple resolvers.
CompoundHostFunctionResolver() - Constructor for class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
Creates a new CompoundHostFunctionResolver.
construct(Constructor<T>, Object...) - Static method in class com.blackrook.rookscript.struct.Utils
Creates a new instance of a class from a class type.
containsFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
 
containsFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
 
containsFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.EnumFunctionResolver
 
containsFunction(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptFunctionResolver
Attempts to find if this resolver has a function by its calling name.
containsNamespacedFunction(String, String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
 
containsNamespacedFunction(String, String) - Method in interface com.blackrook.rookscript.resolvers.ScriptHostFunctionResolver
Attempts to find if this resolver has a function by its calling name and namespace.
containsScope(String) - Method in class com.blackrook.rookscript.resolvers.scope.DefaultScopeResolver
 
containsScope(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptScopeResolver
Checks if this contains a scope by its scope name.
containsValue(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
Checks if this contains a value by its variable name.
containsValue(String) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
 
containsValue(String) - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
 
COS - Enum constant in enum class com.blackrook.rookscript.functions.MathFunctions
 
CountMap<T> - Class in com.blackrook.rookscript.struct
A special HashMap that increments or decrements a value.
CountMap() - Constructor for class com.blackrook.rookscript.struct.CountMap
Creates a new map with default capacity and load factor.
CountMap(int) - Constructor for class com.blackrook.rookscript.struct.CountMap
Creates a new map with specific capacity and default load factor.
CountMap(int, float) - Constructor for class com.blackrook.rookscript.struct.CountMap
Creates a new map with specific capacity and load factor.
create() - Static method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
 
create() - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link connected to nothing.
create() - Method in class com.blackrook.rookscript.ScriptInstanceFactory
Creates a new instance.
create() - Method in class com.blackrook.rookscript.struct.HashDequeMap
Called to create a new Deque implementation that gets stored in the table.
create(ScriptCommandType) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, boolean) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, double) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, long) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, Integer, boolean) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, Long, boolean) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, Object) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String, boolean) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String, double) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String, long) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String, Object) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptCommandType, String, String) - Static method in class com.blackrook.rookscript.lang.ScriptCommand
Creates a new script directive.
create(ScriptEnvironment) - Method in class com.blackrook.rookscript.ScriptInstanceFactory
Creates a new instance.
create(ScriptValue.Type, Object) - Static method in class com.blackrook.rookscript.ScriptValue
Creates a script value.
create(PrintStream, PrintStream, InputStream) - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link for the standard I/O streams.
create(Class<C>, String, String, String, boolean, boolean) - Static method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
Builds a function resolver from a class, obeying annotations on the class.
create(Class<T>) - Static method in class com.blackrook.rookscript.struct.Utils
Creates a new instance of a class from a class type.
create(Object) - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link for just the host interface object.
create(Object) - Static method in class com.blackrook.rookscript.ScriptValue
Creates a script value.
create(Object, PrintStream, PrintStream, InputStream) - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link connected to a host and standard streams.
create(String, String) - Static method in class com.blackrook.rookscript.ScriptValue.ErrorType
Creates an error value.
create(String, String, String) - Static method in class com.blackrook.rookscript.ScriptValue.ErrorType
Creates an error value.
create(Throwable) - Static method in class com.blackrook.rookscript.ScriptValue.ErrorType
Creates an error value from a Throwable.
createBuilder() - Static method in class com.blackrook.rookscript.ScriptInstance
Returns a new builder for creating a new script instance piece by piece.
CREATED - Enum constant in enum class com.blackrook.rookscript.ScriptInstance.State
Created, not executed yet.
CREATEDIR - Enum constant in enum class com.blackrook.rookscript.functions.FileSystemFunctions
 
CREATEDIRS - Enum constant in enum class com.blackrook.rookscript.functions.FileSystemFunctions
 
createEmptyBuffer(int) - Static method in class com.blackrook.rookscript.ScriptValue
Creates a script value that is an empty buffer.
createEmptyList() - Static method in class com.blackrook.rookscript.ScriptValue
Creates a script value that is an empty list.
createEmptyMap() - Static method in class com.blackrook.rookscript.ScriptValue
Creates a script value that is an empty map.
createError(String, String) - Static method in class com.blackrook.rookscript.ScriptValue
Creates an error value.
createError(String, String, String) - Static method in class com.blackrook.rookscript.ScriptValue
Creates an error value.
createError(Throwable) - Static method in class com.blackrook.rookscript.ScriptValue
Creates an error value from a Throwable.
createFactory() - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
Gets the instance built from the set components.
createForType(Class<T>) - Method in class com.blackrook.rookscript.ScriptValue
Gets this object coerced or converted to another class type.
createForType(Object, Class<T>) - Static method in class com.blackrook.rookscript.struct.Utils
Creates a new instance of an object for placement in a POJO or elsewhere.
createFunctionEntry(String, int, int) - Method in class com.blackrook.rookscript.Script
Creates/sets a command index for a function entry name in the script.
createInstance() - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
Gets the instance built from the set components.
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.BufferFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.ErrorFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.ListFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.MapFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.MiscFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.common.StringFunctions
 
createResolver() - Static method in class com.blackrook.rookscript.functions.CommonFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.DateFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.DigestFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.FileSystemFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.io.DataIOFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.io.FileIOFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
createResolver() - Static method in class com.blackrook.rookscript.functions.IOFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.JSONFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.MathFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.PrintFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.RegexFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.SystemFunctions
 
createResolver() - Static method in enum class com.blackrook.rookscript.functions.ZipFunctions
 
createStandardEnvironment() - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link for the standard I/O streams.
createStandardEnvironment(Object) - Static method in class com.blackrook.rookscript.ScriptEnvironment
Builds an environment link for the standard I/O streams and the host interface object.
CSITERATE - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSREAD - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSREADLN - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSROPEN - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSWOPEN - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSWRITE - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
CSWRITELN - Enum constant in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
 
currentToken() - Method in class com.blackrook.rookscript.struct.Lexer.Parser
Gets the token read from the last Lexer.Parser.nextToken() call.
currentType(int...) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
Attempts to match the type of the current token.
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form