▼CTorqueScript::AST::ASTNode | Base AST node class. All AST nodes should derive from this class |
CTorqueScript::AST::ArrayNode | |
CTorqueScript::AST::BreakNode | |
CTorqueScript::AST::DatablockDeclarationNode | |
CTorqueScript::AST::ElseIfNode | |
CTorqueScript::AST::FieldAssignNode | |
CTorqueScript::AST::ForNode | |
CTorqueScript::AST::FunctionCallNode | |
CTorqueScript::AST::FunctionDeclarationNode | |
CTorqueScript::AST::IfNode | |
►CTorqueScript::AST::InfixExpressionNode | |
CTorqueScript::AST::AddNode | |
CTorqueScript::AST::AssignmentNode | |
CTorqueScript::AST::ConcatNode | |
CTorqueScript::AST::DivideNode | |
CTorqueScript::AST::EqualsNode | |
CTorqueScript::AST::LessThanNode | |
CTorqueScript::AST::MultiplyNode | |
CTorqueScript::AST::SubtractNode | |
CTorqueScript::AST::ObjectDeclarationNode | |
CTorqueScript::AST::PackageDeclarationNode | |
CTorqueScript::AST::ReturnNode | |
CTorqueScript::AST::SubFieldNode | |
CTorqueScript::AST::SubFunctionCallNode | |
CTorqueScript::AST::SwitchCaseNode | |
CTorqueScript::AST::SwitchNode | |
CTorqueScript::AST::TernaryNode | |
►CTorqueScript::AST::UnaryNode | |
CTorqueScript::AST::DecrementNode | |
CTorqueScript::AST::IncrementNode | |
CTorqueScript::AST::NegateNode | |
CTorqueScript::AST::NotNode | |
►CTorqueScript::AST::ValueNode | |
CTorqueScript::AST::FloatNode | |
CTorqueScript::AST::GlobalVariableNode | |
CTorqueScript::AST::IntegerNode | |
CTorqueScript::AST::LocalVariableNode | |
CTorqueScript::AST::StringNode | |
CTorqueScript::AST::TaggedStringNode | |
CTorqueScript::AST::WhileNode | |
▼CTorqueScript::AST::ASTVisitor | |
CTorqueScript::Compiler | Primary compiler class. This class is an AST visitor that walks the AST tree generated by a AST::ASTBuilder instance to generate an InstructionSequence instance |
▼Cantlr4::BaseErrorListener | |
CTorqueScript::ParserErrorListener | |
CTorqueScript::CodeBlock | A CodeBlock defines a piece of executable code generated from a single input (Ie. a file). This includes global executable code and subroutines, datablocks, etc |
▼CTorqueScript::ConsoleObject | Base class for object instances recognized by the interpreter. These object instances may contain member fields addressable the interpreter as well as tagged fields which are arbitrarily mapped values |
CTorqueScript::FileObject | A FileObject is a class that may be used to interact with the filesystem provided by the PlatformContext configured with the interpreter |
CTorqueScript::ConsoleObjectDescriptor | |
CTorqueScript::ConsoleObjectRegistry | |
CTorqueScript::ExecutionScope | A specific scope of execution - this is used to delineate local variables primarily |
CTorqueScript::ExecutionScopeData | |
CTorqueScript::ExecutionState | Execution state structure - this is passed around internally in the virtual machine for arbitrary access |
▼CTorqueScript::FileHandleBase | |
CTorqueScript::StandardFileHandle | |
▼CTorqueScript::Function | A function is callable subroutine from anywhere in the language, defined by a script. A NativeFunction is a specialization of this that allows native C++ programming to be called from within the interpreter |
CTorqueScript::NativeFunction | A NativeFunction is a specialization of Function that allows native C++ programming to be called from within the interpreter |
CTorqueScript::FunctionRegistry | A FunctionRegistry is used to keep track of registered functions in memory by the packages they are associated with |
▼CTorqueScript::Instructions::Instruction | Base instruction class. All instructions in the interpreter should dervive from this class and implement all virtual members |
CTorqueScript::Instructions::AccessArrayInstruction | Accesses an array on a local or global variable. Technically, we just take all array indices and use them to generate a new variable name to emulate array accesses |
CTorqueScript::Instructions::AddAssignmentInstruction | Performs an addition of two values on the stack and assigns the result |
CTorqueScript::Instructions::AddInstruction | Adds together two values on the stack and pushes the sum |
CTorqueScript::Instructions::AssignmentInstruction | Assign to lhs with whatever is on rhs |
CTorqueScript::Instructions::BitwiseAndInstruction | Performs a bitwise AND against two values |
CTorqueScript::Instructions::BreakInstruction | Breaks out of the current loop, ending all possible loop iterations immediately |
CTorqueScript::Instructions::CallBoundFunctionInstruction | Calls a function that is bound to an object identified on the stack |
CTorqueScript::Instructions::CallFunctionInstruction | Calls a function registered within the current interpreter |
CTorqueScript::Instructions::ConcatInstruction | Concatenates two values at the top of the stack and pushes back the result |
CTorqueScript::Instructions::DivideInstruction | Performs a divide on two values at the top of the stack, pushing the result back |
CTorqueScript::Instructions::EqualsInstruction | Compares two values on the stack using an equality |
CTorqueScript::Instructions::FunctionDeclarationInstruction | Registers a callable function to the registry in the current interpreter |
CTorqueScript::Instructions::JumpFalseInstruction | Jumps to the specified instruction offset if a condition is false. The condition checked is the value at the top of the stack coerced to a boolean. If the condition is true, this instruction only pops the stack |
CTorqueScript::Instructions::JumpInstruction | Unconditionally jumps to the specified instruction offset |
CTorqueScript::Instructions::JumpTrueInstruction | Jumps to the specified instruction offset if a condition is true. The condition checked is the value at the top of the stack coerced to a boolean. If the condition is false, this instruction only pops the stack |
CTorqueScript::Instructions::LessThanInstruction | Compares two values on the stack using a less than relation |
CTorqueScript::Instructions::MultiplyInstruction | Multiplies together two values on the stack and pushes the result back to the stack |
CTorqueScript::Instructions::NOPInstruction | Instruction that does nothing. It usually is used to pad jumps in order to provide safe jump targets within the current program space |
CTorqueScript::Instructions::NegateInstruction | Negate a value on the stack |
CTorqueScript::Instructions::NotInstruction | Invert the truthfulness of a value on the stack |
CTorqueScript::Instructions::PopInstruction | Pops a value from the stack, discarding it |
CTorqueScript::Instructions::PopLoopInstruction | Used to keep track of loops in the virtual instructions. This instruction marks the end of a loop control construct |
CTorqueScript::Instructions::PopObjectInstantiationInstruction | |
CTorqueScript::Instructions::PushFloatInstruction | Push float instruction. This will push a floating point value to the system stack for later use in execution |
CTorqueScript::Instructions::PushGlobalReferenceInstruction | Push a reference to a named global variable. The parameter provided here should be excluding the '$' prefix |
CTorqueScript::Instructions::PushIntegerInstruction | Push integer instruction. This will push an integer value to the system stack for later use in execution |
CTorqueScript::Instructions::PushLocalReferenceInstruction | Push a reference to a named local variable. The parameter provided here should be excluding the '' prefix |
CTorqueScript::Instructions::PushLoopInstruction | Used to keep track of loops in the virtual instructions. This instruction marks the start of a loop control construct |
CTorqueScript::Instructions::PushObjectFieldInstruction | |
CTorqueScript::Instructions::PushObjectInstantiationInstruction | |
CTorqueScript::Instructions::PushStringInstruction | Push string instruction. This will push a string value to the system stack for later use in execution |
CTorqueScript::Instructions::ReturnInstruction | Ends execution in the current function immediately. It will take one value from the top of the stack and push it to the parent stack before returning |
CTorqueScript::Instructions::SubReferenceInstruction | |
CTorqueScript::Interpreter | The interpreter class represents a high level instance of the TorqueScript interpreter. It is where execution control flow begins |
CTorqueScript::InterpreterConfiguration | A structure representing overall interpreter runtime configuration. Some settings can be changed at runtime while others are static once initialized |
CTorqueScript::LoopDescriptor | |
CTorqueScript::ObjectInstantiationDescriptor | Struct describing a tree of console object initializations |
CTorqueScript::PlatformContext | |
CTorqueScript::AST::ProgramNode | |
CTorqueScript::StoredValue | Storage class used to keep variable values in-memory of arbitrary data types. The data types supported as integers, floats and strings (via string ID table references) |
CTorqueScript::StoredValueUnion | |
▼CTorqueBaseVisitor | |
CTorqueScript::AST::ASTBuilder | |
CTorqueScript::TypeInformation< classType > | |
CTorqueScript::TypeInformation< ConsoleObject > | |
▼Cstd::unordered_map | |
CTorqueScript::StringTable | A string table maintains a mapping of numeric identifiers to their raw string values. This is used to simplify code referencing strings by using a fixed width identifier |
▼Cstd::vector | |
CTorqueScript::InstructionSequence | Storage class for a sequence of instructions to be executed. Also implements the primary execution code for running Torque Script virtual instructions |
CTorqueScript::StoredValueStack | Storage class used to keep variable values in-memory of arbitrary data types. This is the base class and should not be instantiated directly |