▼NTorqueScript | |
►NAST | |
CASTNode | Base AST node class. All AST nodes should derive from this class |
CProgramNode | |
CFunctionDeclarationNode | |
CPackageDeclarationNode | |
CFieldAssignNode | |
CObjectDeclarationNode | |
CDatablockDeclarationNode | |
CFunctionCallNode | |
CSubFunctionCallNode | |
CSubFieldNode | |
CInfixExpressionNode | |
CAddNode | |
CSubtractNode | |
CMultiplyNode | |
CDivideNode | |
CConcatNode | |
CEqualsNode | |
CAssignmentNode | |
CLessThanNode | |
CUnaryNode | |
CNegateNode | |
CNotNode | |
CIncrementNode | |
CDecrementNode | |
CValueNode | |
CIntegerNode | |
CFloatNode | |
CStringNode | |
CTaggedStringNode | |
CLocalVariableNode | |
CGlobalVariableNode | |
CArrayNode | |
CWhileNode | |
CForNode | |
CReturnNode | |
CBreakNode | |
CTernaryNode | |
CSwitchCaseNode | |
CSwitchNode | |
CElseIfNode | |
CIfNode | |
CASTBuilder | |
CASTVisitor | |
►NInstructions | |
CInstruction | Base instruction class. All instructions in the interpreter should dervive from this class and implement all virtual members |
CPushFloatInstruction | Push float instruction. This will push a floating point value to the system stack for later use in execution |
CPushIntegerInstruction | Push integer instruction. This will push an integer value to the system stack for later use in execution |
CPushStringInstruction | Push string instruction. This will push a string value to the system stack for later use in execution |
CPushLocalReferenceInstruction | Push a reference to a named local variable. The parameter provided here should be excluding the '' prefix |
CPushGlobalReferenceInstruction | Push a reference to a named global variable. The parameter provided here should be excluding the '$' prefix |
CAddAssignmentInstruction | Performs an addition of two values on the stack and assigns the result |
CAssignmentInstruction | Assign to lhs with whatever is on rhs |
CConcatInstruction | Concatenates two values at the top of the stack and pushes back the result |
CNegateInstruction | Negate a value on the stack |
CNotInstruction | Invert the truthfulness of a value on the stack |
CCallFunctionInstruction | Calls a function registered within the current interpreter |
CAddInstruction | Adds together two values on the stack and pushes the sum |
CLessThanInstruction | Compares two values on the stack using a less than relation |
CEqualsInstruction | Compares two values on the stack using an equality |
CBitwiseAndInstruction | Performs a bitwise AND against two values |
CMultiplyInstruction | Multiplies together two values on the stack and pushes the result back to the stack |
CDivideInstruction | Performs a divide on two values at the top of the stack, pushing the result back |
CPopInstruction | Pops a value from the stack, discarding it |
CJumpInstruction | Unconditionally jumps to the specified instruction offset |
CJumpTrueInstruction | 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 |
CJumpFalseInstruction | 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 |
CNOPInstruction | Instruction that does nothing. It usually is used to pad jumps in order to provide safe jump targets within the current program space |
CFunctionDeclarationInstruction | Registers a callable function to the registry in the current interpreter |
CSubReferenceInstruction | |
CReturnInstruction | 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 |
CPushLoopInstruction | Used to keep track of loops in the virtual instructions. This instruction marks the start of a loop control construct |
CPopLoopInstruction | Used to keep track of loops in the virtual instructions. This instruction marks the end of a loop control construct |
CBreakInstruction | Breaks out of the current loop, ending all possible loop iterations immediately |
CAccessArrayInstruction | 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 |
CCallBoundFunctionInstruction | Calls a function that is bound to an object identified on the stack |
CPushObjectInstantiationInstruction | |
CPushObjectFieldInstruction | |
CPopObjectInstantiationInstruction | |
CCodeBlock | 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 |
CCompiler | 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 |
CConsoleObjectDescriptor | |
CTypeInformation | |
CConsoleObject | 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 |
CTypeInformation< ConsoleObject > | |
CConsoleObjectRegistry | |
CLoopDescriptor | |
CObjectInstantiationDescriptor | Struct describing a tree of console object initializations |
CExecutionScopeData | |
CExecutionScope | A specific scope of execution - this is used to delineate local variables primarily |
CExecutionState | Execution state structure - this is passed around internally in the virtual machine for arbitrary access |
CFileHandleBase | |
CFileObject | A FileObject is a class that may be used to interact with the filesystem provided by the PlatformContext configured with the interpreter |
CFunction | 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 |
CFunctionRegistry | A FunctionRegistry is used to keep track of registered functions in memory by the packages they are associated with |
CInstructionSequence | Storage class for a sequence of instructions to be executed. Also implements the primary execution code for running Torque Script virtual instructions |
CInterpreter | The interpreter class represents a high level instance of the TorqueScript interpreter. It is where execution control flow begins |
CInterpreterConfiguration | A structure representing overall interpreter runtime configuration. Some settings can be changed at runtime while others are static once initialized |
CNativeFunction | A NativeFunction is a specialization of Function that allows native C++ programming to be called from within the interpreter |
CParserErrorListener | |
CPlatformContext | |
CStandardFileHandle | |
CStoredValueUnion | |
CStoredValue | 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) |
CStoredValueStack | Storage class used to keep variable values in-memory of arbitrary data types. This is the base class and should not be instantiated directly |
CStringTable | 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 |