MCPcopy Create free account
hub / github.com/Illumina/hap.py / expectToken

Method expectToken

external/jsoncpp/jsoncpp.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414bool Reader::expectToken(TokenType type, Token &token, const char *message) {
415 readToken(token);
416 if (token.type_ != type)
417 return addError(message, token);
418 return true;
419}
420
421bool Reader::readToken(Token &token) {
422 skipSpaces();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected