APG
… an ABNF Parser Generator
|
The object context. For intenrnal use only. More...
#include <jsonp.h>
Data Fields | |
const void * | vpValidate |
Must be the "magic number" to be a valid context. More... | |
exception * | spException |
Pointer to the exception structure for reporting errors to the application catch block. More... | |
void * | vpMem |
Pointer to a memory object used for all memory allocations. More... | |
void * | vpVecIterators |
A vector of iterator context pointers remembered for destruction. More... | |
void * | vpVecBuilders |
A vector of builder context pointers remembered for destruction. More... | |
void * | vpVecInput |
The UTF-8-encoded input byte stream. BOM, if any, removed. More... | |
void * | vpLines |
pointer to a lines object context More... | |
void * | vpVecChars |
A vector of string characters. 32-bit Unicode code points. All strings are in this single vector. More... | |
void * | vpVecAscii |
A scratch vector for constructing ASCII strings on the fly. More... | |
void * | vpVecValuesr |
void * | vpVecValues |
A vector of relative values. More... | |
json_value * | spValues |
an array of absolute values. More... | |
aint | uiValueCount |
The number of values in the array. More... | |
void * | vpVecStringsr |
void * | vpVecStrings |
A vector of relative strings. More... | |
u32_phrase * | spStrings |
An array of absolute strings. More... | |
aint | uiStringCount |
The number of strings in the array. More... | |
void * | vpVecNumbers |
void * | vpVecChildIndexes |
A vector of number objects. More... | |
void * | vpVecFrames |
Frame stack of values to keep track of the current value in the parse tree. More... | |
void * | vpVecChildPointers |
struct json_value_tag ** | sppChildPointers |
An array of absolute child value pointers. More... | |
frame * | spCurrentFrame |
Points to the current stack frame. More... | |
uint32_t | uiChar |
A working value to hold the value of a single character. Higher level rules will move it to vpVecChars. Gets overwritten by each Char rule. More... | |
abool | bHasFrac |
A working value signaling presence of fractional value for a number value. More... | |
abool | bHasMinus |
A working value signaling a minus sign for a number value. More... | |
void * | vpVecTreeList |
Vector of pointers to sub_tree tree. Value pointers are in the order of a depth-first traversal. More... | |
void * | vpVecChildList |
Vector of pointers to the children of a parent value. NULL if the parent is not an object or array. More... | |
void * | vpVecKeyList |
Vector of pointers to the list of valued found in a key search. More... | |
void * | vpVecScratch32 |
A vector of 32-bit integer scratch space. More... | |
aint | uiWalkCount |
An accumulator for counting sub-tree nodes and child nodes. More... | |
FILE * | spIn |
File I/O handle for the input file. Maintained here so that it can be closed in the destructor if necessary. More... | |
void * | vpParser |
Pointer to the parser context if exception thrown during parsing. More... | |
achar * | acpInput |
Buffer to hold the input converted from uint8_t to achar units. More... | |
void * | vpFmt |
Pointer to a hexdump-style formatter object. More... | |
void * | vpVecOutput |
Vector of 32-bit code points for generating output of value tree to JSON-text. More... | |
void * | vpConv |
Context pointer for a conversion object. More... | |
abool | bFirstNode |
Set to true before each call to sJsonWrite() to prevent writing a key for the first node of a sub-tree. More... | |
aint | uiCurrentDepth |
Used to keep track of the current tree depth for display of the tree of values. More... | |
aint | uiMaxDepth |
The maximum tree depth of values to display. More... | |
achar* json::acpInput |
abool json::bFirstNode |
abool json::bHasFrac |
abool json::bHasMinus |
frame* json::spCurrentFrame |
exception* json::spException |
FILE* json::spIn |
struct json_value_tag** json::sppChildPointers |
u32_phrase* json::spStrings |
uint32_t json::uiChar |
aint json::uiCurrentDepth |
aint json::uiMaxDepth |
aint json::uiStringCount |
aint json::uiWalkCount |
void* json::vpFmt |
void* json::vpMem |
void* json::vpParser |
const void* json::vpValidate |
void* json::vpVecAscii |
void* json::vpVecBuilders |
void* json::vpVecChars |
void* json::vpVecChildIndexes |
void* json::vpVecChildList |
void* json::vpVecFrames |
void* json::vpVecInput |
void* json::vpVecIterators |
void* json::vpVecKeyList |
void* json::vpVecOutput |
void* json::vpVecScratch32 |
void* json::vpVecStrings |
void* json::vpVecTreeList |