Function URI::Template::ParseExpression¶
Defined in File Parser.h
Function Documentation¶
-
Expression
URI::Template
::
ParseExpression
(const std::string &expr_string)¶ Parse string for a single URI-template expression instance.
Expression here considered to be an operator and a list of variables with modifiers, if any.
expr_string
should not contain leading and trailing brackets {}, just a single expression.- Parameters
[in] expr_string – String to parse.
- Throws
std::runtime_error – if failed to parse.
- Returns
Expression instance parsed from
expr_string
.