Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
An abstract syntax tree literal expression represents the definition of const memory for a single variable - vs a var expression which is mutable. In C++ the literal expression is a literal declaration, for ex: const float PI = 3.14f; The literal expression references a pin from the model.
| Name | FRigVMLiteralExprAST |
| Type | class |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h |
| Include Path | #include "RigVMCompiler/RigVMAST.h" |
Syntax
class FRigVMLiteralExprAST : public FRigVMVarExprAST
Inheritance Hierarchy
- FRigVMExprAST → FRigVMVarExprAST → FRigVMLiteralExprAST
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMLiteralExprAST
(
const FRigVMLiteralExprAST& |
Disable copy constructor | RigVMCompiler/RigVMAST.h | |
FRigVMLiteralExprAST
(
const FRigVMASTProxy& InPinProxy |
Default constructor (protected so that only parser can access it) | RigVMCompiler/RigVMAST.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRigVMLiteralExprAST() |
Virtual destructor | RigVMCompiler/RigVMAST.h |
Functions
Public
Overridden from FRigVMExprAST
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsA
(
EType InType |
Overload of the type checking mechanism | RigVMCompiler/RigVMAST.h | |
virtual bool IsConstant() |
Returns true if this expressions is constant (non varying) | RigVMCompiler/RigVMAST.h |