Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
Include |
#include "Misc/ExpressionParserTypes.h" |
class FTokenStream
A token stream wraps up a raw string, providing accessors into it for consuming tokens
Name | Description | |
---|---|---|
|
FTokenStream ( |
|
Name | Description | ||
---|---|---|---|
|
CharsRemaining() |
Get the number of characters remaining in the stream after the current read position |
|
|
GenerateToken ( |
Generate a token for the specified number of chars, at the current read position (or end of Accumulate) |
|
|
const TCHAR ... |
GetEnd() |
|
|
GetErrorContext() |
Get the error context from the current read position |
|
|
GetPosition() |
Get the current read position from the start of the stream |
|
|
const TCHAR ... |
GetRead() |
|
|
const TCHAR ... |
GetStart() |
|
|
IsEmpty() |
Check if the stream is empty |
|
|
IsReadPosValid |
Check if it is valid to read (the optional number of characters) from the specified position |
|
|
ParseSymbol ( |
Return a string token for the next character in the stream (or accumulating into the specified existing token) |
|
|
ParseSymbol ( |
Attempt parse out the specified pre-defined string from the current read position (or accumulating into the specified existing token) |
|
|
ParseToken ( |
Parse out a token using the supplied predicate. |
|
|
ParseToken ( |
Attempt parse out the specified pre-defined string from the current read position (or accumulating into the specified existing token) |
|
|
ParseTokenIgnoreCase ( |
Parse out a token using the supplied predicate. |
|
|
ParseWhitespace ( |
Parse a whitespace token |
|
|
PeekChar ( |
Peek at the character at the specified offset from the current read position |
|
|
SetReadPos ( |
Set the current read position to the character proceeding the specified token |