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

Header for the parser initialization data. More...

#include <parserp.h>

Data Fields

luint uiSizeInInts
 The number of integers in the initialization data, including this header. More...
 
luint uiAcharMin
 The minimum value of all of the alphabet characters (achar) present in the grammar. More...
 
luint uiAcharMax
 The maximum value of all of the alphabet characters (achar) present in the grammar. More...
 
luint uiSizeofAchar
 The minimum size, in bytes, required to hold all alphabet characters in the grammar. More...
 
luint uiUintMax
 The maximum value of all of the integers present in this initialization data. More...
 
luint uiSizeofUint
 The minimum integer size, in bytes, required to hold all of the integers in the initialization data. More...
 
luint uiRuleCount
 The number of rules in the grammar. More...
 
luint uiUdtCount
 The number of UDTs in the grammar. More...
 
luint uiOpcodeCount
 The number of opcodes in the grammar. More...
 
luint uiMapCount
 The number rule, UDT, and opcode PPPT maps. More...
 
luint uiMapSize
 The number of bytes in one PPPT map. More...
 
luint uiVersionOffset
 Offset from the beginning of the string table to the null-terminated version number string. More...
 
luint uiCopyrightOffset
 Offset from the beginning of the string table to the null-terminated copyright string. More...
 
luint uiLicenseOffset
 Offset from the beginning of the string table to the null-terminated license string. More...
 
luint uiChildListOffset
 Offset from the beginning of the initialization data to the list of ALT and CAT child node opcode indexes. More...
 
luint uiChildListLength
 The number of integers in the child index list. More...
 
luint uiRulesOffset
 Offset from the beginning of the initialization data to the to the list of rules. More...
 
luint uiRulesLength
 Number of integers in the rules list. More...
 
luint uiUdtsOffset
 Offset from the beginning of the initialization data to the to the list of UDTs. More...
 
luint uiUdtsLength
 Number of integers in the UDT list. More...
 
luint uiOpcodesOffset
 Offset from the beginning of the initialization data to the to the list of opcodes. More...
 
luint uiOpcodesLength
 Number of integers in the opcode list. More...
 

Detailed Description

Header for the parser initialization data.

This header section of the parser's initialization data defines some of the parser's basic data sizes, types and limits. The remainder defines the offsets (from the beginning of the parser initialization data) to various other data segments.

CAVEAT: This structure must match exactly init_hdr_out in the API file output.c.

Definition at line 69 of file parserp.h.

Field Documentation

◆ uiAcharMax

luint init_hdr::uiAcharMax

The maximum value of all of the alphabet characters (achar) present in the grammar.

Definition at line 72 of file parserp.h.

◆ uiAcharMin

luint init_hdr::uiAcharMin

The minimum value of all of the alphabet characters (achar) present in the grammar.

Definition at line 71 of file parserp.h.

◆ uiChildListLength

luint init_hdr::uiChildListLength

The number of integers in the child index list.

Definition at line 87 of file parserp.h.

◆ uiChildListOffset

luint init_hdr::uiChildListOffset

Offset from the beginning of the initialization data to the list of ALT and CAT child node opcode indexes.

Definition at line 85 of file parserp.h.

◆ uiCopyrightOffset

luint init_hdr::uiCopyrightOffset

Offset from the beginning of the string table to the null-terminated copyright string.

Definition at line 83 of file parserp.h.

◆ uiLicenseOffset

luint init_hdr::uiLicenseOffset

Offset from the beginning of the string table to the null-terminated license string.

Definition at line 84 of file parserp.h.

◆ uiMapCount

luint init_hdr::uiMapCount

The number rule, UDT, and opcode PPPT maps.

Definition at line 80 of file parserp.h.

◆ uiMapSize

luint init_hdr::uiMapSize

The number of bytes in one PPPT map.

Definition at line 81 of file parserp.h.

◆ uiOpcodeCount

luint init_hdr::uiOpcodeCount

The number of opcodes in the grammar.

Definition at line 79 of file parserp.h.

◆ uiOpcodesLength

luint init_hdr::uiOpcodesLength

Number of integers in the opcode list.

Definition at line 96 of file parserp.h.

◆ uiOpcodesOffset

luint init_hdr::uiOpcodesOffset

Offset from the beginning of the initialization data to the to the list of opcodes.

Definition at line 94 of file parserp.h.

◆ uiRuleCount

luint init_hdr::uiRuleCount

The number of rules in the grammar.

Definition at line 77 of file parserp.h.

◆ uiRulesLength

luint init_hdr::uiRulesLength

Number of integers in the rules list.

Definition at line 90 of file parserp.h.

◆ uiRulesOffset

luint init_hdr::uiRulesOffset

Offset from the beginning of the initialization data to the to the list of rules.

Definition at line 88 of file parserp.h.

◆ uiSizeInInts

luint init_hdr::uiSizeInInts

The number of integers in the initialization data, including this header.

Definition at line 70 of file parserp.h.

◆ uiSizeofAchar

luint init_hdr::uiSizeofAchar

The minimum size, in bytes, required to hold all alphabet characters in the grammar.

Definition at line 73 of file parserp.h.

◆ uiSizeofUint

luint init_hdr::uiSizeofUint

The minimum integer size, in bytes, required to hold all of the integers in the initialization data.

Definition at line 75 of file parserp.h.

◆ uiUdtCount

luint init_hdr::uiUdtCount

The number of UDTs in the grammar.

Definition at line 78 of file parserp.h.

◆ uiUdtsLength

luint init_hdr::uiUdtsLength

Number of integers in the UDT list.

Definition at line 93 of file parserp.h.

◆ uiUdtsOffset

luint init_hdr::uiUdtsOffset

Offset from the beginning of the initialization data to the to the list of UDTs.

Definition at line 91 of file parserp.h.

◆ uiUintMax

luint init_hdr::uiUintMax

The maximum value of all of the integers present in this initialization data.

Definition at line 74 of file parserp.h.

◆ uiVersionOffset

luint init_hdr::uiVersionOffset

Offset from the beginning of the string table to the null-terminated version number string.

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