FSyntaxTokenizer

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/SyntaxTokenizer.h

Include

#include "Framework/Text/SyntaxTokenizer.h"

Syntax

class FSyntaxTokenizer

Remarks

Tokenize the text based upon the given rule set

Constructors

No constructors are accessible with public or protected access.

Destructors

Name Description

Public function Virtual

~FSyntaxTokenizer()

Functions

Name Description

Public function Static

TSharedRef< ...

 

Create

(
    TArray< FRule > InRules
)

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

Public function

void

 

Process

(
    TArray< FTokenizedLine >& OutToken...,
    const FString& Input
)

Classes

Name

Description

Public struct

FRule

Rule used to match syntax token types

Public struct

FToken

A token referencing a range in the original text

Public struct

FTokenizedLine

A line containing a series of tokens

Enums

Name

Description

Public enum

ETokenType

Denotes the type of token

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss