WPILibC++
unspecified
|
syntax analysis More...
Public Member Functions | |
parser (wpi::raw_istream &s, const parser_callback_t cb=nullptr) | |
a parser reading from an input adapter | |
json | parse (bool strict=true) |
public parser interface More... | |
bool | accept (bool strict=true) |
public accept interface More... | |
syntax analysis
This class implements a recursive decent parser.
bool wpi::json::parser::accept | ( | bool | strict = true | ) |
public accept interface
[in] | strict | whether to expect the last token to be EOF |
json wpi::json::parser::parse | ( | bool | strict = true | ) |
public parser interface
[in] | strict | whether to expect the last token to be EOF |
parse_error.101 | in case of an unexpected token |
parse_error.102 | if to_unicode fails or surrogate error |
parse_error.103 | if to_unicode fails |