UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSyntaxTokenizer Class Reference

#include <SyntaxTokenizer.h>

+ Inheritance diagram for FSyntaxTokenizer:

Classes

struct  FRule
 

Public Member Functions

virtual SLATE_API ~FSyntaxTokenizer ()
 
virtual SLATE_API void Process (TArray< FTokenizedLine > &OutTokenizedLines, const FString &Input) override
 
- Public Member Functions inherited from ISyntaxTokenizer
virtual ~ISyntaxTokenizer ()
 

Static Public Member Functions

static SLATE_API TSharedRef< FSyntaxTokenizerCreate (TArray< FRule > InRules)
 

Additional Inherited Members

- Public Types inherited from ISyntaxTokenizer
enum class  ETokenType : uint8 { Syntax , Literal }
 

Detailed Description

Tokenize the text based upon the given rule set

Constructor & Destructor Documentation

◆ ~FSyntaxTokenizer()

FSyntaxTokenizer::~FSyntaxTokenizer ( )
virtual

Member Function Documentation

◆ Create()

TSharedRef< FSyntaxTokenizer > FSyntaxTokenizer::Create ( TArray< FRule InRules)
static

Create a new tokenizer which will use the given rules to match syntax tokens

Parameters
InRulesRules to control the tokenizer, processed in-order so the most greedy matches must come first

◆ Process()

void FSyntaxTokenizer::Process ( TArray< FTokenizedLine > &  OutTokenizedLines,
const FString &  Input 
)
overridevirtual

Implements ISyntaxTokenizer.


The documentation for this class was generated from the following files: