
Public Member Functions | |
| bool | EnterArray () |
| bool | EnterObject () |
| bool | GetBool () |
| double | GetDouble () |
| int | GetInt () |
| void | GetNull () |
| const char * | GetString () |
| bool | IsValid () |
| LookaheadParser (char *str) | |
| bool | NextArrayValue () |
| const char * | NextObjectKey () |
| int | PeekType () |
| Value * | PeekValue () |
| void | SkipArray () |
| void | SkipObject () |
| void | SkipValue () |
Protected Member Functions | |
| void | SkipOut (int depth) |
Protected Member Functions inherited from LookaheadParserHandler | |
| LookaheadParserHandler (char *str) | |
| void | ParseNext () |
| bool | Bool (bool b) |
| bool | Double (double d) |
| bool | EndArray (SizeType) |
| bool | EndObject (SizeType) |
| bool | Int (int i) |
| bool | Int64 (int64_t i) |
| bool | Key (const char *str, SizeType length, bool) |
| bool | Null () |
| bool | RawNumber (const char *, SizeType, bool) |
| bool | StartArray () |
| bool | StartObject () |
| bool | String (const char *str, SizeType length, bool) |
| bool | Uint (unsigned u) |
| bool | Uint64 (uint64_t u) |
Additional Inherited Members | |
Protected Types inherited from LookaheadParserHandler | |
| enum | LookaheadParsingState { kInit, kError, kHasNull, kHasBool, kHasNumber, kHasString, kHasKey, kEnteringObject, kExitingObject, kEnteringArray, kExitingArray } |
Protected Attributes inherited from LookaheadParserHandler | |
| Reader | r_ |
| InsituStringStream | ss_ |
| LookaheadParsingState | st_ |
| Value | v_ |
Static Protected Attributes inherited from LookaheadParserHandler | |
| static const int | parseFlags = kParseDefaultFlags | kParseInsituFlag |
Definition at line 101 of file lookaheadparser.cpp.
|
inline |
Definition at line 103 of file lookaheadparser.cpp.
| bool LookaheadParser::EnterArray | ( | ) |
Definition at line 137 of file lookaheadparser.cpp.
| bool LookaheadParser::EnterObject | ( | ) |
Definition at line 127 of file lookaheadparser.cpp.
| bool LookaheadParser::GetBool | ( | ) |
Definition at line 199 of file lookaheadparser.cpp.
| double LookaheadParser::GetDouble | ( | ) |
Definition at line 188 of file lookaheadparser.cpp.
| int LookaheadParser::GetInt | ( | ) |
Definition at line 177 of file lookaheadparser.cpp.
| void LookaheadParser::GetNull | ( | ) |
Definition at line 210 of file lookaheadparser.cpp.
| const char * LookaheadParser::GetString | ( | ) |
Definition at line 219 of file lookaheadparser.cpp.
|
inline |
Definition at line 121 of file lookaheadparser.cpp.
| bool LookaheadParser::NextArrayValue | ( | ) |
Definition at line 163 of file lookaheadparser.cpp.
| const char * LookaheadParser::NextObjectKey | ( | ) |
Definition at line 147 of file lookaheadparser.cpp.
| int LookaheadParser::PeekType | ( | ) |
Definition at line 267 of file lookaheadparser.cpp.
| Value * LookaheadParser::PeekValue | ( | ) |
Definition at line 259 of file lookaheadparser.cpp.
| void LookaheadParser::SkipArray | ( | ) |
Definition at line 251 of file lookaheadparser.cpp.
| void LookaheadParser::SkipObject | ( | ) |
Definition at line 255 of file lookaheadparser.cpp.
|
protected |
Definition at line 230 of file lookaheadparser.cpp.
| void LookaheadParser::SkipValue | ( | ) |
Definition at line 247 of file lookaheadparser.cpp.