APG
… an ABNF Parser Generator
|
For internal object use only. The JSON parser grammar call back functions. More...
Go to the source code of this file.
Macros | |
#define | THROW_ERROR(msg, off) vThrowError(spJson, (msg), (off), __FILE__, __func__, __LINE__) |
A specialized exception thrower for the callback functions. More... | |
Functions | |
Private Functions | |
Not static because referenced across multiple files. | |
uint32_t | uiUtf8_2byte (char *cpBytes) |
uint32_t | uiUtf8_3byte (char *cpBytes) |
uint32_t | uiUtf8_4byte (char *cpBytes) |
aint | uiUtf16_1 (char *cpHex, uint32_t *uipChar) |
aint | uiUtf16_2 (char *cpHex, uint32_t *uipChar) |
Another Private Function | |
Define the call back funtions to the parser. Not static because referenced across multiple files. | |
void | vJsonGrammarRuleCallbacks (void *vpParserCtx) |
For internal object use only. The JSON parser grammar call back functions.
These are the functions that interact with the parse tree nodes to translate the ABNF rules into usable data. Applications should never have need of this functions directly.
Definition in file parser-callbacks.c.
#define THROW_ERROR | ( | msg, | |
off | |||
) | vThrowError(spJson, (msg), (off), __FILE__, __func__, __LINE__) |
A specialized exception thrower for the callback functions.
Definition at line 45 of file parser-callbacks.c.
aint uiUtf16_1 | ( | char * | cpHex, |
uint32_t * | uipChar | ||
) |
Definition at line 74 of file parser-callbacks.c.
aint uiUtf16_2 | ( | char * | cpHex, |
uint32_t * | uipChar | ||
) |
Definition at line 82 of file parser-callbacks.c.
uint32_t uiUtf8_2byte | ( | char * | cpBytes | ) |
Definition at line 53 of file parser-callbacks.c.
uint32_t uiUtf8_3byte | ( | char * | cpBytes | ) |
Definition at line 59 of file parser-callbacks.c.
uint32_t uiUtf8_4byte | ( | char * | cpBytes | ) |
Definition at line 66 of file parser-callbacks.c.
void vJsonGrammarRuleCallbacks | ( | void * | vpParserCtx | ) |
Definition at line 718 of file parser-callbacks.c.