|
APG
… an ABNF Parser Generator
|
Private header file for the statistics gathering functions. More...

Go to the source code of this file.
Functions | |
Private Statistics Function | |
Called only by the parent parser object via the macro STATS_HIT. | |
| void | vStatsHit (void *spCtx, const opcode *spOp, aint uiState) |
| Collects the statistics for a single node hit. More... | |
Private header file for the statistics gathering functions.
Definition in file statsp.h.
| void vStatsHit | ( | void * | vpCtx, |
| const opcode * | spOp, | ||
| aint | uiState | ||
| ) |
Collects the statistics for a single node hit.
This function is called only by the parent parser via the macro STATS_HIT.
| vpCtx | Pointer to a valid statistics context returned from vpStatsCtor() If not valid the application will silently exit with a BAD_CONTEXT exit code. |
| spOp | Pointer to the opcode of the current node. |
| uiState | The node state (ID_MATCH or ID_NOMATCH) |
1.8.17