APG
… an ABNF Parser Generator
|
For internal object use only. Relative offsets to phrase information for UDTs. More...
Data Fields | |
const char * | cpUdtName |
UDT name. More... | |
parser_callback | pfnUdt |
The UDT callback, if this is a UDT. Cannot be NULL;. More... | |
aint | uiUdtIndex |
Rule or UDT index or index. More... | |
aint | uiPhraseCount |
The number of matched phrases. More... | |
aint | uiFirstPhrase |
Offset in vpVecRelPhases for the first phrase match for this rule. More... | |
aint | uiLastPhrase |
Index into vpVecRelPhrases for the next match or APG_UNDEFINED if this is the last block. More... | |
abool | bEnabled |
True if this UDT has been enabled for phrase capture. More... | |
For internal object use only. Relative offsets to phrase information for UDTs.
One struct for each UDT. Handles all information needed by this UDT. Note that since these are user-defined functions, one function must be supplied with a call to vApgexDefineUDT() for every UDT in the grammar. Disabling the UDT simply means that its matched phrase will not be saved. The callback function is still needed for successful parsing of the input string.
abool udt_r::bEnabled |
parser_callback udt_r::pfnUdt |
The UDT callback, if this is a UDT. Cannot be NULL;.
Because these are user-defined functions, they must be supplied with a call to vApgexDefineUDT().
aint udt_r::uiFirstPhrase |
aint udt_r::uiLastPhrase |