APG
… an ABNF Parser Generator
|
The phrase matching results. More...
#include <apgex.h>
Data Fields | |
apgex_phrase * | spResult |
The matched phrase. NULL if no match. More... | |
apgex_phrase * | spLeftContext |
The phrase prefix. More... | |
apgex_phrase * | spRightContext |
The phrase suffix. More... | |
apgex_rule * | spRules |
The phrases matched by all enabled rules and/or UDTs. NULL if no match. More... | |
aint | uiLastIndex |
The last index following the last pattern match attempt. More... | |
aint | uiRuleCount |
The number of combined rules and UDTs in the pattern. More... | |
aint | uiNodeHits |
The number of parser node hits. More... | |
aint | uiTreeDepth |
The maximum parsing tree depth. More... | |
The phrase matching results.
Note that all data pointers in this structure are, in general, valid only until the next function call on the apgex
object. If the application needs to retain any phrases or other pointer data for future use it must make a copy of it into its own memory space.
apgex_phrase* apgex_result::spLeftContext |
apgex_phrase* apgex_result::spResult |
apgex_phrase* apgex_result::spRightContext |
apgex_rule* apgex_result::spRules |
aint apgex_result::uiLastIndex |
aint apgex_result::uiNodeHits |
aint apgex_result::uiRuleCount |
aint apgex_result::uiTreeDepth |