engine
 
载入中...
搜索中...
未找到
类 | Public 类型 | 静态 Public 成员函数 | 所有成员列表
FSyntaxTokenizer类 参考

Tokenize the text based upon the given rule set 更多...

#include <SyntaxTokenizer.h>

类

struct  FRule
 Rule used to match syntax token types 更多...
 
struct  FToken
 A token referencing a range in the original text 更多...
 
struct  FTokenizedLine
 A line containing a series of tokens 更多...
 

Public 类型

enum class  ETokenType : uint8 { Syntax , Literal }
 Denotes the type of token 更多...
 

静态 Public 成员函数

static TSharedRef< FSyntaxTokenizer > Create (TArray< FRule > InRules)
 Create a new tokenizer which will use the given rules to match syntax tokens 更多...
 

详细描述

Tokenize the text based upon the given rule set

成员枚举类型说明

◆ ETokenType

enum class FSyntaxTokenizer::ETokenType : uint8
strong

Denotes the type of token

枚举值
Syntax 

Syntax token matching the tokenizing rules provided

Literal 

String token containing some literal text

成员函数说明

◆ Create()

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

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

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

该类的文档由以下文件生成: