Skip navigation links
A B C D E F G H I J L M N O P R S T U V W _ 

A

addOwner(String) - Method in class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
ArgParser - Class in net.termer.rtflc.utils
Utility class to parse command line arguments.
ArgParser(String[]) - Constructor for class net.termer.rtflc.utils.ArgParser
Instantiates a new ArgParser object and parses the provided arguments.
argumentNames() - Method in class net.termer.rtflc.instructions.FuncDefInstruction
 
arguments() - Method in class net.termer.rtflc.utils.ArgParser
Returns all normal (non-flag/option arguments).
array() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
array() - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
ArrayAssignInstruction - Class in net.termer.rtflc.instructions
 
ArrayAssignInstruction(String, int, RtflType, RtflType, RtflType) - Constructor for class net.termer.rtflc.instructions.ArrayAssignInstruction
 
ArrayIndexAssignment - Class in net.termer.rtflc.type.assignment
 
ArrayIndexAssignment(RtflType, RtflType) - Constructor for class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
ArrayType - Class in net.termer.rtflc.type
 
ArrayType() - Constructor for class net.termer.rtflc.type.ArrayType
 
ArrayType(RtflType[]) - Constructor for class net.termer.rtflc.type.ArrayType
 
ArrayType(ArrayList<RtflType>) - Constructor for class net.termer.rtflc.type.ArrayType
 
AscendScopeInstruction - Class in net.termer.rtflc.instructions
 
AscendScopeInstruction() - Constructor for class net.termer.rtflc.instructions.AscendScopeInstruction
 
AssignmentType - Interface in net.termer.rtflc.type.assignment
Special version of RtflType for types that aren't wrappers around Java types, but references and operations that can only be resolved on runtime
assignValue() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
assignValue() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
assignValue() - Method in class net.termer.rtflc.instructions.VarAssignInstruction
 
assignVar(String, RtflType) - Method in class net.termer.rtflc.runtime.Scope
Assigns the provided value to a variable with the specified name.
AsyncInstruction - Class in net.termer.rtflc.instructions
 
AsyncInstruction(String, int) - Constructor for class net.termer.rtflc.instructions.AsyncInstruction
 

B

BoolType - Class in net.termer.rtflc.type
 
BoolType(boolean) - Constructor for class net.termer.rtflc.type.BoolType
 
byChar(char) - Static method in enum net.termer.rtflc.utils.LogicComparison
Returns the LogicComparison corresponding to a comparison character.
BytecodeInstructionProducer - Class in net.termer.rtflc.producers
Class that provides methods to parse bytecode into RtflInstruction objects.
BytecodeInstructionProducer() - Constructor for class net.termer.rtflc.producers.BytecodeInstructionProducer
 

C

cache - Variable in class net.termer.rtflc.utils.CacheInstructionConsumer
 
CacheInstructionConsumer - Class in net.termer.rtflc.utils
Basic class to cache instructions from a producer
CacheInstructionConsumer() - Constructor for class net.termer.rtflc.utils.CacheInstructionConsumer
 
cause() - Method in exception net.termer.rtflc.runtime.RuntimeException
Returns the instruction that caused the runtime to fail
cause() - Method in class net.termer.rtflc.runtime.Scope
Returns the instruction that caused the creation of this scope
classesMatch(Class<?>[], Class<?>[]) - Static method in class net.termer.rtflc.utils.ClassUtils
Checks if two arrays of classes match eachother, ignoring primitive boxing
classMatches(Class<?>, Class<?>) - Static method in class net.termer.rtflc.utils.ClassUtils
Returns if the provided classes are effectively the same, ignoring primitive boxing
ClassUtils - Class in net.termer.rtflc.utils
Utility class to box and unblock primitives
ClassUtils() - Constructor for class net.termer.rtflc.utils.ClassUtils
 
ClauseOpenerInstruction - Interface in net.termer.rtflc.instructions
Identifier instruction to distinguish clause opener instructions with others
closeTerminal() - Method in class net.termer.rtflc.runtime.RtflRuntime
Closes terminal input
collect() - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Runs the garbage collector
comparisonType() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
compile(File, OutputStream) - Method in class net.termer.rtflc.compiler.RtflCompiler
Compiles the provided Rtfl file, applying all compiler options
compile(File, OutputStream, boolean) - Method in class net.termer.rtflc.compiler.RtflCompiler
Compiles the provided Rtfl file, applying all compiler options
compileLiteralLoads(boolean) - Method in class net.termer.rtflc.compiler.CompilerOptions
Sets whether the compiler should compile all files referenced by loads with literal paths in them.
compileLiteralLoads() - Method in class net.termer.rtflc.compiler.CompilerOptions
Returns whether the compiler should compile all files referenced by loads with literal paths in them.
compileLiteralRequires(boolean) - Method in class net.termer.rtflc.compiler.CompilerOptions
Sets whether the compiler should compile all files referenced by requires with literal paths in them.
compileLiteralRequires() - Method in class net.termer.rtflc.compiler.CompilerOptions
Returns whether the compiler should compile all files referenced by requires with literal paths in them.
COMPILER_VERSION - Static variable in class net.termer.rtflc.compiler.RtflCompiler
 
