FTokenStream::ParseToken

Parse out a token using the supplied predicate.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/ExpressionParserTypes.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/ExpressionParser.cpp

Syntax

TOptional< FStringToken > ParseToken
(
    TFunctionRef< EParseState)> Pred,
    FStringToken * Accumulate
) const

Remarks

Parse out a token using the supplied predicate. Will keep consuming characters into the resulting token provided the predicate returns EParseState::Continue or EParseState::StopAfter. Optionally supply a token to accumulate into Returns a string token for the stream, or empty on error

Parse out 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