Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolute(ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Absolute calculation.
- ABSOLUTE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Absolute.
- AbstractVariableResolver - Class in com.blackrook.rookscript.resolvers.variable
-
A single, scoped open variable set in which values can be set.
- AbstractVariableResolver(int) - Constructor for class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
-
Creates a variable resolver with a default size.
- AbstractVariableResolver.Entry - Class in com.blackrook.rookscript.resolvers.variable
-
A single entry.
- ACOS - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- add(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Adds an item to the list and expands its size by one.
- add(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Adds an item to the list and expands its size by one.
- add(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Add calculation.
- add(K, V) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Adds a value to the end of a deque.
- ADD - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Add.
- addCaseInsensitiveKeyword(String, int) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a keyword to the Lexer, case-insensitive.
- addCommand(ScriptCommand) - Method in class com.blackrook.rookscript.Script
-
Adds a command directive to the script.
- addCommentDelimiter(String, String) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a comment-starting (and ending) delimiter to this lexer.
- addCommentLineDelimiter(String) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a line comment delimiter to this lexer.
- addConstructor(String, Constructor, boolean) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a constructor to this resolver, using a specific function name for mapping.
- addConstructor(String, Constructor, ScriptValue.Type, boolean) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a constructor to this resolver, using a specific function name for mapping.
- addConstructor(String, Constructor, ScriptValue.Type, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a constructor to this resolver, using a specific function name for mapping.
- addDefine(String, PreprocessorLexer.StringProvider) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Adds a define macro to this lexer.
- addDefine(String, String) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Adds a define macro to this lexer.
- addDelimiter(String, int) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a delimiter to this lexer.
- addErrorMessage(String) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Adds an error message (along with current token info) to the error message list.
- addFirst(K, V) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Adds a value to the beginning of a deque.
- addFunction(ScriptFunctionType) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
-
Adds a script function type.
- addGetterField(String, Field, ScriptValue.Type, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field getter to this resolver, using specific a function name for mapping.
- addGetterField(String, String, ScriptValue.Type, boolean) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field getter to this resolver, using specific a function name for mapping.
- addGetterField(String, String, ScriptValue.Type, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field getter to this resolver, using specific a function name for mapping.
- addKeyword(String, int) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a keyword to the Lexer, case-sensitive.
- addLast(K, V) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Adds a value to the end of a deque.
- addMethod(String, Method, ScriptValue.Type, boolean, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a class method to this resolver, using specific a function name for mapping.
- addMethod(String, String, boolean, boolean) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a class method to this resolver, using specific a function name for mapping.
- addMethod(String, String, boolean, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a class method to this resolver, using specific a function name for mapping.
- addMethod(String, String, ScriptValue.Type, boolean, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a class method to this resolver, using specific a function name for mapping.
- addNamedResolver(String, ScriptFunctionResolver) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
-
Adds a resolver in a namespace.
- addRawStringDelimiter(char, char) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a raw string delimiter to this lexer along with its ending character.
- addResolver(ScriptFunctionResolver) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
-
Adds all of the functions in a single resolver.
- addResolver(ScriptFunctionResolver) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
-
Adds a global resolver.
- addScope(String, ScriptVariableResolver) - Method in class com.blackrook.rookscript.resolvers.scope.DefaultScopeResolver
-
Adds a scope to this scope resolver by name.
- addSetterField(String, Field, boolean, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field setter to this resolver, using specific a function name for mapping.
- addSetterField(String, String, boolean, boolean) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field setter to this resolver, using specific a function name for mapping.
- addSetterField(String, String, boolean, boolean, ScriptFunctionType.Usage) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
-
Adds a field setter to this resolver, using specific a function name for mapping.
- addStringDelimiter(char, char) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Adds a string delimiter to this lexer along with its ending character.
- amount(T) - Method in class com.blackrook.rookscript.struct.CountMap
-
Gets the current value corresponding to the key.
- and(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Bitwise And calculation.
- AND - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Bitwise And.
- andFunctionResolver(ScriptFunctionResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a function resolver to this builder to be used in the script.
- andFunctionResolver(String, ScriptFunctionResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a function resolver to this builder to be used in the script.
- andScope(String, ScriptVariableResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a scope to be used in the script.
- arrayElement(T[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets the element at an index in the array, but returns null if the index is outside of the array bounds.
- arraySwap(T[], int, int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Swaps the contents of two indices of an array.
- asBoolean() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a boolean.
- asByte() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a byte.
- asChar() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a char.
- asDouble() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a double-precision float.
- asFloat() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a float.
- ASIN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- asInt() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as an integer.
- asLong() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a long integer.
- asObject() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as an object.
- asObjectType(Class) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value cast as a different object type.
- asShort() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a short.
- asString() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this value as a string.
- ATAN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
B
- BISOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- BOOLEAN - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- BOSOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- BUFFER - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- BufferFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript buffer functions.
- BUFFILL - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETBYTE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETDOUBLE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETFLOAT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETINT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETLONG - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETORDER - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETPOS - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETSHORT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETSTR - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETUINT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFGETUSHORT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFNEW - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTBYTE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTDOUBLE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTFLOAT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTINT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTLONG - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTSHORT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTSTR - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTUINT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFPUTUSHORT - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFREAD - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFSETORDER - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFSETPOS - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFSETSIZE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFSLICE - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFSTR - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFUNWRAP - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BUFWRAP - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- BuilderException() - Constructor for exception class com.blackrook.rookscript.ScriptInstanceBuilder.BuilderException
- BuilderException(String) - Constructor for exception class com.blackrook.rookscript.ScriptInstanceBuilder.BuilderException
- BuilderException(String, Object...) - Constructor for exception class com.blackrook.rookscript.ScriptInstanceBuilder.BuilderException
- BuilderException(String, Throwable) - Constructor for exception class com.blackrook.rookscript.ScriptInstanceBuilder.BuilderException
- BuilderException(Throwable) - Constructor for exception class com.blackrook.rookscript.ScriptInstanceBuilder.BuilderException
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 com.blackrook.rookscript.lang.ScriptCommandType
-
Call function.
- CALL_HOST - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Call host function.
- CALL_HOST_NAMESPACE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Call a namespaced host function.
- callAndReturnAs(Class, 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, 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 com.blackrook.rookscript.functions.MathFunctions
- changeTokenType(int) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Changes the current token's type to a different type.
- CHECK_ERROR - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
If the stack top is an error, jump to label.
- CLAMP - Enum constant in enum 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) - 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
AutoCloseableobject. - CLOSE - Enum constant in enum 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 com.blackrook.rookscript.functions.MathFunctions
- COLORF - Enum constant in enum 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, 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 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, 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) - 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 com.blackrook.rookscript.ScriptInstance.State
-
Created, not executed yet.
- CREATEDIR - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- CREATEDIRS - Enum constant in enum 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) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets this object coerced or converted to another class type.
- createForType(Object, Class) - 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 com.blackrook.rookscript.functions.common.BufferFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.common.ListFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.common.MapFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.common.MiscFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.common.StringFunctions
- createResolver() - Static method in class com.blackrook.rookscript.functions.CommonFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.DateFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.DigestFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.FileSystemFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- createResolver() - Static method in class com.blackrook.rookscript.functions.IOFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.JSONFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.MathFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.PrintFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.RandomFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.RegexFunctions
- createResolver() - Static method in enum com.blackrook.rookscript.functions.SystemFunctions
- createResolver() - Static method in enum 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 com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSREAD - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSREADLN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSROPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSWOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSWRITE - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- CSWRITELN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- currentLexeme() - Method in class com.blackrook.rookscript.struct.Lexer.Parser
- 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.
- currentType(int...) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Attempts to match the type of the current token.
- currentType(int, int) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Attempts to match the type of the current token.
- currentType(int, int, int) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Attempts to match the type of the current token.
D
- DataIOFunctions - Enum in com.blackrook.rookscript.functions.io
-
Script common functions for generic data I/O.
- DATE - Enum constant in enum com.blackrook.rookscript.functions.DateFunctions
- DATEFORMAT - Enum constant in enum com.blackrook.rookscript.functions.DateFunctions
- DateFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for date/time stuff.
- DEBUG - Static variable in class com.blackrook.rookscript.struct.Lexer
- DEFAULT_ACTIVATION_DEPTH - Static variable in class com.blackrook.rookscript.ScriptInstanceFactory
- DEFAULT_CAPACITY - Static variable in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
-
Default capacity.
- DEFAULT_CAPACITY - Static variable in class com.blackrook.rookscript.resolvers.variable.DefaultVariableResolver
-
Default capacity.
- DEFAULT_INCLUDER - Static variable in class com.blackrook.rookscript.compiler.ScriptReader
-
The singular instance for the default includer.
- DEFAULT_INCLUDER - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
The singular instance for the default includer.
- DEFAULT_OPTIONS - Static variable in class com.blackrook.rookscript.compiler.ScriptReader
-
The singular instance for default options.
- DEFAULT_RUNAWAY_LIMIT - Static variable in class com.blackrook.rookscript.ScriptInstance
- DEFAULT_RUNAWAY_LIMIT - Static variable in class com.blackrook.rookscript.ScriptInstanceFactory
- DEFAULT_STACK_DEPTH - Static variable in class com.blackrook.rookscript.ScriptInstanceFactory
- DefaultScopeResolver - Class in com.blackrook.rookscript.resolvers.scope
-
An single, scoped open variable set in which values can be set.
- DefaultScopeResolver() - Constructor for class com.blackrook.rookscript.resolvers.scope.DefaultScopeResolver
-
Creates a new default scope resolver with no added scopes.
- DefaultVariableResolver - Class in com.blackrook.rookscript.resolvers.variable
-
A single, scoped open variable set in which values can be set.
- DefaultVariableResolver() - Constructor for class com.blackrook.rookscript.resolvers.variable.DefaultVariableResolver
-
Creates a variable with a default size.
- DefaultVariableResolver(int) - Constructor for class com.blackrook.rookscript.resolvers.variable.DefaultVariableResolver
-
Creates a variable resolver with a default size.
- DEG2RAD - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- degToRad(double) - Static method in class com.blackrook.rookscript.struct.Utils
-
Converts degrees to radians.
- DIGESTALGORITHMS - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- DIGESTEND - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- DigestFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for standard input/output.
- DIGESTSTART - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- DIGESTUPDATE - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- DIRECTIVE_BANG - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - Bang.
- DIRECTIVE_DEFINE - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - Define.
- DIRECTIVE_ELSE - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - Else.
- DIRECTIVE_ENDIF - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - End If.
- DIRECTIVE_IFDEF - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - If Defined.
- DIRECTIVE_IFNDEF - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - If Undefined.
- DIRECTIVE_INCLUDE - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - Include.
- DIRECTIVE_UNDEFINE - Static variable in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Preprocessor directive - Undefine.
- disassemble(Script, Writer) - Static method in class com.blackrook.rookscript.ScriptAssembler
-
Disassembles a script into a text representation.
- divide(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Divide calculation.
- DIVIDE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Divide.
- DONOTCLOSE - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
E
- E - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- empty() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets if this value is considered "empty".
- EMPTY - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- EMPTY - Static variable in interface com.blackrook.rookscript.resolvers.ScriptFunctionResolver
-
A function resolver with no functions.
- EMPTY - Static variable in interface com.blackrook.rookscript.resolvers.ScriptHostFunctionResolver
-
A host function resolver with no functions or namespaces.
- EMPTY - Static variable in interface com.blackrook.rookscript.resolvers.ScriptScopeResolver
-
A scope resolver with no scopes.
- END_OF_LEXER - Static variable in class com.blackrook.rookscript.struct.Lexer
-
Lexer end-of-stream char.
- END_OF_STREAM - Static variable in class com.blackrook.rookscript.struct.Lexer
-
Lexer end-of-stream char.
- ENDED - Enum constant in enum com.blackrook.rookscript.ScriptInstance.State
-
Ended - awaiting cleanup.
- entries - Variable in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
-
List of entries.
- entryCount - Variable in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
-
Count.
- EnumFunctionResolver - Class in com.blackrook.rookscript.resolvers.hostfunction
-
A special kind of host function resolver that wraps an
EnumofScriptFunctionType. - EnumFunctionResolver(Enum...) - Constructor for class com.blackrook.rookscript.resolvers.hostfunction.EnumFunctionResolver
-
Creates a new resolver using a list of enum values.
- ENVVARS - Enum constant in enum com.blackrook.rookscript.functions.SystemFunctions
- equal(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Logical Equal calculation.
- EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Equal.
- equals(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
- equals(Object) - Method in class com.blackrook.rookscript.ScriptValue
- ERROR - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- ERROR - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- ErrorFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript error functions.
- ERRORLOCALMSG - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- ERRORMAP - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- ERRORMSG - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- ERRORTYPE - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- Exception() - Constructor for exception class com.blackrook.rookscript.struct.Lexer.Parser.Exception
- Exception(String) - Constructor for exception class com.blackrook.rookscript.struct.Lexer.Parser.Exception
- Exception(String, Throwable) - Constructor for exception class com.blackrook.rookscript.struct.Lexer.Parser.Exception
- EXEC - Enum constant in enum com.blackrook.rookscript.functions.SystemFunctions
- EXECRESULT - Enum constant in enum com.blackrook.rookscript.functions.SystemFunctions
- execute(ScriptInstance) - Method in class com.blackrook.rookscript.lang.ScriptCommand
-
Executes this command.
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.BufferFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.ListFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.MapFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.MiscFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.common.StringFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.DateFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.DigestFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.FileSystemFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.JSONFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.MathFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.PrintFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.RandomFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.RegexFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.SystemFunctions
- execute(ScriptInstance, ScriptValue) - Method in enum com.blackrook.rookscript.functions.ZipFunctions
- execute(ScriptInstance, ScriptValue) - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType
-
Executes this function.
- execute(ScriptInstance, Object, Object) - Method in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Executes this directive.
F
- FGETLEN - Enum constant in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- FGETPOS - Enum constant in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- FILE - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEABSOLUTEPATH - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILECANONPATH - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEDATE - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEDELETE - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEEXISTS - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEEXT - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FileIOFunctions - Enum in com.blackrook.rookscript.functions.io
-
Script common functions for random-access file I/O.
- FILEISDIR - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEISHIDDEN - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILELEN - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILELIST - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILENAME - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILENAMENOEXT - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEPARENT - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILEPATH - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FILERENAME - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
- FileSystemFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for files.
- FISOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- FIX - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- FLOAT - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- FLOOR - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- FLUSH - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- FOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- FOSOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- FSETLEN - Enum constant in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- FSETPOS - Enum constant in enum com.blackrook.rookscript.functions.io.FileIOFunctions
G
- get() - Method in interface com.blackrook.rookscript.struct.PreprocessorLexer.StringProvider
- get(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Gets a value from the list at an index.
- get(String) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- get(String) - Static method in class com.blackrook.rookscript.struct.PatternUtils
-
Gets an existing, compiled pattern or a newly-compiled one for the provided expression.
- getActivationStackDepth() - Method in class com.blackrook.rookscript.ScriptInstanceStack
- getAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.FieldInfo
- getAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.MethodInfo
- getAlias(Field) - Method in interface com.blackrook.rookscript.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided field.
- getAlias(Method) - Method in interface com.blackrook.rookscript.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided method.
- getArrayDimensions(Class) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets how many dimensions that this array, represented by the provided type, has.
- getArrayDimensions(Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets how many array dimensions that an object (presumably an array) has.
- getArrayType(Class) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets the class type of this array type, if this is an array type.
- getArrayType(Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets the class type of this array, if this is an array.
- getByte(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets a byte value.
- getByteOrder() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets the byte order of this buffer.
- getCharacterIndex() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- getCharIndex() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- getCommand(int) - Method in class com.blackrook.rookscript.Script
-
Gets the command at a specific index in the script.
- getCommandCount() - Method in class com.blackrook.rookscript.Script
-
Gets the amount of commands in this script.
- getCommandIndex() - Method in class com.blackrook.rookscript.ScriptInstanceStack
- getCommandIndex(String) - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets a command index by label.
- getCommandRunawayLimit() - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets the amount of commands that can be executed in one update before the runaway detection is triggered.
- getCurrentActivationStackDepth() - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets the activation (frame) depth.
- getCurrentActivationStackDepth() - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Gets the current activation stack depth.
- getCurrentCommand() - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets the current command.
- getCurrentCommandIndex() - Method in class com.blackrook.rookscript.ScriptInstance
- getCurrentLexeme() - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the current token lexeme.
- getCurrentLexemeType() - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the current lexeme type.
- getCurrentLineCharacterIndex() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
- getCurrentLineNumber() - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the lexer's current stream's line number.
- getCurrentLineNumber() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
- getCurrentStream() - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the current stream.
- getCurrentStreamName() - Method in class com.blackrook.rookscript.struct.Lexer
- getCurrentStreamName() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
- getCurrentValueStackDepth() - Method in class com.blackrook.rookscript.ScriptInstanceStack
- getDecimalSeparator() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Gets the current decimal separator character.
- getDefines() - Method in interface com.blackrook.rookscript.compiler.ScriptReaderOptions
-
Gets what to predefine in the preprocessor.
- getDescription() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage.TypeUsage
- getDouble(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets a double value.
- getDouble(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets a double floating-point number from an array.
- getEncodingForIncludedResource(String) - Method in interface com.blackrook.rookscript.struct.PreprocessorLexer.Includer
-
Gets the charset encoding to use when a path is fetched successfully with
PreprocessorLexer.Includer.getIncludeResource(String). - getEntryName() - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets the entry name that was used to start this script.
- getEnvironment() - Method in class com.blackrook.rookscript.ScriptInstance
-
Returns this script's script environment.
- getErrorMessages() - Method in class com.blackrook.rookscript.compiler.ScriptParser
- getErrorMessages() - Method in exception class com.blackrook.rookscript.exception.ScriptParseException
- getErrors() - Method in class com.blackrook.rookscript.compiler.ScriptParser
- getField() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.FieldInfo
- getFieldValue(Object, Field) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets the value of a field on an object.
- getFileExtension(File, String) - Static method in class com.blackrook.rookscript.struct.Utils
-
Returns the extension of a file's name.
- getFileExtension(String, String) - Static method in class com.blackrook.rookscript.struct.Utils
-
Returns the extension of a filename.
- getFileNameWithoutExtension(File, String) - Static method in class com.blackrook.rookscript.struct.Utils
-
Returns the file's name, no extension.
- getFileNameWithoutExtension(String, String) - Static method in class com.blackrook.rookscript.struct.Utils
-
Returns the file's name, no extension.
- getFloat(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets a float value.
- getFloat(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets a floating-point number from an array.
- getFreeStackCount() - Method in class com.blackrook.rookscript.ScriptInstanceFactory
-
Gets how many stacks were created but not in use.
- getFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
- getFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
- getFunction(String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.EnumFunctionResolver
- getFunction(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptFunctionResolver
-
Attempts to resolve a pertinent function by its calling name.
- getFunctionEntry(String) - Method in class com.blackrook.rookscript.Script
-
Gets the corresponding index for a subscript function name.
- getFunctions() - Method in class com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
- getFunctions() - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundFunctionResolver
- getFunctions() - Method in class com.blackrook.rookscript.resolvers.hostfunction.EnumFunctionResolver
- getFunctions() - Method in interface com.blackrook.rookscript.resolvers.ScriptFunctionResolver
-
Gets the full list of all script functions.
- getGetterMethodsByAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getGetterMethodsByName() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getHostFunctionResolver() - Method in class com.blackrook.rookscript.Script
-
Returns this script's host function resolver.
- getHostFunctionResolver() - Method in class com.blackrook.rookscript.ScriptInstance
-
Returns this script's host function resolver.
- getHostInterface() - Method in class com.blackrook.rookscript.ScriptEnvironment
-
Gets the host interface that this environment uses for host calls.
- getIncludeResource(String) - Method in class com.blackrook.rookscript.compiler.ScriptReader.DefaultIncluder
- getIncludeResource(String) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer.DefaultIncluder
- getIncludeResource(String) - Method in interface com.blackrook.rookscript.struct.PreprocessorLexer.Includer
-
Returns an open
InputStreamfor a path when the parser needs a resource. - getIncludeResourcePath(String, String) - Method in class com.blackrook.rookscript.compiler.ScriptReader.DefaultIncluder
- getIncludeResourcePath(String, String) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer.DefaultIncluder
- getIncludeResourcePath(String, String) - Method in interface com.blackrook.rookscript.struct.PreprocessorLexer.Includer
-
Returns a full path for a path when the parser needs a resource.
- getIndex() - Method in class com.blackrook.rookscript.Script.Entry
- getIndex(String) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- getIndex(String) - Method in class com.blackrook.rookscript.Script
-
Gets the corresponding index for a label.
- getInfoLine(String, int, String, String) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
- getInputStream() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- getInstance() - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- getInstructions() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage
-
Gets the function usage instructions.
- getInstructions() - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
- getInteger(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets an integer value.
- getInteger(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets an integer from an array.
- getKernel() - Method in class com.blackrook.rookscript.struct.Lexer
- getKey() - Method in class com.blackrook.rookscript.ScriptIteratorType.IteratorPair
- getLabelsAtIndex(int) - Method in class com.blackrook.rookscript.Script
-
Returns the list of labels at an index.
- getLexeme() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- getLexer() - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Gets the
Lexerthat this Parser uses. - getLineNumber() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- getLineNumber() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- getLocalizedMessage() - Method in class com.blackrook.rookscript.ScriptValue.ErrorType
- getLong(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets a long value.
- getLong(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets a long integer from an array.
- getMessage() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- getMessage() - Method in class com.blackrook.rookscript.ScriptValue.ErrorType
- getMethod() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.MethodInfo
- getMethodsByAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's other public, non-static methods.
- getMethodsByName() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's other public, non-static methods.
- getName() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver.Entry
- getNamespacedFunction(String, String) - Method in class com.blackrook.rookscript.resolvers.hostfunction.CompoundHostFunctionResolver
- getNamespacedFunction(String, String) - Method in interface com.blackrook.rookscript.resolvers.ScriptHostFunctionResolver
-
Attempts to resolve a pertinent function by its calling name.
- getNextGeneratedLabel(String) - Method in class com.blackrook.rookscript.Script
-
Generates the next label for a specific label prefix.
- getNextGeneratedLabelNumber(String) - Method in class com.blackrook.rookscript.Script
-
Returns the current generated label counter for a specific label prefix.
- getOperand1() - Method in class com.blackrook.rookscript.lang.ScriptCommand
- getOperand2() - Method in class com.blackrook.rookscript.lang.ScriptCommand
- getOutputStream() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.BufferFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.ListFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.MapFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.MiscFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.common.StringFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.DateFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.DigestFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.FileSystemFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.JSONFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.MathFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.PrintFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.RandomFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.RegexFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.SystemFunctions
- getParameterCount() - Method in enum com.blackrook.rookscript.functions.ZipFunctions
- getParameterCount() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType
- getParameterCount() - Method in class com.blackrook.rookscript.Script.Entry
- getParameterInstructions() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage
-
Gets the usage instructions per function parameter, in the order of the functions parameters.
- getParameterInstructions() - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
- getParameterName() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage.ParameterUsage
- getPosition() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- getProfile(Class) - Static method in class com.blackrook.rookscript.struct.Utils
-
Creates a new profile for a provided type.
- getPublicFieldsByAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getPublicFieldsByName() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getRawStringEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the character that ends a raw String, using the starting character.
- getRawStringStartAndEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the end character for a multi-line, "raw" string start character.
- getReturnTypes() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage
-
Gets a list of accepted, expected return types for this function.
- getReturnTypes() - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
- getScope(String) - Method in class com.blackrook.rookscript.resolvers.scope.DefaultScopeResolver
- getScope(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptScopeResolver
-
Gets the corresponding scope for a scope name.
- getScopeResolver() - Method in class com.blackrook.rookscript.Script
-
Returns this script's scope resolver.
- getScopeResolver() - Method in class com.blackrook.rookscript.ScriptInstance
-
Returns this script's scope resolver.
- getScript() - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets this instance's script reference.
- getScriptEntry(String) - Method in class com.blackrook.rookscript.Script
-
Gets the corresponding index for a subscript entry name.
- getScriptEntryNames() - Method in class com.blackrook.rookscript.Script
- getSetterMethodsByAlias() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getSetterMethodsByName() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getShort(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets a short value.
- getShort(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets a short from an array.
- getStackValue(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets a value on the stack (reference).
- getStackValue(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Gets a value on the stack (reference).
- getStandardErr() - Method in class com.blackrook.rookscript.ScriptEnvironment
- getStandardIn() - Method in class com.blackrook.rookscript.ScriptEnvironment
- getStandardOut() - Method in class com.blackrook.rookscript.ScriptEnvironment
- getState() - Method in class com.blackrook.rookscript.ScriptInstance
- getStreamName() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- getStreamName() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- getString(Integer, Charset, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a string value.
- getStringEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the character that ends a String, using the starting character.
- getStringStartAndEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the end character for a string start character.
- getSubType() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage.TypeUsage
- getTokenInfoLine(String) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Returns a stock error line for when an error/warning or whatever occurs during parse.
- getTokenLexeme() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- getType() - Method in class com.blackrook.rookscript.lang.ScriptCommand
- getType() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage.TypeUsage
- getType() - Method in class com.blackrook.rookscript.ScriptValue.ErrorType
- getType() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- getType() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.FieldInfo
- getType() - Method in class com.blackrook.rookscript.struct.TypeProfileFactory.Profile.MethodInfo
- getTypeName() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets the type name of this value.
- getTypes() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType.Usage.ParameterUsage
-
Gets a list of accepted parameter types for this parameter.
- getUnsignedInteger(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets an unsigned integer value.
- getUnsignedInteger(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets an unsigned integer from an array.
- getUnsignedShort(Integer) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Gets an unsigned short value.
- getUnsignedShort(ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gets an unsigned short from an array.
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.BufferFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.ListFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.MapFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.MiscFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.common.StringFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.DateFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.DigestFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.FileSystemFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.JSONFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.MathFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.PrintFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.RandomFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.RegexFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.SystemFunctions
- getUsage() - Method in enum com.blackrook.rookscript.functions.ZipFunctions
- getUsage() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType
- getValue() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver.Entry
- getValue() - Method in class com.blackrook.rookscript.ScriptIteratorType.IteratorPair
- getValue(String, ScriptValue) - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
-
Gets the corresponding value for a variable name.
- getValue(String, ScriptValue) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- getValue(String, ScriptValue) - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- getValue(String, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstance
-
Gets a corresponding script value by name.
- getValue(String, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Gets a corresponding script value by name.
- getValueStackDepth() - Method in class com.blackrook.rookscript.ScriptInstanceStack
- give(T, int) - Method in class com.blackrook.rookscript.struct.CountMap
-
Adds to a key's value.
- greater(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Greater-than calculation.
- GREATER - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Greater than.
- GREATER_OR_EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Greater than or equal.
- greaterOrEqual(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Greater-than-or-equal calculation.
- GZISOPEN - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- GZOSOPEN - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
H
- HASH - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- hashCode() - Method in class com.blackrook.rookscript.ScriptValue
- HashDequeMap<K,
V> - Class in com.blackrook.rookscript.struct -
A hash map that stores deques of a particular type.
- HashDequeMap() - Constructor for class com.blackrook.rookscript.struct.HashDequeMap
-
Creates a new HashDequeMap that has default capacity and load factor.
- HashDequeMap(int) - Constructor for class com.blackrook.rookscript.struct.HashDequeMap
-
Creates a new HashDequeMap that has a specific capacity and default load factor.
- HashDequeMap(int, float) - Constructor for class com.blackrook.rookscript.struct.HashDequeMap
-
Creates a new HashDequeMap that has a specific capacity and default load factor.
- hasNext() - Method in class com.blackrook.rookscript.ScriptValue.WrappedGenericIterator
- hasNext() - Method in class com.blackrook.rookscript.ScriptValue.WrappedMapIterator
I
- incrementCommandIndex() - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Increments the current command index and returns it.
- incrementCurrentCommandIndex() - Method in class com.blackrook.rookscript.ScriptInstance
-
Increments the current command index and returns it.
- indexOf(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Finds a script value sequentially (strict equals).
- INIT - Enum constant in enum com.blackrook.rookscript.ScriptInstance.State
-
Not executed yet.
- initialize(String, Object...) - Method in class com.blackrook.rookscript.ScriptInstance
-
Initializes the script with parameters.
- initializeIndex(int) - Method in class com.blackrook.rookscript.ScriptInstance
-
Initializes the script at an arbitrary index.
- initializeLabel(String) - Method in class com.blackrook.rookscript.ScriptInstance
-
Initializes the script at an arbitrary label.
- instructions(String) - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Sets the instructions.
- INTEGER - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- invokeBlind(Method, Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Blindly invokes a method, with no parameters, only throwing a
RuntimeExceptionif something goes wrong. - invokeBlind(Method, Object, Object...) - Static method in class com.blackrook.rookscript.struct.Utils
-
Blindly invokes a method, only throwing a
RuntimeExceptionif something goes wrong. - IOFunctions - Class in com.blackrook.rookscript.functions
-
RookScript associated I/O functions.
- isArray(Class) - Static method in class com.blackrook.rookscript.struct.Utils
-
Tests if a class is actually an array type.
- isArray(Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Tests if an object is actually an array type.
- isBoolean() - Method in class com.blackrook.rookscript.ScriptValue
- ISBOOLEAN - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- isBuffer() - Method in class com.blackrook.rookscript.ScriptValue
- ISBUFFER - Enum constant in enum com.blackrook.rookscript.functions.common.BufferFunctions
- isDelimiterStart(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if this is a (or the start of a) delimiter character.
- isDigit(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Convenience method for
Character.isDigit(char). - isEmpty() - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
-
Checks if this resolver maintains no values.
- isEmpty() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- isEmpty() - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- isEmpty() - Method in class com.blackrook.rookscript.ScriptValue.ListType
- isEmpty() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
- isEmpty(Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Checks if a value is "empty."
- isError() - Method in class com.blackrook.rookscript.ScriptValue
- ISERROR - Enum constant in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- isExponent(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if char is the exponent character in a number.
- isExponentSign(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if char is the exponent sign character in a number.
- isFloat() - Method in class com.blackrook.rookscript.ScriptValue
- ISFLOAT - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- isHexDigit(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Returns true if this is a hex digit (0-9, A-F, a-f).
- isIgnored(Field) - Method in interface com.blackrook.rookscript.struct.TypeProfileFactory.MemberPolicy
-
Checks if a field is ignored by the profile generator.
- isIgnored(Method) - Method in interface com.blackrook.rookscript.struct.TypeProfileFactory.MemberPolicy
-
Checks if a method is ignored by the profile generator.
- isInfinite() - Method in class com.blackrook.rookscript.ScriptValue
- ISINFINITE - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- ISINT - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- isInteger() - Method in class com.blackrook.rookscript.ScriptValue
- isLetter(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Convenience method for
Character.isLetter(char). - isLexerEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a char equals
Lexer.END_OF_LEXER. - isList() - Method in class com.blackrook.rookscript.ScriptValue
- ISLIST - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- isMap() - Method in class com.blackrook.rookscript.ScriptValue
- ISMAP - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- isNaN() - Method in class com.blackrook.rookscript.ScriptValue
- ISNAN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- isNewline(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a char equals
Lexer.NEWLINE. - isNull() - Method in class com.blackrook.rookscript.ScriptValue
- isNull(T, T) - Static method in class com.blackrook.rookscript.struct.Utils
-
Returns the first object if it is not null, otherwise returns the second.
- isNumeric() - Method in class com.blackrook.rookscript.ScriptValue
- ISNUMERIC - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- ISOBJECT - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- isObjectArrayType(Class) - Method in class com.blackrook.rookscript.ScriptValue
-
Checks if this script value is both an array and a particular type.
- isObjectRef() - Method in class com.blackrook.rookscript.ScriptValue
- isObjectRef(Class) - Method in class com.blackrook.rookscript.ScriptValue
- isObjectType(Class) - Method in class com.blackrook.rookscript.ScriptValue
-
Checks if this script value can be cast to the target type.
- isPoint(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a character is a decimal point (depends on locale/kernel).
- isRawStringStart(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if this is a character that starts a multiline String.
- isReadOnly(String) - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
-
Checks if an existing value is read-only.
- isReadOnly(String) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- isReadOnly(String) - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- ISREGEX - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- isSpace(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a char is a space.
- isStreamEnd(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a char equals
Lexer.END_OF_STREAM. - isString() - Method in class com.blackrook.rookscript.ScriptValue
- ISSTRING - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- isStringEscape(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if this is a character that is a String escape character.
- isStringStart(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if this is a character that starts a String.
- isTab(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Checks if a char is a tab.
- isUnderscore(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Convenience method for
c == '_'. - isWhitespace(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Convenience method for
Character.isWhitespace(char). - isWindows() - Static method in class com.blackrook.rookscript.struct.Utils
- ITERATE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Performs a single iteration, expecting an OBJECTREF:ScriptIteratorType on the stack top when this is executed.
- iterator() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- iterator() - Method in class com.blackrook.rookscript.ScriptValue
- iterator() - Method in class com.blackrook.rookscript.ScriptValue.ListType
- iterator() - Method in class com.blackrook.rookscript.ScriptValue.MapType
- IteratorPair() - Constructor for class com.blackrook.rookscript.ScriptIteratorType.IteratorPair
-
Creates a new iterator pair.
- IteratorPair(Object, Object) - Constructor for class com.blackrook.rookscript.ScriptIteratorType.IteratorPair
-
Creates a new iterator pair.
J
- joinArrays(T[]...) - Static method in class com.blackrook.rookscript.struct.Utils
-
Concatenates a set of arrays together, such that the contents of each array are joined into one array.
- JSONFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for converting JSON to Maps (and vice-versa).
- JSONSTR - Enum constant in enum com.blackrook.rookscript.functions.JSONFunctions
- JUMP - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to index.
- JUMP_BRANCH - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to index based on POP.
- JUMP_FALSE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to index if POP is false.
- JUMP_FALSECOALESCE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to label if stack top is true-equivalent, else pop.
- JUMP_NULLCOALESCE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to label if stack top is not null, else pop.
- JUMP_TRUE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Jump to index if POP is true.
K
- Kernel() - Constructor for class com.blackrook.rookscript.struct.Lexer.Kernel
-
Creates a new, blank LexerKernel with default settings.
L
- LABEL_CHECK_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_CHECK_START - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_COALESCE_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_COALESCE_START - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_BODY - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_INIT - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_NEXT - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_START - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_EACH_STEP - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_ENTRY_PREFIX - Static variable in class com.blackrook.rookscript.Script
-
Script label prefix.
- LABEL_FOR_CONDITIONAL - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_FOR_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_FOR_INIT - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_FOR_STEP - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_FOR_SUCCESS - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_FUNCTION_PREFIX - Static variable in class com.blackrook.rookscript.Script
-
Function label prefix.
- LABEL_IF_CONDITIONAL - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_IF_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_IF_FAILURE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_IF_SUCCESS - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_ITERATOR_VAR - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Iterator variable prefix (must be named in a way that is impossible to access).
- LABEL_SCRIPTLET_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SCRIPTLET_START - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSAND_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSAND_FALSE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSAND_TRUE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSOR_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSOR_FALSE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_SSOR_TRUE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_TERNARY_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_TERNARY_FALSE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_TERNARY_TRUE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_WHILE_CONDITIONAL - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_WHILE_END - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- LABEL_WHILE_SUCCESS - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Label prefix.
- lastIndexOf(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Finds a script value sequentially, in reverse (strict equals).
- LEFT_SHIFT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Left Bit Shift.
- leftShift(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Left shift calculation.
- length() - Method in class com.blackrook.rookscript.ScriptValue
-
Gets the length of this value, if this is a map, list, or the underlying object is an array or
Collectiontype. - LENGTH - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- LERP - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- less(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Less-than calculation.
- LESS - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Less than.
- LESS_OR_EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Less than or equal.
- lessOrEqual(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Less-than-or-equal calculation.
- Lexer - Class in com.blackrook.rookscript.struct
-
Breaks up a stream of characters into lexicographical tokens.
- Lexer(Lexer.Kernel) - Constructor for class com.blackrook.rookscript.struct.Lexer
-
Creates a new lexer with no streams.
- Lexer(Lexer.Kernel, Reader) - Constructor for class com.blackrook.rookscript.struct.Lexer
-
Creates a new lexer around a reader.
- Lexer(Lexer.Kernel, String) - Constructor for class com.blackrook.rookscript.struct.Lexer
-
Creates a new lexer around a String, that will be wrapped into a StringReader.
- Lexer(Lexer.Kernel, String, Reader) - Constructor for class com.blackrook.rookscript.struct.Lexer
-
Creates a new lexer around a reader.
- Lexer(Lexer.Kernel, String, String) - Constructor for class com.blackrook.rookscript.struct.Lexer
-
Creates a new lexer around a String, that will be wrapped into a StringReader.
- Lexer.Kernel - Class in com.blackrook.rookscript.struct
-
This is a info kernel that tells a
Lexerhow to interpret certain characters and identifiers. - Lexer.Parser - Class in com.blackrook.rookscript.struct
-
Abstract parser class.
- Lexer.Parser.Exception - Exception Class in com.blackrook.rookscript.struct
-
Thrown when a Parser has a problem.
- Lexer.ReaderStack - Class in com.blackrook.rookscript.struct
-
This holds a series of
Readerstreams such that the stream on top is the current active stream. - Lexer.ReaderStack.Stream - Class in com.blackrook.rookscript.struct
-
Stream encapsulation of a single named Reader.
- Lexer.Token - Class in com.blackrook.rookscript.struct
-
Lexer token object.
- linearInterpolate(double, double, double) - Static method in class com.blackrook.rookscript.struct.Utils
-
Gives a value that is the result of a linear interpolation between two values.
- LIST - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
-
Creates a new list.
- LIST - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- listAdd(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Adds a value to this value, if it is a list.
- LISTADD - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- listAddAt(int, Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Adds a value to this value, only if it is a list.
- listApply(Class, List) - Method in class com.blackrook.rookscript.ScriptValue
-
Applies this list to another list by setting the contents on a (expected new, empty) target list.
- listApply(T) - Method in class com.blackrook.rookscript.ScriptValue
-
Applies this list to an array.
- listContains(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets if this list contains an object, if it is a list.
- LISTCONTAINS - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- listExtract(Collection) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets the contents of this list to the provided collection.
- listExtract(T[]) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets the contents of this list to the provided collection.
- ListFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript list/set functions.
- listGetByIndex(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets a value at an index, if it is a list.
- listGetIndexOf(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets the index that a value is found at, if it is a list.
- listGetLastIndexOf(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets the last index that a value is found at, if it is a list.
- LISTINDEX - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- LISTLASTINDEX - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- LISTNEW - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- listRemove(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Removes a value from this value, if it is a list.
- LISTREMOVE - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- listRemoveAt(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
-
Removes a value from this value at an index, if it is a list.
- LISTREMOVEAT - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- listSetByIndex(int, Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets a value in this list.
- LISTSORT - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- LOG10 - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- LOGE - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- LOGICAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Turns the topmost value into a boolean-equivalent value (the same as a not-not).
- LOGICAL_AND - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Logical And.
- LOGICAL_NOT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Logical Not.
- LOGICAL_OR - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Logical Or.
- logicalAnd(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Logical And calculation.
- logicalNot(ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Logical not calculation.
- logicalOr(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Logical Or calculation.
M
- main(String[]) - Static method in class com.blackrook.rookscript.tools.ScriptExecutor
- MAP - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- mapApply(T) - Method in class com.blackrook.rookscript.ScriptValue
-
Applies this map to an object's fields/setters.
- mapContains(String) - Method in class com.blackrook.rookscript.ScriptValue
-
If this is a map, checks if it contains the provided key.
- mapExtract(Map) - Method in class com.blackrook.rookscript.ScriptValue
-
Extracts a map's key-value pairs and sets those values to this map.
- mapExtract(T) - Method in class com.blackrook.rookscript.ScriptValue
-
Extracts an object's fields/getters and sets those values to this map.
- MapFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript map functions.
- mapGet(String, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
-
If this is a map, gets the value that corresponds to a provided key.
- MAPGET - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- MAPKEYS - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- MAPMERGE - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- mapRemove(String) - Method in class com.blackrook.rookscript.ScriptValue
-
If this is a map, removes the value that corresponds to a provided key.
- mapSet(String, Object) - Method in class com.blackrook.rookscript.ScriptValue
-
If this is a map, sets a key on it to a value.
- MAPSET - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- MAPVALUE - Enum constant in enum com.blackrook.rookscript.functions.common.MapFunctions
- mark(Script, String) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Marks a label on the current command.
- matchType(int) - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Matches the current token.
- MathFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for mathematic functions.
- MAX - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- MD5 - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- MIN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- MiscFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript buffer functions.
- modifyType(Lexer.Token) - Method in class com.blackrook.rookscript.struct.Lexer
-
Called when the lexer wants to create a token, but the lexeme of the token may cause this token to be a different type.
- modulo(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Modulo calculation.
- MODULO - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Modulo.
- multiply(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Multiply calculation.
- MULTIPLY - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Multiply.
N
- name() - Method in interface com.blackrook.rookscript.lang.ScriptFunctionType
-
Gets the name of this function.
- negate(ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Negate calculation.
- NEGATE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Negate.
- NEWLINE - Static variable in class com.blackrook.rookscript.struct.Lexer
-
Lexer newline char.
- next() - Method in class com.blackrook.rookscript.ScriptValue.WrappedGenericIterator
- next() - Method in class com.blackrook.rookscript.ScriptValue.WrappedMapIterator
- nextToken() - Method in class com.blackrook.rookscript.struct.Lexer
-
Gets the next token.
- nextToken() - Method in class com.blackrook.rookscript.struct.Lexer.Parser
-
Reads and sets the current token to the next token.
- nextToken() - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
- NOOP - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Do nothing.
- not(ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Bitwise not calculation.
- NOT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Bitwise NOT.
- NOT_EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Not Equal.
- notEqual(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Logical Not Equal calculation.
- NULL - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- NULL_INPUT - Static variable in class com.blackrook.rookscript.struct.Utils
-
A null input stream (never has data to read).
- NULL_OUTPUT - Static variable in class com.blackrook.rookscript.struct.Utils
-
A null output stream (eats all data written).
O
- OBJECTREF - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- ObjectVariableResolver<T> - Class in com.blackrook.rookscript.resolvers.variable
-
A variable resolver that wraps an object instance's fields and getters/setters as a scope.
- ObjectVariableResolver(T) - Constructor for class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
-
Creates a new resolver for this object.
- openResource(String) - Static method in class com.blackrook.rookscript.struct.Utils
-
Opens an
InputStreamto a resource using the current thread'sClassLoader. - optimize(Script) - Static method in class com.blackrook.rookscript.ScriptAssembler
-
Optimizes a script.
- or(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Bitwise Or calculation.
- OR - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Bitwise Or.
P
- parameter(String, ScriptFunctionType.Usage.TypeUsage...) - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Adds a parameter's usage.
- parseDouble(String, double) - Static method in class com.blackrook.rookscript.struct.Utils
-
Attempts to parse a double from a string.
- parseEntryPoint(Script, boolean) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Parses a single entry point (as though the token "entry" was already parsed).
- PARSEFUNCTIONCALL_FALSE - Static variable in class com.blackrook.rookscript.compiler.ScriptParser
-
Return false.
- parseFunctionEntry(Script, boolean) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Parses a single function entry (as though the token "function" was already parsed).
- PARSEINT - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- parseLong(String, long) - Static method in class com.blackrook.rookscript.struct.Utils
-
Attempts to parse a long from a string.
- Parser(Lexer) - Constructor for class com.blackrook.rookscript.struct.Lexer.Parser
-
Constructs the parser and binds a Lexer to it.
- parseScript(Script) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Parses a script from the current token until the end of the token stream is reached or an error is encountered or an exception is thrown.
- parseScriptlet(Script) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Parses a scriptlet into an existing script.
- parseValueFor(Class) - Method in class com.blackrook.rookscript.compiler.ScriptParser
- PatternUtils - Class in com.blackrook.rookscript.struct
-
A caching structure for all RegEx patterns.
- peek() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Gets the reference to the topmost (current) stream.
- peekFirst(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Returns the value at the beginning of a deque.
- peekLast(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Returns the value at the end of a deque.
- PI - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- poll(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the front of a deque.
- pollFirst(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the beginning of a deque.
- pollLast(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the end of a deque.
- pop() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Pops a
Lexer.ReaderStack.Streamoff of the top of this stack. - pop(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the front of a deque.
- POP - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
POP value into nothing.
- POP_CHECK - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Optionally preserves the topmost stack value, then POPs values until the [amount]'th sentinel was popped, then pushes the preserved value onto the stack.
- POP_LIST - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Sets a list value.
- POP_MAP - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Sets a map value.
- POP_SCOPE_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
POP into variable variable.
- POP_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
POP into variable variable.
- popFrame() - Method in class com.blackrook.rookscript.ScriptInstance
-
Pops an activation frame (local scope and command index).
- popFrame() - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Pops an activation frame (local scope and command index).
- popStackValue() - Method in class com.blackrook.rookscript.ScriptInstance
-
Pops a value off the stack, ignoring output.
- popStackValue() - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Pops a value off the stack, ignoring output.
- popStackValue(ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstance
-
Pops a value off the stack.
- popStackValue(ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Pops a value off the stack.
- POW - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- preprocess() - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
- PreprocessorLexer - Class in com.blackrook.rookscript.struct
-
A lexer that scans for specific directives and affects the stream.
- PreprocessorLexer(Lexer.Kernel, Reader) - Constructor for class com.blackrook.rookscript.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a reader.
- PreprocessorLexer(Lexer.Kernel, String) - Constructor for class com.blackrook.rookscript.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a String, that will be wrapped into a StringReader.
- PreprocessorLexer(Lexer.Kernel, String, Reader) - Constructor for class com.blackrook.rookscript.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a reader.
- PreprocessorLexer(Lexer.Kernel, String, String) - Constructor for class com.blackrook.rookscript.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a String, that will be wrapped into a StringReader.
- PreprocessorLexer.DefaultIncluder - Class in com.blackrook.rookscript.struct
-
Default includer to use when none specified.
- PreprocessorLexer.Includer - Interface in com.blackrook.rookscript.struct
-
An interface that allows the user to resolve a resource by path when the PreprocessorLexer parses it.
- PreprocessorLexer.PreprocessorException - Exception Class in com.blackrook.rookscript.struct
-
Thrown on preprocessor error.
- PreprocessorLexer.StringProvider - Interface in com.blackrook.rookscript.struct
-
Lambda interface that returns a string.
- print(Object) - Method in class com.blackrook.rookscript.ScriptEnvironment
-
Prints the string representation of an object to the standard out stream, if bound.
- PRINT - Enum constant in enum com.blackrook.rookscript.functions.PrintFunctions
- printErr(Object) - Method in class com.blackrook.rookscript.ScriptEnvironment
-
Prints the string representation of an object to the standard error stream, if bound.
- PRINTERR - Enum constant in enum com.blackrook.rookscript.functions.PrintFunctions
- PRINTERRLN - Enum constant in enum com.blackrook.rookscript.functions.PrintFunctions
- PrintFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for standard input/output.
- PRINTLN - Enum constant in enum com.blackrook.rookscript.functions.PrintFunctions
- processDirectiveLine(String, int, String) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Called when a full directive is read and needs to be processed.
- PROPERTIES - Enum constant in enum com.blackrook.rookscript.functions.SystemFunctions
- push(String, Reader) - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Pushes another reader onto the stack.
- push(K, V) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Adds a value to the front of a deque.
- PUSH - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH value.
- PUSH_CHECK - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Pushes a Check Sentinel Object onto the stack.
- PUSH_LIST_INDEX - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a list value.
- PUSH_LIST_INDEX_CONTENTS - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a list value.
- PUSH_LIST_INIT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank list initialized with values.
- PUSH_LIST_NEW - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank list.
- PUSH_MAP_INIT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank map initialized with values.
- PUSH_MAP_KEY - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSHes a map value using a key.
- PUSH_MAP_KEY_CONTENTS - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSHes a map value using a key.
- PUSH_MAP_NEW - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank map.
- PUSH_NULL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH null literal.
- PUSH_SCOPE_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH scoped variable.
- PUSH_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH variable.
- pushFrame(int) - Method in class com.blackrook.rookscript.ScriptInstance
-
Pushes a new activation frame (local scope and command index).
- pushFrame(int) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Pushes a new activation frame (local scope and command index).
- pushStackValue(T) - Method in class com.blackrook.rookscript.ScriptInstance
-
Pushes a value onto the stack.
- pushStackValue(T) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Pushes a value onto the stack.
- pushStream(String, Reader) - Method in class com.blackrook.rookscript.struct.Lexer
-
Pushes a stream onto the encapsulated reader stack.
- putByte(Integer, byte) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a byte value.
- putBytes(Integer, byte, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Fills bytes using a value.
- putDouble(double, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts a double floating-point number into an array.
- putDouble(Integer, double) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a double value.
- putFloat(float, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts a floating-point number into an array.
- putFloat(Integer, float) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a float value.
- putInteger(int, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts an integer into an array.
- putInteger(Integer, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets an integer value.
- putLong(long, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts a long integer into an array.
- putLong(Integer, long) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a long value.
- putShort(short, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts a short into an array.
- putShort(Integer, short) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a short value.
- putString(Integer, Charset, String) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets a string value.
- putUnsignedInteger(long, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts an unsigned integer into an array.
- putUnsignedInteger(Integer, long) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets an unsigned integer value.
- putUnsignedShort(int, ByteOrder, byte[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Puts an unsigned short into an array.
- putUnsignedShort(Integer, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets an unsigned short value.
Q
- quicksort(T[]) - Static method in class com.blackrook.rookscript.struct.Utils
-
Performs an in-place QuickSort on the provided array.
- quicksort(T[], int, int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Performs an in-place QuickSort on the provided array within an interval of indices.
- quicksort(T[], int, int, Comparator) - Static method in class com.blackrook.rookscript.struct.Utils
-
Performs an in-place QuickSort on the provided array within an interval of indices.
- quicksort(T[], Comparator) - Static method in class com.blackrook.rookscript.struct.Utils
-
Performs an in-place QuickSort on the provided array using a compatible Comparator.
R
- RAD2DEG - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- radToDeg(double) - Static method in class com.blackrook.rookscript.struct.Utils
-
Converts radians to degrees.
- RANDOM - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMBYTES - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMELEMENT - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMFLOAT - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RandomFunctions - Enum in com.blackrook.rookscript.functions
-
RookScript Random functions.
- RANDOMGAUSS - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMINT - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMRANGE - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMSEED - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMSHUFFLE - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- RANDOMSTRING - Enum constant in enum com.blackrook.rookscript.functions.RandomFunctions
- read() - Method in class com.blackrook.rookscript.ScriptEnvironment
-
Reads from the standard in stream, if bound.
- read(byte[], int, int) - Method in class com.blackrook.rookscript.ScriptEnvironment
-
Reads from the standard in stream into an array, if bound.
- read(DataInput) - Static method in class com.blackrook.rookscript.struct.Utils
-
Reads a set of bytes until end-of-stream or file.
- read(DataInput, byte[], int, int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Reads a set of bytes until end-of-stream or file.
- read(File, ScriptHostFunctionResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(File, ScriptHostFunctionResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(File, ScriptHostFunctionResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(File, ScriptHostFunctionResolver, ScriptScopeResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(File, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(File, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a starting text file.
- read(String, ScriptHostFunctionResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, ScriptHostFunctionResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, ScriptHostFunctionResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, ScriptHostFunctionResolver, ScriptScopeResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, InputStream, ScriptHostFunctionResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, InputStream, ScriptHostFunctionResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, InputStream, ScriptHostFunctionResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, InputStream, ScriptHostFunctionResolver, ScriptScopeResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, InputStream, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, InputStream, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script.
- read(String, Reader, ScriptHostFunctionResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, Reader, ScriptHostFunctionResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, Reader, ScriptHostFunctionResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, Reader, ScriptHostFunctionResolver, ScriptScopeResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, Reader, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, Reader, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a reader stream.
- read(String, String, ScriptHostFunctionResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, String, ScriptHostFunctionResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, String, ScriptHostFunctionResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, String, ScriptHostFunctionResolver, ScriptScopeResolver) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, String, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- read(String, String, ScriptHostFunctionResolver, ScriptScopeResolver, ScriptReaderIncluder, ScriptReaderOptions) - Static method in class com.blackrook.rookscript.compiler.ScriptReader
-
Reads a script from a String of text.
- READ - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- READBYTE - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- readBytes(Integer, byte[], int, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Reads bytes from a byte array into this buffer.
- readBytes(Integer, ScriptValue.BufferType, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Reads bytes from another buffer into this one.
- readBytes(Integer, ScriptValue.BufferType, Integer, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Reads bytes from another buffer into this one.
- readBytes(Integer, DataInput, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Reads bytes from an input stream into this buffer.
- readChar() - Method in class com.blackrook.rookscript.struct.Lexer
-
Reads a character from the stream.
- readChar() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Reads the next character.
- readChar() - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
- READDOUBLE - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- ReaderStack() - Constructor for class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Creates a new empty ReaderStack.
- ReaderStack(String, Reader) - Constructor for class com.blackrook.rookscript.struct.Lexer.ReaderStack
-
Creates a new ReaderStack.
- READFLOAT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- READINT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- READJSON - Enum constant in enum com.blackrook.rookscript.functions.JSONFunctions
- READLONG - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- readScript(Script) - Method in class com.blackrook.rookscript.compiler.ScriptParser
-
Starts parsing a script.
- READSHORT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- READSTR - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- READUINT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- READUSHORT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- REGEXCONTAINS - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- REGEXFIND - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- REGEXFINDALL - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- RegexFunctions - Enum in com.blackrook.rookscript.functions
-
A set of RegEx functions.
- REGEXMATCHES - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- REGEXSPLIT - Enum constant in enum com.blackrook.rookscript.functions.RegexFunctions
- registerCloseable(AutoCloseable) - Method in class com.blackrook.rookscript.ScriptInstance
-
Registers a resource that will be automatically closed when this instance terminates.
- relay(DataInput, DataOutput, int, int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Reads from an input stream, reading in a consistent set of data and writing it to the output stream.
- RELAY - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- release(ScriptInstance) - Method in class com.blackrook.rookscript.ScriptInstanceFactory
-
Destroys an instance and releases pooled objects.
- remove(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Finds an object and removes it from the list.
- removeFirst(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the beginning of a deque.
- removeIndex(int) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- removeIndex(int, ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Removes an object at an index.
- removeLast(K) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from the end of a deque.
- removeValue(K, V) - Method in class com.blackrook.rookscript.struct.HashDequeMap
-
Removes a value from a deque.
- reset() - Method in class com.blackrook.rookscript.ScriptInstance
-
Resets the instance.
- reset() - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Resets the stack.
- resume() - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the RUNNING state.
- RETURN - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Return value.
- returns(ScriptFunctionType.Usage.TypeUsage...) - Method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Adds return types.
- RIGHT_SHIFT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Right Bit Shift.
- RIGHT_SHIFT_PADDED - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Right Bit Shift Padded.
- rightShift(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Right shift calculation.
- rightShiftPadded(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Right shift padded calculation.
- ROUND - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- RUNNING - Enum constant in enum com.blackrook.rookscript.ScriptInstance.State
-
Currently running.
S
- saveChar(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Saves a character for the next token.
- Script - Class in com.blackrook.rookscript
-
A compiled script.
- Script() - Constructor for class com.blackrook.rookscript.Script
-
Creates a new empty script.
- Script.Entry - Class in com.blackrook.rookscript
-
Single script entry.
- ScriptAssembler - Class in com.blackrook.rookscript
-
The assembler part of the script factories.
- ScriptAssembler() - Constructor for class com.blackrook.rookscript.ScriptAssembler
- ScriptCommand - Class in com.blackrook.rookscript.lang
-
Single script directive.
- ScriptCommandType - Enum in com.blackrook.rookscript.lang
-
Directive type for scripts.
- ScriptEnvironment - Class in com.blackrook.rookscript
-
A script environment accessor object.
- ScriptExecutionException - Exception Class in com.blackrook.rookscript.exception
-
Exception that can be thrown during script execution.
- ScriptExecutionException() - Constructor for exception class com.blackrook.rookscript.exception.ScriptExecutionException
- ScriptExecutionException(String) - Constructor for exception class com.blackrook.rookscript.exception.ScriptExecutionException
- ScriptExecutionException(String, Object...) - Constructor for exception class com.blackrook.rookscript.exception.ScriptExecutionException
- ScriptExecutionException(String, Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptExecutionException
- ScriptExecutionException(Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptExecutionException
- ScriptExecutor - Class in com.blackrook.rookscript.tools
-
A class for executing scripts from command line.
- ScriptFunctionResolver - Interface in com.blackrook.rookscript.resolvers
-
Resolver encapsulation for finding a relevant host function by name.
- ScriptFunctionType - Interface in com.blackrook.rookscript.lang
-
Host function type for scripts.
- ScriptFunctionType.Usage - Interface in com.blackrook.rookscript.lang
-
Function usage info.
- ScriptFunctionType.Usage.ParameterUsage - Interface in com.blackrook.rookscript.lang
-
A single parameter's usage instructions.
- ScriptFunctionType.Usage.TypeUsage - Interface in com.blackrook.rookscript.lang
-
Per-relevant-type usage.
- ScriptFunctionUsage - Class in com.blackrook.rookscript.lang
-
Function usage builder.
- ScriptHostFunctionResolver - Interface in com.blackrook.rookscript.resolvers
-
Resolver encapsulation for finding a relevant host function by name and namespace.
- ScriptIgnore - Annotation Type in com.blackrook.rookscript.annotations
-
Fields and types annotated with this are ignored in object-to-map conversions and creating scopes and function resolvers.
- ScriptInstance - Class in com.blackrook.rookscript
-
A single script instance.
- ScriptInstance(Script, ScriptInstanceStack, ScriptEnvironment) - Constructor for class com.blackrook.rookscript.ScriptInstance
-
Creates a new script instance, no wait handler, default runaway limit.
- ScriptInstance(Script, ScriptInstanceStack, ScriptEnvironment, int) - Constructor for class com.blackrook.rookscript.ScriptInstance
-
Creates a new script instance, no wait handler.
- ScriptInstance(Script, ScriptInstanceStack, ScriptWaitHandler, ScriptEnvironment, int) - Constructor for class com.blackrook.rookscript.ScriptInstance
-
Creates a new script instance.
- ScriptInstance.State - Enum in com.blackrook.rookscript
-
Enumeration of script states.
- ScriptInstanceBuilder - Class in com.blackrook.rookscript
-
A script instance builder for new script instances and such.
- ScriptInstanceBuilder.BuilderException - Exception Class in com.blackrook.rookscript
-
Exception that can be thrown from
ScriptInstanceBuilder. - ScriptInstanceFactory - Class in com.blackrook.rookscript
-
Factory class for assembling script instances.
- ScriptInstanceFactory(Script, int, int, ScriptEnvironment) - Constructor for class com.blackrook.rookscript.ScriptInstanceFactory
-
Creates a new instance factory.
- ScriptInstanceFactory(Script, int, int, ScriptEnvironment, int) - Constructor for class com.blackrook.rookscript.ScriptInstanceFactory
-
Creates a new instance factory.
- ScriptInstanceFactory(Script, int, int, ScriptWaitHandler, ScriptEnvironment) - Constructor for class com.blackrook.rookscript.ScriptInstanceFactory
-
Creates a new instance factory.
- ScriptInstanceFactory(Script, int, int, ScriptWaitHandler, ScriptEnvironment, int) - Constructor for class com.blackrook.rookscript.ScriptInstanceFactory
-
Creates a new instance factory.
- ScriptInstanceFactory(Script, ScriptEnvironment) - Constructor for class com.blackrook.rookscript.ScriptInstanceFactory
-
Creates a new instance factory, default depths.
- ScriptInstanceStack - Class in com.blackrook.rookscript
-
The combined stack for a script instance.
- ScriptInstanceStack(int, int) - Constructor for class com.blackrook.rookscript.ScriptInstanceStack
-
Creates a new instance stack.
- ScriptIteratorType - Interface in com.blackrook.rookscript
-
Describes a type that iterates over ScriptValues, generically.
- ScriptIteratorType.IteratorPair - Class in com.blackrook.rookscript
-
The iterator pair that gets pushed onto a script stack on each iteration.
- ScriptKernel - Class in com.blackrook.rookscript.compiler
-
The script language lexer kernel.
- ScriptKernel() - Constructor for class com.blackrook.rookscript.compiler.ScriptKernel
-
Creates a new script lexer kernel.
- ScriptLexer - Class in com.blackrook.rookscript.compiler
-
The lexer for a script reader context.
- ScriptLexer(ScriptKernel, Reader, ScriptReaderIncluder, ScriptReaderOptions) - Constructor for class com.blackrook.rookscript.compiler.ScriptLexer
-
Creates a new lexer around a String, that will be wrapped into a StringReader class chain.
- ScriptLexer(ScriptKernel, String, Reader, ScriptReaderIncluder, ScriptReaderOptions) - Constructor for class com.blackrook.rookscript.compiler.ScriptLexer
-
Creates a new script lexer around a String, that will be wrapped into a StringReader class chain.
- ScriptName - Annotation Type in com.blackrook.rookscript.annotations
-
Fields and types annotated with this use the
ScriptName.value()as the name for the converted/mapped field instead of the auto-generated one. - ScriptParseException - Exception Class in com.blackrook.rookscript.exception
-
Exception that can be thrown during script parse.
- ScriptParseException() - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParseException(ScriptParser.ErrorMessage...) - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParseException(String) - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParseException(String, Object...) - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParseException(String, Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParseException(Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptParseException
- ScriptParser - Class in com.blackrook.rookscript.compiler
-
The parser that parses text for the script reader.
- ScriptParser(ScriptLexer) - Constructor for class com.blackrook.rookscript.compiler.ScriptParser
-
Creates a new script parser.
- ScriptParser.ErrorMessage - Class in com.blackrook.rookscript.compiler
-
An error object added when an error is logged.
- ScriptReader - Class in com.blackrook.rookscript.compiler
-
The main factory for reading and parsing a script file.
- ScriptReader.DefaultIncluder - Class in com.blackrook.rookscript.compiler
-
Default includer to use when none specified.
- ScriptReaderIncluder - Interface in com.blackrook.rookscript.compiler
-
An interface that allows the user to resolve a resource by path when the
ScriptReaderparses it. - ScriptReaderOptions - Interface in com.blackrook.rookscript.compiler
-
An interface for script reader options.
- ScriptScopeResolver - Interface in com.blackrook.rookscript.resolvers
-
An interface for structures that map string keys to
ScriptVariableResolvers. - ScriptStackException - Exception Class in com.blackrook.rookscript.exception
-
Exception that can be thrown for script stack problems.
- ScriptStackException() - Constructor for exception class com.blackrook.rookscript.exception.ScriptStackException
- ScriptStackException(String) - Constructor for exception class com.blackrook.rookscript.exception.ScriptStackException
- ScriptStackException(String, Object...) - Constructor for exception class com.blackrook.rookscript.exception.ScriptStackException
- ScriptStackException(String, Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptStackException
- ScriptStackException(Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptStackException
- ScriptValue - Class in com.blackrook.rookscript
-
Script value encapsulation.
- ScriptValue.BufferType - Class in com.blackrook.rookscript
-
The class used for a buffer of bytes.
- ScriptValue.ErrorType - Class in com.blackrook.rookscript
-
The class used as an error type.
- ScriptValue.ListType - Class in com.blackrook.rookscript
-
The class used for a list/set.
- ScriptValue.MapType - Class in com.blackrook.rookscript
-
The class used for a map type.
- ScriptValue.Type - Enum in com.blackrook.rookscript
- ScriptValue.WrappedGenericIterator - Class in com.blackrook.rookscript
-
Iterator Type for OBJECTREFs that return their own iterators.
- ScriptValue.WrappedMapIterator - Class in com.blackrook.rookscript
-
Iterator Type for OBJECTREFs that return their own iterators.
- ScriptValueConversionException - Exception Class in com.blackrook.rookscript.exception
-
Exception that can be thrown during script value conversion.
- ScriptValueConversionException() - Constructor for exception class com.blackrook.rookscript.exception.ScriptValueConversionException
- ScriptValueConversionException(String) - Constructor for exception class com.blackrook.rookscript.exception.ScriptValueConversionException
- ScriptValueConversionException(String, Object...) - Constructor for exception class com.blackrook.rookscript.exception.ScriptValueConversionException
- ScriptValueConversionException(String, Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptValueConversionException
- ScriptValueConversionException(Throwable) - Constructor for exception class com.blackrook.rookscript.exception.ScriptValueConversionException
- ScriptValueType - Annotation Type in com.blackrook.rookscript.annotations
-
Fields and method annotated with this are read into the script as a specific type.
- ScriptVariableResolver - Interface in com.blackrook.rookscript.resolvers
-
An interface for structures that map string keys to
ScriptValues. - ScriptWaitHandler - Interface in com.blackrook.rookscript
-
The wait handler for running scripts.
- search(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Binary searches for a value.
- set(boolean) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(byte) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(char) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(double) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(float) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(int) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(int, Object) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Sets a value from the list at an index.
- set(long) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(short) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(ScriptValue) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(ScriptValue.ErrorType) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(ScriptValue.Type, Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another object, and converts it if possible to the target underlying type.
- set(CharSequence) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value using another value.
- set(Object, Object) - Method in class com.blackrook.rookscript.ScriptIteratorType.IteratorPair
-
Sets the key and value in this pair.
- SET - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- SET - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Set's a variable to a value.
- SET_ITERATOR_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Pops a variable, creates an iterator for it, and sets a variable for it.
- SET_VARIABLE - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Set's a variable to another variable's value.
- setAdd(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Adds a value to this value, if it is a list, treating the structure like a set of discrete items.
- SETADD - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setByteOrder(ByteOrder) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets the byte order of this buffer.
- setCommandIndex(int) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Sets the current command index (jump).
- setCommandRunawayLimit(int) - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the amount of commands that can be executed in one update before the runaway detection is triggered.
- setCommands(ScriptCommand[]) - Method in class com.blackrook.rookscript.Script
-
Sets the commands to use in the script, replacing them entirely.
- setContains(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets if this list contains an object, if it is a list, treating the structure like a set of discrete items.
- SETCONTAINS - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setCurrentCommandIndex(int) - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the current command index (jump).
- setDecimalSeparator(char) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets the current decimal separator character.
- setDelimBreak(char) - Method in class com.blackrook.rookscript.struct.Lexer
-
Sets if we are in a delimiter break.
- SETDIFF - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setEmitComments(boolean) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets if this lexer emits comment tokens.
- setEmitNewlines(boolean) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets if this lexer emits newline tokens.
- setEmitSpaces(boolean) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets if this lexer emits space tokens?
- setEmitStreamBreak(boolean) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets if this lexer emits stream break tokens.
- setEmitTabs(boolean) - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Sets if this lexer emits tab tokens.
- setEmptyBuffer(int) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new buffer (new reference), native byte order.
- setEmptyBuffer(int, ByteOrder) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new buffer (new reference).
- setEmptyList() - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new empty list (new reference).
- setEmptyList(int) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new empty list (new reference).
- setEmptyList(int, int) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new empty list (new reference) initialized by nulls.
- setEmptyMap() - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new empty map (new reference).
- setEmptyMap(int) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to a new empty map (new reference).
- setError(String, String) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value as an error.
- setError(String, String, String) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value as an error.
- setError(Throwable) - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value as an error.
- setFieldValue(Object, Field, Object) - Static method in class com.blackrook.rookscript.struct.Utils
-
Sets the value of a field on an object.
- setHostFunctionResolver(ScriptHostFunctionResolver) - Method in class com.blackrook.rookscript.Script
-
Sets this script's host function resolver.
- setIncluder(PreprocessorLexer.Includer) - Method in class com.blackrook.rookscript.struct.PreprocessorLexer
-
Sets the primary includer to use for resolving included streams.
- setIndex(String, int) - Method in class com.blackrook.rookscript.Script
-
Sets an index for a label in the script.
- SETINTERSECT - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setLexeme(String) - Method in class com.blackrook.rookscript.struct.Lexer.Token
-
Sets this token's lexeme.
- setNull() - Method in class com.blackrook.rookscript.ScriptValue
-
Sets this value to the null value.
- setPosition(int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets the buffer's current cursor position.
- setRemove(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Removes a value from this value, if it is a list, treating the structure like a set of discrete items.
- SETREMOVE - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setScopeResolver(ScriptScopeResolver) - Method in class com.blackrook.rookscript.Script
-
Sets this script's scope resolver.
- setScriptEntry(String, int, int) - Method in class com.blackrook.rookscript.Script
-
Sets an index for a subscript entry name in the script.
- setSearch(Object) - Method in class com.blackrook.rookscript.ScriptValue
-
Gets a value's index, if it is a list, treating the structure like a set of discrete items.
- SETSEARCH - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setSize(int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Sets the size of this buffer in bytes.
- setSize(int) - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Sets the size of the list.
- setType(int) - Method in class com.blackrook.rookscript.struct.Lexer.Token
-
Sets this token's type.
- SETUNION - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- setValue(String, ScriptValue) - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
-
Sets a key-value pair.
- setValue(String, ScriptValue) - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- setValue(String, ScriptValue) - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- setValue(String, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets a corresponding script value by name.
- setValue(String, ScriptValue) - Method in class com.blackrook.rookscript.ScriptInstanceStack
-
Sets a corresponding script value by name.
- SETXOR - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- SHA1 - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- SHA256 - Enum constant in enum com.blackrook.rookscript.functions.DigestFunctions
- SIN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- size() - Method in interface com.blackrook.rookscript.resolvers.ScriptVariableResolver
- size() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- size() - Method in class com.blackrook.rookscript.resolvers.variable.ObjectVariableResolver
- size() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- size() - Method in class com.blackrook.rookscript.ScriptValue.ListType
- size() - Method in class com.blackrook.rookscript.struct.Lexer.ReaderStack
- SKIP - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- sort() - Method in class com.blackrook.rookscript.ScriptValue.ListType
-
Sorts this array.
- sort() - Method in class com.blackrook.rookscript.ScriptValue
-
Sorts the contents of this list.
- sortFrom(T[], int) - Static method in class com.blackrook.rookscript.struct.Utils
-
Shifts an object to an appropriate position according to the object's
Comparable.compareTo(Object)function. - sortFrom(T[], int, Comparator) - Static method in class com.blackrook.rookscript.struct.Utils
-
Shifts an object to an appropriate position according to the provided
comparatorfunction. - SQRT - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- SROPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- STDERR - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- STDIN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- STDOUT - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- step() - Method in class com.blackrook.rookscript.ScriptInstance
-
Makes a single command step in the script.
- STRBYTES - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRCHAR - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- StreamingIOFunctions - Enum in com.blackrook.rookscript.functions.io
-
Script common functions for data streaming.
- STREAMNAME_TEXT - Static variable in class com.blackrook.rookscript.compiler.ScriptReader
- STRENCODINGS - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRENDSWITH - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRICT_EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Strict Equal.
- STRICT_NOT_EQUAL - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Strict Not Equal.
- strictEqual(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Strict Equal calculation.
- strictNotEqual(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Strict Not Equal calculation.
- STRINDEX - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRING - Enum constant in enum com.blackrook.rookscript.ScriptValue.Type
- StringFunctions - Enum in com.blackrook.rookscript.functions.common
-
RookScript string functions.
- STRJOIN - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRLASTINDEX - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRLOWER - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRREPLACEALL - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRSPLIT - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRSTARTSWITH - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRTRIM - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- STRUPPER - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- SUBLIST - Enum constant in enum com.blackrook.rookscript.functions.common.ListFunctions
- SUBSTR - Enum constant in enum com.blackrook.rookscript.functions.common.StringFunctions
- subtract(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Subtract calculation.
- SUBTRACT - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Subtract.
- suspend() - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the SUSPENDED state.
- SUSPENDED - Enum constant in enum com.blackrook.rookscript.ScriptInstance.State
-
Manually suspended.
- SWOPEN - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- SystemFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for system level stuff, like process creation, control, and environment stuff.
T
- take(T, int) - Method in class com.blackrook.rookscript.struct.CountMap
-
Subtracts from a key's value.
- TAN - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- terminate() - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the ENDED state.
- TOBOOLEAN - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- toDebugString() - Method in class com.blackrook.rookscript.ScriptValue
- TOFLOAT - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- TOINT - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- Token(String, int, String, int, int) - Constructor for class com.blackrook.rookscript.struct.Lexer.Token
- toString() - Method in class com.blackrook.rookscript.compiler.ScriptParser.ErrorMessage
- toString() - Method in class com.blackrook.rookscript.lang.ScriptCommand
- toString() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver.Entry
- toString() - Method in class com.blackrook.rookscript.resolvers.variable.AbstractVariableResolver
- toString() - Method in class com.blackrook.rookscript.ScriptInstance
- toString() - Method in class com.blackrook.rookscript.ScriptValue.BufferType
- toString() - Method in class com.blackrook.rookscript.ScriptValue.ErrorType
- toString() - Method in class com.blackrook.rookscript.ScriptValue.ListType
- toString() - Method in class com.blackrook.rookscript.ScriptValue
- toString() - Method in class com.blackrook.rookscript.ScriptValue.WrappedGenericIterator
- toString() - Method in class com.blackrook.rookscript.ScriptValue.WrappedMapIterator
- toString() - Method in class com.blackrook.rookscript.struct.Lexer.Token
- TOSTRING - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- type(ScriptValue.Type, String) - Static method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Creates a single type usage.
- type(ScriptValue.Type, String, String) - Static method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Creates a single type usage.
- type(String) - Static method in class com.blackrook.rookscript.lang.ScriptFunctionUsage
-
Creates a single type usage.
- TYPE_ABSOLUTE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_AMPERSAND - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_AMPERSANDEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_BREAK - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_CARAT - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_CHECK - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_COLON - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_COMMA - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_COMMENT - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_COMMENT - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Comment.
- TYPE_CONTINUE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DASH - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DASHEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLEAMPERSAND - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLECOLON - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLEEQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLEGREATER - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLEGREATEREQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLELESS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLELESSEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_DOUBLEPIPE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_EACH - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_ELSE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_END_OF_LEXER - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: End of lexer.
- TYPE_END_OF_STREAM - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: End of stream.
- TYPE_ENTRY - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_EQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_EXCLAMATION - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_FALSE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_FALSECOALESCE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_FOR - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_FUNCTION - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_GREATER - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_GREATEREQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_IDENTIFIER - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Identifier.
- TYPE_IF - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_ILLEGAL - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Illegal token.
- TYPE_INFINITY - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_LBRACE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_LBRACK - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_LESS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_LESSEQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_LINE_COMMENT - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Line Comment.
- TYPE_LPAREN - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NAN - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NEGATE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NEWLINE - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: New line character.
- TYPE_NOTDOUBLEEQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NOTEQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NULL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NULLCOALESCE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_NUMBER - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Number.
- TYPE_PERCENT - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PERCENTEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PERIOD - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PIPE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PIPEEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PLUS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_PLUSEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_QUESTIONMARK - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_RBRACE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_RBRACK - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_RETURN - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_RIGHTARROW - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_RPAREN - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_SEMICOLON - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_SLASH - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_SLASHEQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_SPACE - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Space.
- TYPE_STAR - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_STAREQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_STRING - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: String.
- TYPE_TAB - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Tab.
- TYPE_TILDE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_TRIPLEEQUAL - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_TRIPLEGREATER - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_TRIPLEGREATEREQUALS - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_TRUE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPE_UNKNOWN - Static variable in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Reserved token type: Unknown token.
- TYPE_WHILE - Static variable in class com.blackrook.rookscript.compiler.ScriptKernel
- TYPEOF - Enum constant in enum com.blackrook.rookscript.functions.common.MiscFunctions
- TypeProfileFactory - Class in com.blackrook.rookscript.struct
-
A factory that produces type profiles for POJOs and data objects.
- TypeProfileFactory.MemberPolicy - Interface in com.blackrook.rookscript.struct
-
An interface for figuring out whether to ignore certain fields or methods on an object that a profile is being generated for (if they are already going to pass testing for includable fields).
- TypeProfileFactory.Profile<T> - Class in com.blackrook.rookscript.struct
-
Type profile for an unknown object that has an ambiguous signature for applying values to POJOs and beans.
- TypeProfileFactory.Profile.FieldInfo - Class in com.blackrook.rookscript.struct
-
Field information.
- TypeProfileFactory.Profile.MethodInfo - Class in com.blackrook.rookscript.struct
-
Method signature.
U
- unregisterCloseable(AutoCloseable) - Method in class com.blackrook.rookscript.ScriptInstance
-
Unregisters a resource that should be closed when this instance terminates.
- update() - Method in class com.blackrook.rookscript.ScriptInstance
-
Executes the script.
- usage() - Method in enum com.blackrook.rookscript.functions.common.BufferFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.common.ListFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.common.MapFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.common.MiscFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.common.StringFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.DateFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.DigestFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.FileSystemFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.JSONFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.MathFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.PrintFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.RandomFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.RegexFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.SystemFunctions
- usage() - Method in enum com.blackrook.rookscript.functions.ZipFunctions
- usingReaderIncluder(ScriptReaderIncluder) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds the optional reader includer to use for compiling code.
- usingReaderOptions(ScriptReaderOptions) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds the optional reader options to use for compiling code.
- Utils - Class in com.blackrook.rookscript.struct
-
Utility functions.
- Utils() - Constructor for class com.blackrook.rookscript.struct.Utils
V
- value() - Element in annotation type com.blackrook.rookscript.annotations.ScriptName
- value() - Element in annotation type com.blackrook.rookscript.annotations.ScriptValueType
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.BufferFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.ListFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.MapFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.MiscFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.common.StringFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.DateFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.DigestFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.FileSystemFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.JSONFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.MathFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.PrintFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.RandomFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.RegexFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.SystemFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.functions.ZipFunctions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.ScriptInstance.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.rookscript.ScriptValue.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.blackrook.rookscript.functions.common.BufferFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.common.ErrorFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.common.ListFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.common.MapFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.common.MiscFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.common.StringFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.DateFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.DigestFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.FileSystemFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.io.DataIOFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.io.FileIOFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.JSONFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.MathFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.PrintFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.RandomFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.RegexFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.SystemFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.functions.ZipFunctions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.ScriptInstance.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.rookscript.ScriptValue.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERIFYDIRS - Enum constant in enum com.blackrook.rookscript.functions.FileSystemFunctions
W
- wait(Object, Object) - Method in class com.blackrook.rookscript.ScriptInstance
-
Sets the WAITING state and waiting parameters.
- WAITING - Enum constant in enum com.blackrook.rookscript.ScriptInstance.State
-
Waiting on some kind of action to complete.
- waitingScriptCanContinue(ScriptInstance, Object, Object) - Method in interface com.blackrook.rookscript.ScriptWaitHandler
-
Called to determine if this waiting script can continue.
- waitingScriptUpdate(ScriptInstance, Object, Object) - Method in interface com.blackrook.rookscript.ScriptWaitHandler
-
Called when
ScriptWaitHandler.waitingScriptCanContinue(ScriptInstance, Object, Object)returns false, in case this script's waiting state needs updating. - willEmitComments() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Checks if this lexer emits comment tokens.
- willEmitNewlines() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Checks if this lexer emits newline tokens.
- willEmitSpaces() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Checks if this lexer emits space tokens.
- willEmitStreamBreak() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Checks if this lexer emits stream break tokens.
- willEmitTabs() - Method in class com.blackrook.rookscript.struct.Lexer.Kernel
-
Checks if this lexer emits tab tokens.
- withEnvironment(ScriptEnvironment) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Sets the script environment for this script.
- withFunctionResolver(ScriptFunctionResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a function resolver to this builder to be used in the script, clearing all resolvers first. Each instance created will use the resolvers added for compiling and runtime.
- withFunctionResolver(String, ScriptFunctionResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a function resolver to this builder to be used in the script, clearing all resolvers first. Each instance created will use the resolvers added for compiling and runtime.
- withRunawayLimit(int) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Sets the runaway limit for the instance.
- withScope(String, ScriptVariableResolver) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Adds a scope to be used in the script, clearing the set of scopes first.
- withScript(Script) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches the script used for this instance.
- withScriptStack(int, int) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches a new script instance stack used for this instance.
- withScriptStack(ScriptInstanceStack) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches a script instance stack for this instance.
- withSource(File) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches script source to compile on instantiation.
- withSource(String) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches script source to compile on instantiation.
- withSource(String, InputStream) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches script input stream source to compile on instantiation.
- withSource(String, Reader) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches script source to compile on instantiation.
- withSource(String, String) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Attaches script source to compile on instantiation.
- withWaitHandler(ScriptWaitHandler) - Method in class com.blackrook.rookscript.ScriptInstanceBuilder
-
Sets the wait handler for the script instance.
- WRAP - Enum constant in enum com.blackrook.rookscript.functions.MathFunctions
- wrapValue(double, double, double) - Static method in class com.blackrook.rookscript.struct.Utils
-
Coerces a double to the range bounded by lo and hi, by "wrapping" the value.
- WRITE - Enum constant in enum com.blackrook.rookscript.functions.io.StreamingIOFunctions
- WRITEBYTE - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- writeBytes(Integer, DataOutput, int) - Method in class com.blackrook.rookscript.ScriptValue.BufferType
-
Writes bytes from this buffer into an input stream.
- WRITEDOUBLE - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITEFLOAT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITEINT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITEJSON - Enum constant in enum com.blackrook.rookscript.functions.JSONFunctions
- WRITELONG - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITESHORT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITESTR - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITEUINT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
- WRITEUSHORT - Enum constant in enum com.blackrook.rookscript.functions.io.DataIOFunctions
X
- xor(ScriptValue, ScriptValue, ScriptValue) - Static method in class com.blackrook.rookscript.ScriptValue
-
Bitwise XOr calculation.
- XOR - Enum constant in enum com.blackrook.rookscript.lang.ScriptCommandType
-
Bitwise Xor.
Z
- ZFENTRIES - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- ZFENTRY - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- ZFEOPEN - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- ZFITERATE - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- ZFOPEN - Enum constant in enum com.blackrook.rookscript.functions.ZipFunctions
- ZipFunctions - Enum in com.blackrook.rookscript.functions
-
Script common functions for Zip File reading.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form