CompilerException - Exception in net.termer.rtflc.compiler
Exception to be thrown when there's an issue compiling Rtfl code
CompilerException(String) - Constructor for exception net.termer.rtflc.compiler.CompilerException
 
CompilerInstructionConsumer - Class in net.termer.rtflc.consumers
InstructionConsumer implementation that produces bytecode from RtflInstruction objects
CompilerInstructionConsumer(OutputStream, boolean) - Constructor for class net.termer.rtflc.consumers.CompilerInstructionConsumer
 
CompilerOptions - Class in net.termer.rtflc.compiler
Utility class to store Rtfl compiler options
CompilerOptions() - Constructor for class net.termer.rtflc.compiler.CompilerOptions
 
compilerVersion - Variable in class net.termer.rtflc.runtime.RtflRuntime.RtflMetadata
The version of the compiler used to compile the binary
condition() - Method in class net.termer.rtflc.instructions.IfInstruction
 
condition() - Method in class net.termer.rtflc.instructions.WhileInstruction
 
consume(RtflInstruction) - Method in class net.termer.rtflc.consumers.CompilerInstructionConsumer
 
consume(RtflInstruction) - Method in interface net.termer.rtflc.consumers.InstructionConsumer
Takes in instruction
consume(RtflInstruction) - Method in class net.termer.rtflc.consumers.RuntimeConsumer
 
consume(RtflInstruction) - Method in class net.termer.rtflc.utils.CacheInstructionConsumer
 
createLocalVar(String, RtflType) - Method in class net.termer.rtflc.runtime.Scope
Creates a new local variable with the specified name and value.

D

descend(RtflInstruction) - Method in class net.termer.rtflc.runtime.Scope
Descends a level and provides a new (non-reference) Scope for that level
DescendScopeInstruction - Class in net.termer.rtflc.instructions
 
DescendScopeInstruction() - Constructor for class net.termer.rtflc.instructions.DescendScopeInstruction
 
DoubleType - Class in net.termer.rtflc.type
 
DoubleType(double) - Constructor for class net.termer.rtflc.type.DoubleType
 

E

EndClauseInstruction - Class in net.termer.rtflc.instructions
 
EndClauseInstruction(String, int) - Constructor for class net.termer.rtflc.instructions.EndClauseInstruction
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.ArrayType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.NotAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.BoolType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.DoubleType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.IntType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.JavaObjectWrapperType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.MapType
 
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.NullType
 
equals(RtflType, Scope) - Method in interface net.termer.rtflc.type.RtflType
Checks two RtflTypes to see if they qualify as equals in Rtfl
equals(RtflType, Scope) - Method in class net.termer.rtflc.type.StringType
 
execute(RtflInstruction[]) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes Rtfl instructions at the top scope
execute(RtflInstruction[], Scope) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes Rtfl instructions
execute(String) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes a String of Rtfl code
execute(String, Scope) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes a String of Rtfl code
execute(RtflInstruction[], Scope, boolean) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes Rtfl instructions
executeAsync(RtflInstruction[], Scope) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes Rtfl instructions asynchronously
executeFile(File) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes an Rtfl file (script or bytecode) at top level
executeFile(File, Scope) - Method in class net.termer.rtflc.runtime.RtflRuntime
Executes an Rtfl file (script or bytecode)
exposeMethod(Object, String, Class<?>[]) - Method in class net.termer.rtflc.runtime.RtflRuntime
Exposes a Java method to this runtime as an Rtfl function
exposeMethodAs(Object, String, Class<?>[], String) - Method in class net.termer.rtflc.runtime.RtflRuntime
Exposes a Java method to this runtime as an Rtfl function
exposeStaticMethod(Class<?>, String, Class<?>[]) - Method in class net.termer.rtflc.runtime.RtflRuntime
Exposes a static Java method to this runtime as an Rtfl function
exposeStaticMethodAs(Class<?>, String, Class<?>[], String) - Method in class net.termer.rtflc.runtime.RtflRuntime
Exposes a static Java method to this runtime as an Rtfl function
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
extractValue(Scope) - Method in interface net.termer.rtflc.type.assignment.AssignmentType
Returns the wrapped RtflType value for this AssignmentType
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.NotAssignment
 
extractValue(Scope) - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 

F

field() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
field() - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
fileName - Variable in class net.termer.rtflc.runtime.RtflRuntime.RtflMetadata
The name of the original source file
finish() - Method in class net.termer.rtflc.consumers.CompilerInstructionConsumer
 
finish() - Method in interface net.termer.rtflc.consumers.InstructionConsumer
Tells this consumer that it is finished receiving instructions
finish() - Method in class net.termer.rtflc.consumers.RuntimeConsumer
 
finish() - Method in class net.termer.rtflc.utils.CacheInstructionConsumer
 
firstValue() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
flag(char) - Method in class net.termer.rtflc.utils.ArgParser
Returns whether the specified flag exists.
flags() - Method in class net.termer.rtflc.utils.ArgParser
Returns all flag arguments.
fromJavaType(Object) - Static method in interface net.termer.rtflc.type.RtflType
Converts the provided Java type of an RtflType object
fromMethod(Class<?>, String, Class<?>[], Object) - Static method in class net.termer.rtflc.utils.RtflFunctionBuilder
Creates a new Rtfl function from the provided Java method
fromStaticMethod(Class<?>, String, Class<?>[]) - Static method in class net.termer.rtflc.utils.RtflFunctionBuilder
Creates a new Rtfl function from the provided static Java method
FuncCallInstruction - Class in net.termer.rtflc.instructions
 
FuncCallInstruction(String, int, String, RtflType[]) - Constructor for class net.termer.rtflc.instructions.FuncCallInstruction
 
FuncDefInstruction - Class in net.termer.rtflc.instructions
 
FuncDefInstruction(String, int, String) - Constructor for class net.termer.rtflc.instructions.FuncDefInstruction
 
FuncDefInstruction(String, int, String, String[]) - Constructor for class net.termer.rtflc.instructions.FuncDefInstruction
 
function(String) - Method in class net.termer.rtflc.runtime.Scope
Returns the function with the specified name.
functionArgs() - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
functionArguments() - Method in class net.termer.rtflc.instructions.FuncCallInstruction
 
FunctionCallAssignment - Class in net.termer.rtflc.type.assignment
 
FunctionCallAssignment(String, RtflType[]) - Constructor for class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
functionName() - Method in class net.termer.rtflc.instructions.FuncCallInstruction
 
functionName() - Method in class net.termer.rtflc.instructions.FuncDefInstruction
 
functionName() - Method in class net.termer.rtflc.instructions.FuncUndefInstruction
 
functionName() - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
functions() - Method in class net.termer.rtflc.runtime.RtflRuntime
Returns all currently loaded functions
functions() - Method in class net.termer.rtflc.runtime.StandardFunctions
Returns all standard Rtfl functions
FuncUndefInstruction - Class in net.termer.rtflc.instructions
 
FuncUndefInstruction(String, int, String) - Constructor for class net.termer.rtflc.instructions.FuncUndefInstruction
 

G

garbageCollector() - Method in class net.termer.rtflc.runtime.RtflRuntime
Returns this runtime's garbage collector daemon
GarbageCollector(long, RtflRuntime) - Constructor for class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Creates a new garbage collector daemon
getMessage() - Method in exception net.termer.rtflc.producers.ProducerException
Returns the formatted error message for this exception.
getOriginFile() - Method in exception net.termer.rtflc.producers.ProducerException
The origin of the instruction that caused the producer to fail
getOriginLine() - Method in exception net.termer.rtflc.producers.ProducerException
The origin line of the instruction that caused the producer to fail
globalVarables() - Method in class net.termer.rtflc.runtime.RtflRuntime
Returns all global variables

H

hasLineNumbers - Variable in class net.termer.rtflc.runtime.RtflRuntime.RtflMetadata
Whether this binary includes the original line numbers of instructions
hasValue(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns whether the specified option has a value.

I

IfInstruction - Class in net.termer.rtflc.instructions
 
IfInstruction(String, int, RtflType) - Constructor for class net.termer.rtflc.instructions.IfInstruction
 
importJavaInterop() - Method in class net.termer.rtflc.runtime.RtflRuntime
Imports all Java interop functions into this Runtime
importStandard() - Method in class net.termer.rtflc.runtime.RtflRuntime
Imports all Rtfl standard functions into this Runtime
index() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
index() - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
initialize(RtflRuntime) - Method in interface net.termer.rtflc.RtflLibrary
Method to be run when the library is loaded
InstructionConsumer - Interface in net.termer.rtflc.consumers
Interface defining InstructionConsumers, classes that take in RtflInstruction objects and do various things with them
InstructionFunction - Class in net.termer.rtflc.runtime
Function that contains RtflInstruction objects to execute
InstructionFunction(RtflInstruction[]) - Constructor for class net.termer.rtflc.runtime.InstructionFunction
Instantiates a new InstructionFunction with the provided instructions
InstructionFunction(RtflInstruction[], String[]) - Constructor for class net.termer.rtflc.runtime.InstructionFunction
Instantiates a new InstructionFunction with the provided instructions and argument names
IntType - Class in net.termer.rtflc.type
 
IntType(int) - Constructor for class net.termer.rtflc.type.IntType
 
inverse() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
IOUtils - Class in net.termer.rtflc.utils
Utility I/O class
IOUtils() - Constructor for class net.termer.rtflc.utils.IOUtils
 
isCompiledScript(InputStream) - Static method in class net.termer.rtflc.runtime.RtflRuntime
Returns whether the stream provided contains the four byte signature for compiled Rtfl files.

J

java(String, Object[]) - Method in class net.termer.rtflc.runtime.JavaInteropFunctions
 
JavaInteropFunctions - Class in net.termer.rtflc.runtime
Utility class to setup Rtfl/Java interop functions
JavaInteropFunctions(RtflRuntime) - Constructor for class net.termer.rtflc.runtime.JavaInteropFunctions
 
JavaMethodFunction(Class<?>, String, Class<?>[], Object) - Constructor for class net.termer.rtflc.utils.RtflFunctionBuilder.JavaMethodFunction
 
JavaObjectWrapperType - Class in net.termer.rtflc.type
 
JavaObjectWrapperType(Object) - Constructor for class net.termer.rtflc.type.JavaObjectWrapperType
 
jmethod(Object, String, Object[]) - Method in class net.termer.rtflc.runtime.JavaInteropFunctions
 

L

LibraryLoader - Class in net.termer.rtflc.utils
Utility class to load jar libraries
LibraryLoader() - Constructor for class net.termer.rtflc.utils.LibraryLoader
 
loadLibrary(File) - Static method in class net.termer.rtflc.utils.LibraryLoader
Loads a jar library
loadsCompiled() - Method in class net.termer.rtflc.compiler.RtflCompiler
Returns a list of load() functions that have already been compiled
LocalVar(RtflType, String) - Constructor for class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
localVariables() - Method in class net.termer.rtflc.runtime.RtflRuntime
Returns all local variables.
LogicAssignment - Class in net.termer.rtflc.type.assignment
 
LogicAssignment(RtflType, LogicComparison, RtflType, boolean) - Constructor for class net.termer.rtflc.type.assignment.LogicAssignment
 
LogicComparison - Enum in net.termer.rtflc.utils
Enumeration for defining logical comparisons

M

Main - Class in net.termer.rtflc
 
Main() - Constructor for class net.termer.rtflc.Main
 
main(String[]) - Static method in class net.termer.rtflc.Main
 
map() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
map() - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
MapAssignInstruction - Class in net.termer.rtflc.instructions
 
MapAssignInstruction(String, int, RtflType, String, RtflType) - Constructor for class net.termer.rtflc.instructions.MapAssignInstruction
 
MapFieldAssignment - Class in net.termer.rtflc.type.assignment
 
MapFieldAssignment(RtflType, String) - Constructor for class net.termer.rtflc.type.assignment.MapFieldAssignment
 
MapType - Class in net.termer.rtflc.type
 
MapType() - Constructor for class net.termer.rtflc.type.MapType
 
MapType(Map<String, RtflType>) - Constructor for class net.termer.rtflc.type.MapType
 

N

name() - Method in class net.termer.rtflc.type.ArrayType
 
name() - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
name() - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
name() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
name() - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
name() - Method in class net.termer.rtflc.type.assignment.NotAssignment
 
name() - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 
name() - Method in class net.termer.rtflc.type.BoolType
 
name() - Method in class net.termer.rtflc.type.DoubleType
 
name() - Method in class net.termer.rtflc.type.IntType
 
name() - Method in class net.termer.rtflc.type.JavaObjectWrapperType
 
name() - Method in class net.termer.rtflc.type.MapType
 
name() - Method in class net.termer.rtflc.type.NullType
 
name() - Method in interface net.termer.rtflc.type.RtflType
The name of the type
name() - Method in class net.termer.rtflc.type.StringType
 
net.termer.rtflc - package net.termer.rtflc
 
net.termer.rtflc.compiler - package net.termer.rtflc.compiler
 
net.termer.rtflc.consumers - package net.termer.rtflc.consumers
 
net.termer.rtflc.instructions - package net.termer.rtflc.instructions
 
net.termer.rtflc.producers - package net.termer.rtflc.producers
 
net.termer.rtflc.runtime - package net.termer.rtflc.runtime
 
net.termer.rtflc.type - package net.termer.rtflc.type
 
net.termer.rtflc.type.assignment - package net.termer.rtflc.type.assignment
 
net.termer.rtflc.utils - package net.termer.rtflc.utils
 
newId() - Method in class net.termer.rtflc.runtime.RtflRuntime
Generates a new unique integer ID
NotAssignment - Class in net.termer.rtflc.type.assignment
 
NotAssignment(RtflType) - Constructor for class net.termer.rtflc.type.assignment.NotAssignment
 
notInUse - Variable in class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
NullType - Class in net.termer.rtflc.type
 
NullType() - Constructor for class net.termer.rtflc.type.NullType
 
NumberType - Interface in net.termer.rtflc.type
 

O

openTerminal() - Method in class net.termer.rtflc.runtime.RtflRuntime
Opens terminal input
option(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns whether the specified option exists.
optionChar(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns the value of the specified option as a char.
optionDouble(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns the value of the specified option as a double.
optionInt(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns the value of the specified option as an int.
options() - Method in class net.termer.rtflc.compiler.RtflCompiler
Returns this compiler's options.
options() - Method in class net.termer.rtflc.utils.ArgParser
Returns all options as a HashMap.
optionString(String) - Method in class net.termer.rtflc.utils.ArgParser
Returns the value of the specified option as a String.
originalValue() - Method in class net.termer.rtflc.type.assignment.NotAssignment
 
originFile() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.AscendScopeInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.AsyncInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.DescendScopeInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.EndClauseInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.FuncCallInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.FuncDefInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.FuncUndefInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.IfInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.ReturnInstruction
 
originFile() - Method in interface net.termer.rtflc.instructions.RtflInstruction
The name of the origin this instruction came from
originFile() - Method in class net.termer.rtflc.instructions.TryInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.VarAssignInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.VarDefInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.VarLocalDefInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.VarUndefInstruction
 
originFile() - Method in class net.termer.rtflc.instructions.WhileInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.AscendScopeInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.AsyncInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.DescendScopeInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.EndClauseInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.FuncCallInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.FuncDefInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.FuncUndefInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.IfInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.ReturnInstruction
 
originLine() - Method in interface net.termer.rtflc.instructions.RtflInstruction
The line number this instruction came from
originLine() - Method in class net.termer.rtflc.instructions.TryInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.VarAssignInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.VarDefInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.VarLocalDefInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.VarUndefInstruction
 
originLine() - Method in class net.termer.rtflc.instructions.WhileInstruction
 

P

packageLiteralLoads(boolean) - Method in class net.termer.rtflc.compiler.CompilerOptions
Sets whether the compiler should package all files referenced by loads with literal paths in them into the same file.
packageLiteralLoads() - Method in class net.termer.rtflc.compiler.CompilerOptions
Returns whether the compiler should package all files referenced by loads with literal paths in them into the same file.
packageLiteralRequires(boolean) - Method in class net.termer.rtflc.compiler.CompilerOptions
Sets whether the compiler should package all files referenced by requires with literal paths in them into the same file.
packageLiteralRequires() - Method in class net.termer.rtflc.compiler.CompilerOptions
Returns whether the compiler should package all files referenced by requires with literal paths in them into the same file.
parent() - Method in class net.termer.rtflc.runtime.Scope
Returns the parent of this Scope, null if it has none
pause() - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Pauses collector execution
paused(boolean) - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Sets whether the collector is paused
paused() - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Returns whether the garbage collector is paused
preserveLineNumbers(boolean) - Method in class net.termer.rtflc.compiler.CompilerOptions
Sets whether the compiler should preserve original source line numbers
preserveLineNumbers() - Method in class net.termer.rtflc.compiler.CompilerOptions
Returns whether the compiler should preserve original source line numbers
produce(String, InputStream, InstructionConsumer, boolean) - Static method in class net.termer.rtflc.producers.BytecodeInstructionProducer
Begins parsing bytecode and feeding it to an InstructionConsumer
produce(String, InputStream, InstructionConsumer) - Static method in class net.termer.rtflc.producers.SourcecodeInstructionProducer
 
ProducerException - Exception in net.termer.rtflc.producers
Exception to be thrown when an instruction producer fails
ProducerException(String) - Constructor for exception net.termer.rtflc.producers.ProducerException
 
ProducerException(String, String, int) - Constructor for exception net.termer.rtflc.producers.ProducerException
 

R

readCompiledMetadata(InputStream) - Static method in class net.termer.rtflc.runtime.RtflRuntime
Returns the metadata of a compiled Rtfl file.
readFile(String) - Static method in class net.termer.rtflc.utils.IOUtils
Reads an entire file into a String
readTerminal() - Method in class net.termer.rtflc.runtime.RtflRuntime
Reads a line from the terminal if terminal input is open
removeOwner(String) - Method in class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
requiresLoaded() - Method in class net.termer.rtflc.compiler.RtflCompiler
Returns a list of require() functions that have already been compiled or packaged
resolveVal(InputStream, String, int) - Static method in class net.termer.rtflc.producers.BytecodeInstructionProducer
Resolves bytecode representing a data value into an RtflType object
resolveValue(String, int, String) - Static method in class net.termer.rtflc.producers.SourcecodeInstructionProducer
Resolves a String denoting an RtflType into an RtflType object
restrictFunc(String) - Method in class net.termer.rtflc.runtime.Scope
Restricts a function from being executed in this Scope
ReturnInstruction - Class in net.termer.rtflc.instructions
 
ReturnInstruction(String, int, RtflType) - Constructor for class net.termer.rtflc.instructions.ReturnInstruction
 
returnValue() - Method in class net.termer.rtflc.instructions.ReturnInstruction
 
RTFL_VERSION - Static variable in class net.termer.rtflc.compiler.RtflCompiler
 
RTFL_VERSION - Static variable in class net.termer.rtflc.Main
 
RTFLC_VERSION - Static variable in class net.termer.rtflc.Main
 
RtflCompiler - Class in net.termer.rtflc.compiler
Main Rtfl compiler class.
RtflCompiler(CompilerOptions) - Constructor for class net.termer.rtflc.compiler.RtflCompiler
Instantiates a new Rtfl compiler with the provided settings
RtflFunction - Interface in net.termer.rtflc.runtime
Interface for defining functions
RtflFunctionBuilder - Class in net.termer.rtflc.utils
Utility class to build Rtfl functions from Java classes and methods
RtflFunctionBuilder() - Constructor for class net.termer.rtflc.utils.RtflFunctionBuilder
 
RtflFunctionBuilder.JavaMethodFunction - Class in net.termer.rtflc.utils
RtflFunction implementation that can execute a Java method and proxy its output to a proper RtflType object
RtflInstruction - Interface in net.termer.rtflc.instructions
Interface for defining Rtfl instructions
RtflLibrary - Interface in net.termer.rtflc
Basic library interface to be extended by external jar libraries
RtflMetadata(String, int, int, boolean) - Constructor for class net.termer.rtflc.runtime.RtflRuntime.RtflMetadata
 
RtflRuntime - Class in net.termer.rtflc.runtime
Main Rtfl runtime class.
RtflRuntime() - Constructor for class net.termer.rtflc.runtime.RtflRuntime
Instantiates a new Rtfl runtime
RtflRuntime.GarbageCollector - Class in net.termer.rtflc.runtime
Garbage collector daemon for local values no longer in use
RtflRuntime.LocalVar - Class in net.termer.rtflc.runtime
 
RtflRuntime.RtflMetadata - Class in net.termer.rtflc.runtime
Utility class to store Rtfl compiled file metadata
RtflType - Interface in net.termer.rtflc.type
Interface to define Rtfl data types.
rtflVersion - Variable in class net.termer.rtflc.runtime.RtflRuntime.RtflMetadata
The version of Rtfl this was compiled for
run(RtflType[], RtflRuntime, Scope) - Method in class net.termer.rtflc.runtime.InstructionFunction
 
run(RtflType[], RtflRuntime, Scope) - Method in interface net.termer.rtflc.runtime.RtflFunction
Runs the function in the provided scope.
run() - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
 
run(RtflType[], RtflRuntime, Scope) - Method in class net.termer.rtflc.utils.RtflFunctionBuilder.JavaMethodFunction
 
runtime() - Method in class net.termer.rtflc.runtime.Scope
Returns this scope's Runtime
RuntimeConsumer - Class in net.termer.rtflc.consumers
InstructionConsumer implementation that executes RtflInstruction objects
RuntimeConsumer(RtflRuntime) - Constructor for class net.termer.rtflc.consumers.RuntimeConsumer
 
RuntimeException - Exception in net.termer.rtflc.runtime
Exception to be thrown when an Rtfl runtime fails to execute an instruction
RuntimeException(String) - Constructor for exception net.termer.rtflc.runtime.RuntimeException
 
RuntimeException(String, RtflInstruction) - Constructor for exception net.termer.rtflc.runtime.RuntimeException
 

S

Scope - Class in net.termer.rtflc.runtime
Class to store information about the current scope of executing instructions
Scope(RtflRuntime, HashMap<String, Integer>, RtflInstruction) - Constructor for class net.termer.rtflc.runtime.Scope
Instantiates a new Scope object
Scope(RtflRuntime, HashMap<String, Integer>, RtflInstruction, Scope) - Constructor for class net.termer.rtflc.runtime.Scope
Instantiates a new Scope object
Scope(RtflRuntime, HashMap<String, Integer>, ArrayList<String>, RtflInstruction, Scope) - Constructor for class net.termer.rtflc.runtime.Scope
Instantiates a new Scope object
scopeStack() - Method in class net.termer.rtflc.runtime.Scope
Returns the full scope stack, starting from the top level scope down to the current scope
secondValue() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
SourcecodeInstructionProducer - Class in net.termer.rtflc.producers
Class that provides methods to parse source code into RtflInstruction objects.
SourcecodeInstructionProducer() - Constructor for class net.termer.rtflc.producers.SourcecodeInstructionProducer
 
StandardFunctions - Class in net.termer.rtflc.runtime
Utility class containing implementations of all Rtfl standard functions
StandardFunctions() - Constructor for class net.termer.rtflc.runtime.StandardFunctions
 
StringType - Class in net.termer.rtflc.type
 
StringType(String) - Constructor for class net.termer.rtflc.type.StringType
 

T

terminalOpen() - Method in class net.termer.rtflc.runtime.RtflRuntime
Returns if terminal input is open
toChar(LogicComparison) - Static method in enum net.termer.rtflc.utils.LogicComparison
Returns the character corresponding to a LogicComparison
toDouble() - Method in class net.termer.rtflc.type.BoolType
 
toDouble() - Method in class net.termer.rtflc.type.DoubleType
 
toDouble() - Method in class net.termer.rtflc.type.IntType
 
toDouble() - Method in interface net.termer.rtflc.type.NumberType
 
toInt() - Method in class net.termer.rtflc.type.BoolType
 
toInt() - Method in class net.termer.rtflc.type.DoubleType
 
toInt() - Method in class net.termer.rtflc.type.IntType
 
toInt() - Method in interface net.termer.rtflc.type.NumberType
 
toJavaType(RtflType) - Static method in interface net.termer.rtflc.type.RtflType
Converts the provided RtflType into its corresponding Java type
toPrimitive(Class<?>) - Static method in class net.termer.rtflc.utils.ClassUtils
Gets the primitive version of a boxed primitive class, like Integer.
toString() - Method in class net.termer.rtflc.instructions.ArrayAssignInstruction
 
toString() - Method in class net.termer.rtflc.instructions.AscendScopeInstruction
 
toString() - Method in class net.termer.rtflc.instructions.AsyncInstruction
 
toString() - Method in class net.termer.rtflc.instructions.DescendScopeInstruction
 
toString() - Method in class net.termer.rtflc.instructions.EndClauseInstruction
 
toString() - Method in class net.termer.rtflc.instructions.FuncCallInstruction
 
toString() - Method in class net.termer.rtflc.instructions.FuncDefInstruction
 
toString() - Method in class net.termer.rtflc.instructions.FuncUndefInstruction
 
toString() - Method in class net.termer.rtflc.instructions.IfInstruction
 
toString() - Method in class net.termer.rtflc.instructions.MapAssignInstruction
 
toString() - Method in class net.termer.rtflc.instructions.ReturnInstruction
 
toString() - Method in class net.termer.rtflc.instructions.TryInstruction
 
toString() - Method in class net.termer.rtflc.instructions.VarAssignInstruction
 
toString() - Method in class net.termer.rtflc.instructions.VarDefInstruction
 
toString() - Method in class net.termer.rtflc.instructions.VarLocalDefInstruction
 
toString() - Method in class net.termer.rtflc.instructions.VarUndefInstruction
 
toString() - Method in class net.termer.rtflc.instructions.WhileInstruction
 
toString() - Method in class net.termer.rtflc.type.ArrayType
 
toString() - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
toString() - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
toString() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
toString() - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
toString() - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 
toString() - Method in class net.termer.rtflc.type.BoolType
 
toString() - Method in class net.termer.rtflc.type.DoubleType
 
toString() - Method in class net.termer.rtflc.type.IntType
 
toString() - Method in class net.termer.rtflc.type.JavaObjectWrapperType
 
toString() - Method in class net.termer.rtflc.type.MapType
 
toString() - Method in class net.termer.rtflc.type.NullType
 
toString() - Method in class net.termer.rtflc.type.StringType
 
TryInstruction - Class in net.termer.rtflc.instructions
 
TryInstruction(String, int, String) - Constructor for class net.termer.rtflc.instructions.TryInstruction
 

U

undefineFunc(String) - Method in class net.termer.rtflc.runtime.Scope
Undefines the specified function
undefineVar(String) - Method in class net.termer.rtflc.runtime.Scope
Undefines the variable with the specified name.
unpause() - Method in class net.termer.rtflc.runtime.RtflRuntime.GarbageCollector
Resumes collector execution

V

value - Variable in class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
value() - Method in class net.termer.rtflc.type.ArrayType
 
value() - Method in class net.termer.rtflc.type.assignment.ArrayIndexAssignment
 
value() - Method in class net.termer.rtflc.type.assignment.FunctionCallAssignment
 
value() - Method in class net.termer.rtflc.type.assignment.LogicAssignment
 
value() - Method in class net.termer.rtflc.type.assignment.MapFieldAssignment
 
value() - Method in class net.termer.rtflc.type.assignment.NotAssignment
 
value() - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 
value() - Method in class net.termer.rtflc.type.BoolType
 
value() - Method in class net.termer.rtflc.type.DoubleType
 
value() - Method in class net.termer.rtflc.type.IntType
 
value() - Method in class net.termer.rtflc.type.JavaObjectWrapperType
 
value() - Method in class net.termer.rtflc.type.MapType
 
value() - Method in class net.termer.rtflc.type.NullType
 
value() - Method in interface net.termer.rtflc.type.RtflType
The Java value stored in this RtflType wrapper
value() - Method in class net.termer.rtflc.type.StringType
 
valueOf(String) - Static method in enum net.termer.rtflc.utils.LogicComparison
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.termer.rtflc.utils.LogicComparison
Returns an array containing the constants of this enum type, in the order they are declared.
VarAssignInstruction - Class in net.termer.rtflc.instructions
 
VarAssignInstruction(String, int, String, RtflType) - Constructor for class net.termer.rtflc.instructions.VarAssignInstruction
 
VarDefInstruction - Class in net.termer.rtflc.instructions
 
VarDefInstruction(String, int, String, RtflType) - Constructor for class net.termer.rtflc.instructions.VarDefInstruction
 
variableAliases() - Method in class net.termer.rtflc.runtime.Scope
Returns a map of local variable name aliases to their internal IDs
variableName() - Method in class net.termer.rtflc.instructions.TryInstruction
 
variableName() - Method in class net.termer.rtflc.instructions.VarAssignInstruction
 
variableName() - Method in class net.termer.rtflc.instructions.VarDefInstruction
 
variableName() - Method in class net.termer.rtflc.instructions.VarLocalDefInstruction
 
variableName() - Method in class net.termer.rtflc.instructions.VarUndefInstruction
 
variableName() - Method in class net.termer.rtflc.type.assignment.VarRefAssignment
 
variableValue() - Method in class net.termer.rtflc.instructions.VarDefInstruction
 
variableValue() - Method in class net.termer.rtflc.instructions.VarLocalDefInstruction
 
VarLocalDefInstruction - Class in net.termer.rtflc.instructions
 
VarLocalDefInstruction(String, int, String, RtflType) - Constructor for class net.termer.rtflc.instructions.VarLocalDefInstruction
 
VarRefAssignment - Class in net.termer.rtflc.type.assignment
 
VarRefAssignment(String) - Constructor for class net.termer.rtflc.type.assignment.VarRefAssignment
 
VarUndefInstruction - Class in net.termer.rtflc.instructions
 
VarUndefInstruction(String, int, String) - Constructor for class net.termer.rtflc.instructions.VarUndefInstruction
 
varValue(String) - Method in class net.termer.rtflc.runtime.Scope
Returns the value of the provided variable name.

W

WhileInstruction - Class in net.termer.rtflc.instructions
 
WhileInstruction(String, int, RtflType) - Constructor for class net.termer.rtflc.instructions.WhileInstruction
 
writeFile(String, String, boolean) - Static method in class net.termer.rtflc.utils.IOUtils
Writes a String to a file

_

_owners - Variable in class net.termer.rtflc.runtime.RtflRuntime.LocalVar
 
A B C D E F G H I J L M N O P R S T U V W _ 
Skip navigation links