Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Functions
parser-get-init.c File Reference

Private parser utility functions. Never called directly by user. More...

#include "./lib.h"
#include "./parserp.h"
Include dependency graph for parser-get-init.c:

Go to the source code of this file.

Functions

aint uiGetAcharTable (parser_init *spParserInit, achar *acpAcharTable)
 Extract the alphabet character table from the initialization data. More...
 
abool bGetParserInitData (parser_init *spParserInit, luint *luipParserInit)
 Re-size the initialization data to the required integer size. More...
 
void vGetChildListTable (init_hdr *spInitHdr, aint *uipList)
 Extract the child index list from the initialization data. More...
 

Detailed Description

Private parser utility functions. Never called directly by user.

This set of functions is called by the parser's constructor to convert the initialization data into the internal memory representation required by the parser.

Definition in file parser-get-init.c.

Function Documentation

◆ bGetParserInitData()

abool bGetParserInitData ( parser_init spParserInit,
luint luipParserInit 
)

Re-size the initialization data to the required integer size.

Definition at line 80 of file parser-get-init.c.

◆ uiGetAcharTable()

aint uiGetAcharTable ( parser_init spParserInit,
achar acpAcharTable 
)

Extract the alphabet character table from the initialization data.

Definition at line 43 of file parser-get-init.c.

◆ vGetChildListTable()

void vGetChildListTable ( init_hdr spInitHdr,
aint uipList 
)

Extract the child index list from the initialization data.

Definition at line 130 of file parser-get-init.c.

APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.