Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
op_gen Struct Reference

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...
 

Detailed Description

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.

Definition at line 290 of file parserp.h.

Field Documentation

◆ ucpPpptMap

const uint8_t* op_gen::ucpPpptMap

Pointer to the PPPT map for this opcode, if any.

Definition at line 292 of file parserp.h.

◆ uiId

aint op_gen::uiId

The opcode identifier e.g. ID_ALT.

Definition at line 291 of file parserp.h.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.