Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMCompiler
Inheritance Hierarchy
- FRigVMExprAST
- FRigVMVarExprAST
- FRigVMExternalVarExprAST
- FRigVMLiteralExprAST
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h |
| Include | #include "RigVMCompiler/RigVMAST.h" |
Syntax
class FRigVMVarExprAST : public FRigVMExprAST
Remarks
An abstract syntax tree var expression represents the definition of mutable memory for a single variable. In C++ the var expression is a variable declaration: int A; The var expression references a pin from the model.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRigVMVarExprAST
(
const FRigVMVarExprAST& |
Disable copy constructor | ||
FRigVMVarExprAST
(
EType InType, |
Default constructor (protected so that only parser can access it) |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | GetCPPType () |
Returns the C++ data type of this variable | |
| UObject * | Returns the C++ data type object (ustruct / uenum) | ||
| FString | Returns the default value on the pin for this variable | ||
| URigVMPin * | GetPin () |
Returns the pin in the model this variable is representing | |
| ERigVMPinDirection | Returns the pin direction of this variable (input, output, hidden etc) | ||
| const FRigVMASTProxy & | GetProxy () |
Returns the proxy this expression is using | |
| bool | IsEnumValue () |
Returns true if this is a constant enum index | |
| bool | Returns true if this variable is an execute context | ||
| bool | Returns true if this variable is a graph variable | ||
| bool | Returns true if this variable allows links to be "soft", so without a cache / computed value. |
Overridden from FRigVMExprAST
| Type | Name | Description | |
|---|---|---|---|
| bool | Overload of the type checking mechanism | ||
| bool | IsConstant () |
Returns true if this expressions is constant (non varying) |