FTokenDefinitions

A lexeme dictionary defining how to lex an expression.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h

Include

#include "Misc/ExpressionParserTypes.h"

Syntax

class FTokenDefinitions

Remarks

A lexeme dictionary defining how to lex an expression.

Constructors

Name Description

Public function

FTokenDefinitions()

Functions

Name Description

Public function Const

TOptional< F...

 

ConsumeTokens

(
    FExpressionTokenConsumer& Consumer
)

Consume a token for the specified consumer

Public function

void

 

DefineToken

(
    TFunction< FExpressionDefinition > ...
)

Define a token by way of a function to be invoked to attempt to parse a token from a stream

Public function

bool

 

DoesIgnoreWhitespace()

Check if the grammar ignores whitespace

Public function

void

 

IgnoreWhitespace()

Define the grammar to ignore whitespace between tokens, unless explicitly included in a 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