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

Header for the parser initialization data. More...

Data Fields

luint luiSizeInInts
 
luint luiAcharMin
 
luint luiAcharMax
 
luint luiSizeofAchar
 
luint luiUintMax
 
luint luiSizeofUint
 
luint luiRuleCount
 
luint luiUdtCount
 
luint luiOpcodeCount
 
luint luiMapCount
 
luint luiMapSize
 
luint luiVersionOffset
 
luint luiCopyrightOffset
 
luint luiLicenseOffset
 
luint luiChildListOffset
 
luint luiChildListLength
 
luint luiRulesOffset
 
luint luiRulesLength
 
luint luiUdtsOffset
 
luint luiUdtsLength
 
luint luiOpcodesOffset
 
luint luiOpcodesLength
 

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 in the library file parserp.h.

Definition at line 50 of file output.c.

Field Documentation

◆ luiAcharMax

luint init_hdr_out::luiAcharMax

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

Definition at line 53 of file output.c.

◆ luiAcharMin

luint init_hdr_out::luiAcharMin

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

Definition at line 52 of file output.c.

◆ luiChildListLength

luint init_hdr_out::luiChildListLength

The number of indexes in the list.

Definition at line 66 of file output.c.

◆ luiChildListOffset

luint init_hdr_out::luiChildListOffset

Offset to the child index list. Each ALT and CAT has a list of children. This list has the opcode indexes of these chilren.

Definition at line 65 of file output.c.

◆ luiCopyrightOffset

luint init_hdr_out::luiCopyrightOffset

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

Definition at line 63 of file output.c.

◆ luiLicenseOffset

luint init_hdr_out::luiLicenseOffset

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

Definition at line 64 of file output.c.

◆ luiMapCount

luint init_hdr_out::luiMapCount

The number rule, UDT, and opcode PPPT maps.

Definition at line 60 of file output.c.

◆ luiMapSize

luint init_hdr_out::luiMapSize

The number of bytes in one PPPT map.

Definition at line 61 of file output.c.

◆ luiOpcodeCount

luint init_hdr_out::luiOpcodeCount

The number of opcodes in the grammar.

Definition at line 59 of file output.c.

◆ luiOpcodesLength

luint init_hdr_out::luiOpcodesLength

The length in integers of the opcode list.

Definition at line 72 of file output.c.

◆ luiOpcodesOffset

luint init_hdr_out::luiOpcodesOffset

Offset to the list of opcode structures.

Definition at line 71 of file output.c.

◆ luiRuleCount

luint init_hdr_out::luiRuleCount

The number of rules in the grammar.

Definition at line 57 of file output.c.

◆ luiRulesLength

luint init_hdr_out::luiRulesLength

The length in integers of the rules list.

Definition at line 68 of file output.c.

◆ luiRulesOffset

luint init_hdr_out::luiRulesOffset

Offset to the list of rule structures.

Definition at line 67 of file output.c.

◆ luiSizeInInts

luint init_hdr_out::luiSizeInInts

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

Definition at line 51 of file output.c.

◆ luiSizeofAchar

luint init_hdr_out::luiSizeofAchar

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

Definition at line 54 of file output.c.

◆ luiSizeofUint

luint init_hdr_out::luiSizeofUint

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

Definition at line 56 of file output.c.

◆ luiUdtCount

luint init_hdr_out::luiUdtCount

The number of UDTs in the grammar.

Definition at line 58 of file output.c.

◆ luiUdtsLength

luint init_hdr_out::luiUdtsLength

The length in integers of the UDT list.

Definition at line 70 of file output.c.

◆ luiUdtsOffset

luint init_hdr_out::luiUdtsOffset

Offset to the list of UDT structures.

Definition at line 69 of file output.c.

◆ luiUintMax

luint init_hdr_out::luiUintMax

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

Definition at line 55 of file output.c.

◆ luiVersionOffset

luint init_hdr_out::luiVersionOffset

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

Definition at line 62 of file output.c.


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.