tokens#
Fully qualified name: carb::tokens
Enumerations#
- ResolveResult
 Possible result of resolving tokens.
- StringEndingMode
 Possible options for ending of the resolved string.
Functions#
- std::string escapeString(carb::cpp::string_view str)
 A helper function that escapes necessary symbols in the provided string so that they won't be recognized as related to token parsing.
- std::string resolveString(const ITokens *tokens, carb::cpp::string_view str, ResolveFlags resolveFlags=kResolveFlagNone, ResolveResult *resolveResult=nullptr)
 Helper for resolving a token string.
Structs#
- ITokens
 Interface for storing tokens and resolving strings containing them.
Typedefs#
- ResolveFlags
 Flags for token resolution algorithm.
Variables#
- const ResolveFlags kResolveFlagLeaveTokenIfNotFound
 If cannot resolve token in a string then leave it as is.
- const ResolveFlags kResolveFlagNone
 Default token resolution process.