Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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.
- 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 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
InputStream
for 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.
- 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
Lexer
that 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 class com.blackrook.rookscript.functions.common.BufferFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.common.ErrorFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.common.ListFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.common.MapFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.common.MiscFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.common.StringFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.DateFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.DigestFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.FileSystemFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.io.DataIOFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.io.FileIOFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.JSONFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.MathFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.PrintFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.RegexFunctions
- getParameterCount() - Method in enum class com.blackrook.rookscript.functions.SystemFunctions
- getParameterCount() - Method in enum class 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<T>) - 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.
- 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
- getState() - Method in class com.blackrook.rookscript.struct.Lexer
- 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.
- 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 class com.blackrook.rookscript.functions.common.BufferFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.common.ErrorFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.common.ListFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.common.MapFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.common.MiscFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.common.StringFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.DateFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.DigestFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.FileSystemFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.io.DataIOFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.io.FileIOFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.io.StreamingIOFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.JSONFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.MathFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.PrintFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.RegexFunctions
- getUsage() - Method in enum class com.blackrook.rookscript.functions.SystemFunctions
- getUsage() - Method in enum class 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 class com.blackrook.rookscript.lang.ScriptCommandType
-
Greater than.
- GREATER_OR_EQUAL - Enum constant in enum class 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 class com.blackrook.rookscript.functions.ZipFunctions
- GZOSOPEN - Enum constant in enum class com.blackrook.rookscript.functions.ZipFunctions
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form