Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilReflectionParser.h |
| Include | #include "NUTUtilReflectionParser.h" |
Syntax
class FVMReflectionParser
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionGrammar | Grammar | Used to define the lexical grammar for how an expression should be parsed, e.g. defining operators/preoperators etc. | |
| TOperatorJumpTable< FContextPointer > | OpJumpTable | Table for mapping operator definitions, to a function which should evaluate the operator | |
| TOperatorJumpTable< FTestResultPointer > | TestOpJumpTable | Table for test operators | |
| FTokenDefinitions | TokenDefinitions | A dictionary used for defining how tokens are lexed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Base constructorFVMReflectionParser |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TValueOrError< TSharedPtr< FVMReflection >, FExpressionError > | Evaluate the given reflection expression, into an FVMReflection instance | ||
| TValueOrError< FString, FExpressionError > | EvaluateString
(
const TCHAR* InExpression, |
As above, except converts whatever the final reflection state points to, into a human readable string | |
| TOptional< FStringToken > | ParseArraySubscript
(
const FTokenStream& InStream, |
Attempts to parse an array subscript operator, Array[Num], from the stream | |
| TOptional< FStringToken > | ParseIdentifier
(
const FTokenStream& InStream, |
Attempts to parse an identifier token (variable/function name) from the stream | |
| void | Initializes automated testing parser parameters. | ||
| TValueOrError< FString, FExpressionError > | TestEvaluate
(
const TCHAR* InExpression |
Evaluates a test expression |