APG
… an ABNF Parser Generator
|
General opcode. Only holds the opcode ID and PPPT map pointer. More...
#include <parserp.h>
Data Fields | |
aint | uiId |
The opcode identifier e.g. ID_ALT. More... | |
const uint8_t * | ucpPpptMap |
Pointer to the PPPT map for this opcode, if any. More... | |
General opcode. Only holds the opcode ID and PPPT map pointer.
NOTE 1.: ALL opcodes MUST have the opcode identifier (e.g. ID_ALT) as the first element and the pointer to the PPPT map second.
NOTE 2.: Since the opcode IDs are also used as indexes into an array of opcode functions, they are sequential from 0 or 1. ID_GEN must be larger than all other opcode IDs, since it is used for the array max.
const uint8_t* op_gen::ucpPpptMap |