|
Instrument Neutral Distributed Interface INDI 2.2.5
|
syntax analysis More...
#include <indijson.hpp>
Public Member Functions | |
| *a parser reading from an input adapter | parser (InputAdapterType &&adapter, const parser_callback_t< BasicJsonType > cb=nullptr, const bool allow_exceptions_=true, const bool skip_comments=false) |
| void | parse (const bool strict, BasicJsonType &result) |
| public parser interface | |
| bool | accept (const bool strict=true) |
| public accept interface | |
| template<typename SAX> | |
| bool | sax_parse (SAX *sax, const bool strict=true) |
syntax analysis
This class implements a recursive descent parser.
Definition at line 11735 of file indijson.hpp.
|
inlineexplicit |
Definition at line 11746 of file indijson.hpp.
|
inline |
public accept interface
| [in] | strict | whether to expect the last token to be EOF |
Definition at line 11828 of file indijson.hpp.
|
inline |
public parser interface
| [in] | strict | whether to expect the last token to be EOF |
| [in,out] | result | parsed JSON value |
| 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 |
Definition at line 11768 of file indijson.hpp.
|
inline |
Definition at line 11836 of file indijson.hpp.