Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/TextFilterExpressionEvaluator.h |
Include |
#include "Misc/TextFilterExpressionEvaluator.h" |
class FTextFilterExpressionEvaluator
Defines an expression evaluator that can be used to perform complex text filter queries
Name | Description | ||
---|---|---|---|
|
CompiledFilter |
The compiled filter created from the current filter text (compiled from FilterText) |
|
|
CompiledFilterSingleBasicStringTextToken |
If there is only one token that is basic string it will be stored here to avoid recompile per item compared. |
|
|
ExpressionEvaluatorMode |
Defines whether or not the expression parser can evaluate complex expressions |
|
|
ExpressionTokens |
The filter expression tokens created from the current filter text (lexed from FilterText) |
|
|
FilterErrorText |
The last error returned from lexing or compiling the current filter text |
|
|
FilterText |
The the filter terms that we're currently using (compiled into CompiledFilter) |
|
|
FilterType |
The cached complexity of the current filter terms |
|
|
FExpressionGram... |
Grammar |
|
|
JumpTable |
||
|
FTokenDefinitio... |
TokenDefinitions |
Expression parser |
|
TokenFunctionHandlers |
Mapping of function names to their callbacks |
Name | Description | |
---|---|---|
|
FTextFilterExpressionEvaluator ( |
Construction and assignment |
|
FTextFilterExpressionEvaluator ( |
Name | Description | |
---|---|---|
|
~FTextFilterExpressionEvaluator() |
Name | Description | ||
---|---|---|---|
|
AddFunctionTokenCallback ( |
Helper function to add callbacks for function tokens |
|
|
ConstructExpressionParser() |
Common function to construct the expression parser |
|
|
EvaluateCompiledExpression ( |
Evaluate the given compiled result, and optionally populate OutErrorText with any error information |
|
|
GetFilterErrorText() |
Get the last error returned from lexing or compiling the current filter text |
|
|
const TArray... |
GetFilterExpressionTokens() |
Get the filter expression tokens created from the current filter text |
|
GetFilterText() |
Get the filter terms that we're currently using |
|
|
ETextFilterE... |
GetFilterType() |
Get the complexity of the current filter terms |
|
SetFilterText ( |
Set the filter terms to be compiled for evaluation later. |
|
|
SetupGrammar() |
Sets up grammar used for evaluation |
|
|
TestTextFilter ( |
Test our compiled filter using the given context |
Name | Description | ||
---|---|---|---|
|
FTextFilterE... |
operator= ( |