|
| 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.
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()
◆ EndObject()
◆ Int()
| bool LookaheadParserHandler::Int |
( |
int |
i | ) |
|
|
inline |
◆ Int64()
◆ Key()
◆ Null()
| bool LookaheadParserHandler::Null |
( |
| ) |
|
|
inline |
◆ ParseNext()
| void LookaheadParserHandler::ParseNext |
( |
| ) |
|
|
protected |
Definition at line 92 of file lookaheadparser.cpp.
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()
◆ StartArray()
| bool LookaheadParserHandler::StartArray |
( |
| ) |
|
|
inline |
◆ StartObject()
| bool LookaheadParserHandler::StartObject |
( |
| ) |
|
|
inline |
◆ String()
◆ Uint()
| bool LookaheadParserHandler::Uint |
( |
unsigned |
u | ) |
|
|
inline |
◆ Uint64()
◆ parseFlags
◆ r_
| Reader LookaheadParserHandler::r_ |
|
protected |
◆ ss_
◆ st_
◆ v_
| Value LookaheadParserHandler::v_ |
|
protected |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-4.0.0.0/external/rapidjson/example/lookaheadparser/lookaheadparser.cpp