|
typedef std::deque< ErrorInfo > | Errors |
|
typedef std::stack< Value * > | Nodes |
|
enum | TokenType {
tokenEndOfStream = 0,
tokenObjectBegin,
tokenObjectEnd,
tokenArrayBegin,
tokenArrayEnd,
tokenString,
tokenNumber,
tokenTrue,
tokenFalse,
tokenNull,
tokenArraySeparator,
tokenMemberSeparator,
tokenComment,
tokenError
} |
|
|
void | addComment (Location begin, Location end, CommentPlacement placement) |
|
bool | addError (const std::string &message, Token &token, Location extra=0) |
|
bool | addErrorAndRecover (const std::string &message, Token &token, TokenType skipUntilToken) |
|
Value & | currentValue () |
|
bool | decodeDouble (Token &token) |
|
bool | decodeDouble (Token &token, Value &decoded) |
|
bool | decodeNumber (Token &token) |
|
bool | decodeNumber (Token &token, Value &decoded) |
|
bool | decodeString (Token &token) |
|
bool | decodeString (Token &token, std::string &decoded) |
|
bool | decodeUnicodeCodePoint (Token &token, Location ¤t, Location end, unsigned int &unicode) |
|
bool | decodeUnicodeEscapeSequence (Token &token, Location ¤t, Location end, unsigned int &unicode) |
|
void | getLocationLineAndColumn (Location location, int &line, int &column) const |
|
std::string | getLocationLineAndColumn (Location location) const |
|
Char | getNextChar () |
|
bool | match (Location pattern, int patternLength) |
|
void | operator= (OurReader const &) |
|
| OurReader (OurReader const &) |
|
bool | readArray (Token &token) |
|
bool | readComment () |
|
bool | readCppStyleComment () |
|
bool | readCStyleComment () |
|
void | readNumber () |
|
bool | readObject (Token &token) |
|
bool | readString () |
|
bool | readStringSingleQuote () |
|
bool | readToken (Token &token) |
|
bool | readValue () |
|
bool | recoverFromError (TokenType skipUntilToken) |
|
void | skipCommentTokens (Token &token) |
|
void | skipSpaces () |
|
void | skipUntilSpace () |
|
Definition at line 1126 of file jsoncpp.cpp.
Enumerator |
---|
tokenEndOfStream |
|
tokenObjectBegin |
|
tokenObjectEnd |
|
tokenArrayBegin |
|
tokenArrayEnd |
|
tokenString |
|
tokenNumber |
|
tokenTrue |
|
tokenFalse |
|
tokenNull |
|
tokenArraySeparator |
|
tokenMemberSeparator |
|
tokenComment |
|
tokenError |
|
Definition at line 1151 of file jsoncpp.cpp.
Json::OurReader::OurReader |
( |
OurFeatures const & |
features | ) |
|
Json::OurReader::OurReader |
( |
OurReader const & |
| ) |
|
|
private |
bool Json::OurReader::addError |
( |
const std::string & |
message, |
|
|
Token & |
token, |
|
|
Location |
extra = 0 |
|
) |
| |
|
private |
bool Json::OurReader::addErrorAndRecover |
( |
const std::string & |
message, |
|
|
Token & |
token, |
|
|
TokenType |
skipUntilToken |
|
) |
| |
|
private |
Value & Json::OurReader::currentValue |
( |
| ) |
|
|
private |
bool Json::OurReader::decodeDouble |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::decodeDouble |
( |
Token & |
token, |
|
|
Value & |
decoded |
|
) |
| |
|
private |
bool Json::OurReader::decodeNumber |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::decodeNumber |
( |
Token & |
token, |
|
|
Value & |
decoded |
|
) |
| |
|
private |
bool Json::OurReader::decodeString |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::decodeString |
( |
Token & |
token, |
|
|
std::string & |
decoded |
|
) |
| |
|
private |
bool Json::OurReader::decodeUnicodeCodePoint |
( |
Token & |
token, |
|
|
Location & |
current, |
|
|
Location |
end, |
|
|
unsigned int & |
unicode |
|
) |
| |
|
private |
bool Json::OurReader::decodeUnicodeEscapeSequence |
( |
Token & |
token, |
|
|
Location & |
current, |
|
|
Location |
end, |
|
|
unsigned int & |
unicode |
|
) |
| |
|
private |
std::string Json::OurReader::getFormattedErrorMessages |
( |
| ) |
const |
void Json::OurReader::getLocationLineAndColumn |
( |
Location |
location, |
|
|
int & |
line, |
|
|
int & |
column |
|
) |
| const |
|
private |
std::string Json::OurReader::getLocationLineAndColumn |
( |
Location |
location | ) |
const |
|
private |
bool Json::OurReader::good |
( |
| ) |
const |
bool Json::OurReader::match |
( |
Location |
pattern, |
|
|
int |
patternLength |
|
) |
| |
|
private |
void Json::OurReader::operator= |
( |
OurReader const & |
| ) |
|
|
private |
bool Json::OurReader::parse |
( |
const char * |
beginDoc, |
|
|
const char * |
endDoc, |
|
|
Value & |
root, |
|
|
bool |
collectComments = true |
|
) |
| |
bool Json::OurReader::pushError |
( |
const Value & |
value, |
|
|
const std::string & |
message |
|
) |
| |
bool Json::OurReader::pushError |
( |
const Value & |
value, |
|
|
const std::string & |
message, |
|
|
const Value & |
extra |
|
) |
| |
bool Json::OurReader::readArray |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::readComment |
( |
| ) |
|
|
private |
bool Json::OurReader::readCppStyleComment |
( |
| ) |
|
|
private |
bool Json::OurReader::readCStyleComment |
( |
| ) |
|
|
private |
void Json::OurReader::readNumber |
( |
| ) |
|
|
private |
bool Json::OurReader::readObject |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::readString |
( |
| ) |
|
|
private |
bool Json::OurReader::readStringSingleQuote |
( |
| ) |
|
|
private |
bool Json::OurReader::readToken |
( |
Token & |
token | ) |
|
|
private |
bool Json::OurReader::readValue |
( |
| ) |
|
|
private |
bool Json::OurReader::recoverFromError |
( |
TokenType |
skipUntilToken | ) |
|
|
private |
void Json::OurReader::skipCommentTokens |
( |
Token & |
token | ) |
|
|
private |
void Json::OurReader::skipSpaces |
( |
| ) |
|
|
private |
void Json::OurReader::skipUntilSpace |
( |
| ) |
|
|
private |
bool Json::OurReader::collectComments_ |
|
private |
std::string Json::OurReader::commentsBefore_ |
|
private |
std::string Json::OurReader::document_ |
|
private |
Errors Json::OurReader::errors_ |
|
private |
Value* Json::OurReader::lastValue_ |
|
private |
Nodes Json::OurReader::nodes_ |
|
private |
int Json::OurReader::stackDepth_ |
|
private |
The documentation for this class was generated from the following file: