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

The initialization information generated by APG. More...

#include <parserp.h>

Data Fields

uint32_t uiSizeofAchar
 Minimum size, in bytes, required for the alphabet characters, achar. More...
 
uint32_t uiSizeofUint
 Minimum size, in bytes, required for the basic parser unsigned integer, aint. More...
 
uint32_t uiStringTableLength
 Length of this data's string table. More...
 
uint32_t uiAcharTableLength
 Length of this data's alphabet character table. More...
 
uint32_t uiPpptTableLength
 Length of this data's PPPT. More...
 
uint32_t uiParserInitLength
 Length of the parser initialization data. More...
 
const char * cpStringTable
 Pointer to the string table. More...
 
const uint8_t * ucpPpptTable
 Pointer to the PPPT or NULL if none. More...
 
const void * vpAcharTable
 Pointer to the alphabet character table or NULL if none. (Possible for small grammars.) More...
 
const void * vpParserInit
 Pointer to the parser's initialization data. More...
 

Detailed Description

The initialization information generated by APG.

This data is required to initialize the parser during construction. It is generated by the API functions vApiOutput() and vpApiOutputParser().

Definition at line 46 of file parserp.h.

Field Documentation

◆ cpStringTable

const char* parser_init::cpStringTable

Pointer to the string table.

Definition at line 53 of file parserp.h.

◆ ucpPpptTable

const uint8_t* parser_init::ucpPpptTable

Pointer to the PPPT or NULL if none.

Definition at line 54 of file parserp.h.

◆ uiAcharTableLength

uint32_t parser_init::uiAcharTableLength

Length of this data's alphabet character table.

Definition at line 50 of file parserp.h.

◆ uiParserInitLength

uint32_t parser_init::uiParserInitLength

Length of the parser initialization data.

Definition at line 52 of file parserp.h.

◆ uiPpptTableLength

uint32_t parser_init::uiPpptTableLength

Length of this data's PPPT.

Definition at line 51 of file parserp.h.

◆ uiSizeofAchar

uint32_t parser_init::uiSizeofAchar

Minimum size, in bytes, required for the alphabet characters, achar.

Definition at line 47 of file parserp.h.

◆ uiSizeofUint

uint32_t parser_init::uiSizeofUint

Minimum size, in bytes, required for the basic parser unsigned integer, aint.

Definition at line 48 of file parserp.h.

◆ uiStringTableLength

uint32_t parser_init::uiStringTableLength

Length of this data's string table.

Definition at line 49 of file parserp.h.

◆ vpAcharTable

const void* parser_init::vpAcharTable

Pointer to the alphabet character table or NULL if none. (Possible for small grammars.)

Definition at line 55 of file parserp.h.

◆ vpParserInit

const void* parser_init::vpParserInit

Pointer to the parser's initialization data.

Definition at line 56 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.