eckit::ObjectParser class

Base classes

class StreamParser

Derived classes

class JSONParser
class YAMLParser

Constructors, destructors, conversion operators

~ObjectParser() override

Public functions

auto parse() -> Value virtual
auto peek(bool spaces = false) -> char
auto next(bool spaces = false) -> char
void consume(char)
void consume(const char*)
void expect(const char*)
void putback(char)

Private functions

auto parseTrue() -> Value virtual
auto parseFalse() -> Value virtual
auto parseNull() -> Value virtual
auto parseValue() -> Value pure virtual
auto parseObject() -> Value virtual
auto parseArray() -> Value virtual
auto parseString(char quote = '"') -> Value virtual
auto parseNumber() -> Value virtual
auto parseJSON() -> Value virtual
void parseKeyValue(ValueMap&, ValueList&) virtual
auto parserName() const -> std::string pure virtual

Function documentation

char eckit::ObjectParser::peek(bool spaces = false)

char eckit::ObjectParser::next(bool spaces = false)

void eckit::ObjectParser::consume(char)

void eckit::ObjectParser::consume(const char*)

void eckit::ObjectParser::expect(const char*)

void eckit::ObjectParser::putback(char)

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.