FExpressionTokenConsumer

Class used to consume tokens from a string

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/ExpressionParserTypes.h"

Syntax

class FExpressionTokenConsumer

Remarks

Class used to consume tokens from a string

Constructors

Name Description

Public function

FExpressionTokenConsumer

(
    const TCHAR* InExpression
)

Construction from a raw string. The consumer is only valid as long as the string is valid

Functions

Name Description

Public function

void

 

Add

(
    const FStringToken& SourceToken,
    FExpressionNode&& Node
)

Add an expression node to the consumer, specifying the FStringToken this node relates to.

Public function

TArray< FExp...

 

Extract()

Extract the list of tokens from this consumer

Public function

FTokenStream...

 

GetStream()

Get the expression stream

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