Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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 class 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<T>) - 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 class 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.Stream
off 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 class com.blackrook.rookscript.lang.ScriptCommandType
-
POP value into nothing.
- POP_CHECK - Enum constant in enum class 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 class com.blackrook.rookscript.lang.ScriptCommandType
-
Sets a list value.
- POP_MAP - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
Sets a map value.
- POP_SCOPE_VARIABLE - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
POP into variable variable.
- POP_VARIABLE - Enum constant in enum class 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 class 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 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 class 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 class com.blackrook.rookscript.functions.PrintFunctions
- PRINTERRLN - Enum constant in enum class com.blackrook.rookscript.functions.PrintFunctions
- PrintFunctions - Enum Class in com.blackrook.rookscript.functions
-
Script common functions for standard input/output.
- PRINTLN - Enum constant in enum class 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 class 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 class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH value.
- PUSH_CHECK - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
Pushes a Check Sentinel Object onto the stack.
- PUSH_LIST_INDEX - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a list value.
- PUSH_LIST_INDEX_CONTENTS - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a list value.
- PUSH_LIST_INIT - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank list initialized with values.
- PUSH_LIST_NEW - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank list.
- PUSH_MAP_INIT - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank map initialized with values.
- PUSH_MAP_KEY - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSHes a map value using a key.
- PUSH_MAP_KEY_CONTENTS - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSHes a map value using a key.
- PUSH_MAP_NEW - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH a new blank map.
- PUSH_NULL - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH null literal.
- PUSH_SCOPE_VARIABLE - Enum constant in enum class com.blackrook.rookscript.lang.ScriptCommandType
-
PUSH scoped variable.
- PUSH_VARIABLE - Enum constant in enum class 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form