Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMCompiler
Inheritance Hierarchy
- TSharedFromThis
- FRigVMParserAST
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h |
| Include | #include "RigVMCompiler/RigVMAST.h" |
Syntax
class FRigVMParserAST : public TSharedFromThis< FRigVMParserAST >
Remarks
The abstract syntax tree parser is the main object to parse a RigVM model graph. It's the memory owner for all expressions and provides functionality for introspection of the tree. The abstract syntax tree is then fed into the RigVMCompiler to generate the byte code for the virtual machine.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRigVMParserAST
(
TArray< URigVMGraph* > InGraphs, |
Default constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRigVMExprAST * | At
(
int32 InIndex |
Accessor method for a given root expression | |
| TArray< FRigVMExprAST * >::RangedForConstIteratorType | begin () |
Begin iterator accessor for the root expressions | |
| bool | Performs a cycle check for a new potential link (assign or copy) between two pins. | ||
| FString | DumpDot () |
Returns a string containing a dot file notation for debugging purposes. | |
| FString | DumpText () |
Returns a string containing an indented tree structure for debugging purposes. | |
| TArray< FRigVMExprAST * >::RangedForConstIteratorType | end () |
End iterator accessor for the root expressions | |
| TArray< const FRigVMExprAST * > | GetExpressionsForSubject
(
UObject* InSubject |
Returns all expressions for a given subject. subjects include nodes and pins. | |
| const FRigVMExprAST * | GetExprForSubject
(
const FRigVMASTProxy& InProxy |
Returns the expression for a given subject. subjects include nodes and pins. | |
| FRigVMBlockExprAST * | GetObsoleteBlock
(
bool bCreateIfMissing |
Returns an obsolete block for unmanaged expression | |
| const FRigVMBlockExprAST * | GetObsoleteBlock
(
bool bCreateIfMissing |
Returns an obsolete block for unmanaged expression | |
| const URigVMPin::FPinOverrideMap & | Returns the AST's override table for pin defaults | ||
| const FRigVMParserASTSettings & | GetSettings () |
Returns the settings used for this parser | |
| int32 | Num () |
Returns the number of root expressions | |
| void | PrepareCycleChecking
(
URigVMPin* InPin |
Prepares the parser for cycle checking on a given pin. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| const FRigVMExprAST * | operator[]
(
int32 InIndex |
Operator accessor for a given root expression |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ETraverseRelationShip |
Constants
| Name | Description |
|---|---|
| EmptyProxyArray |