|
APG
… an ABNF Parser Generator
|
Defines a pointer to an achar array plus its length. That is, a phrase as is often used by APG.
More...
#include <lib.h>
Data Fields | |
| const achar * | acpPhrase |
Pointer to an array of type achar APG alphabet characters. More... | |
| aint | uiLength |
| The number of characters in the array. More... | |
Defines a pointer to an achar array plus its length. That is, a phrase as is often used by APG.
ABNF grammars define phrases of the grammar's alphabet characters. APG must deal with them specifically and often. A phrase is nothing more than an array of type achar characters. Since all values may be present in the array it is not possible to use a special character as an array ending character as is done with the C-language strings of char characters. Also, the length of the array may easily be longer than the maximum achar character, APG_MAX_ACHAR. Therefore, a special structure is required to hold the array and length information.
| const achar* apg_phrase::acpPhrase |
| aint apg_phrase::uiLength |
1.8.17