|
enum | LookaheadParsingState {
kInit
, kError
, kHasNull
, kHasBool
,
kHasNumber
, kHasString
, kHasKey
, kEnteringObject
,
kExitingObject
, kEnteringArray
, kExitingArray
} |
|
Definition at line 43 of file lookaheadparser.cpp.
◆ LookaheadParsingState
Enumerator |
---|
kInit | |
kError | |
kHasNull | |
kHasBool | |
kHasNumber | |
kHasString | |
kHasKey | |
kEnteringObject | |
kExitingObject | |
kEnteringArray | |
kExitingArray | |
Definition at line 65 of file lookaheadparser.cpp.
◆ LookaheadParserHandler()
LookaheadParserHandler::LookaheadParserHandler |
( |
char * | str | ) |
|
|
protected |
Definition at line 87 of file lookaheadparser.cpp.
90}
void IterativeParseInit()
Initialize JSON text token-by-token parsing.
LookaheadParsingState st_
◆ Bool()
bool LookaheadParserHandler::Bool |
( |
bool | b | ) |
|
|
inline |
◆ Double()
bool LookaheadParserHandler::Double |
( |
double | d | ) |
|
|
inline |
◆ EndArray()
bool LookaheadParserHandler::EndArray |
( |
SizeType | | ) |
|
|
inline |
◆ EndObject()
bool LookaheadParserHandler::EndObject |
( |
SizeType | | ) |
|
|
inline |
◆ Int()
bool LookaheadParserHandler::Int |
( |
int | i | ) |
|
|
inline |
◆ Int64()
bool LookaheadParserHandler::Int64 |
( |
int64_t | i | ) |
|
|
inline |
◆ Key()
bool LookaheadParserHandler::Key |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
◆ Null()
bool LookaheadParserHandler::Null |
( |
| ) |
|
|
inline |
◆ ParseNext()
void LookaheadParserHandler::ParseNext |
( |
| ) |
|
|
protected |
Definition at line 92 of file lookaheadparser.cpp.
92 {
95 return;
96 }
97
99}
bool IterativeParseNext(InputStream &is, Handler &handler)
Parse one token from JSON text.
bool HasParseError() const
Whether a parse error has occurred in the last parsing.
static const int parseFlags
◆ RawNumber()
bool LookaheadParserHandler::RawNumber |
( |
const char * | , |
|
|
SizeType | , |
|
|
bool | ) |
|
inline |
◆ StartArray()
bool LookaheadParserHandler::StartArray |
( |
| ) |
|
|
inline |
◆ StartObject()
bool LookaheadParserHandler::StartObject |
( |
| ) |
|
|
inline |
◆ String()
bool LookaheadParserHandler::String |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
◆ Uint()
bool LookaheadParserHandler::Uint |
( |
unsigned | u | ) |
|
|
inline |
◆ Uint64()
bool LookaheadParserHandler::Uint64 |
( |
uint64_t | u | ) |
|
|
inline |
◆ parseFlags
◆ r_
Reader LookaheadParserHandler::r_ |
|
protected |
◆ ss_
◆ st_
◆ v_
Value LookaheadParserHandler::v_ |
|
protected |
The documentation for this class was generated from the following file: