Plasma Engine  2.0
Loading...
Searching...
No Matches
plTokenParseUtils::TokenMatch Struct Reference

A token to be matched by the plTokenParseUtils::Accept overload for arrays of tokens. Can either match a token string or type. If type is plTokenType::Unknown, the token string will be matched. More...

#include <TokenParseUtils.h>

Public Member Functions

 TokenMatch (plStringView sToken)
 This matches a token string of any type.
 
 TokenMatch (plTokenType::Enum type)
 This matches a token type of any string value.
 
 TokenMatch (plTokenType::Enum type, plStringView sToken)
 For internal use. Use one of the other constructors instead.
 

Public Attributes

plTokenType::Enum m_Type = plTokenType::Unknown
 
plStringView m_sToken
 

Detailed Description

A token to be matched by the plTokenParseUtils::Accept overload for arrays of tokens. Can either match a token string or type. If type is plTokenType::Unknown, the token string will be matched.


The documentation for this struct was generated from the following file: