Navigation
API > API/Runtime > API/Runtime/Slate
Tokenize the text based upon the given rule set
| Name | FSyntaxTokenizer |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/SyntaxTokenizer.h |
| Include Path | #include "Framework/Text/SyntaxTokenizer.h" |
Syntax
class FSyntaxTokenizer : public ISyntaxTokenizer
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Framework/Text/SyntaxTokenizer.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSyntaxTokenizer() |
Framework/Text/SyntaxTokenizer.h |
Structs
| Name | Remarks |
|---|---|
| FRule | Rule used to match syntax token types |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Rules | TArray< FRule > | Rules to control the tokenizer, processed in-order so the most greedy matches must come first | Framework/Text/SyntaxTokenizer.h |
Functions
Public
Overridden from ISyntaxTokenizer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Process
(
TArray< FTokenizedLine >& OutTokenizedLines, |
Framework/Text/SyntaxTokenizer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FSyntaxTokenizer > Create
(
TArray< FRule > InRules |
Create a new tokenizer which will use the given rules to match syntax tokens | Framework/Text/SyntaxTokenizer.h |