UriTemplateVarSpec.parseUriTemplateVarSpec
private fn
UriTemplateVarSpec parseUriTemplateVarSpec(string exprStr, ref size_t i, size_t basePos) @safeParse a varspec starting at i inside an expression.
Parameters
exprStr | Expression body. |
i | Current position inside exprStr (advanced past the varspec). |
basePos | Byte offset in the original template, used for error reporting. |
Returns
The parsed
Throws
UriTemplateException on invalid syntax.