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)