APG
… an ABNF Parser Generator
|
The parser object's context. Holds the parser's state. Opaque to user. More...
#include <parserp.h>
Data Fields | |
const void * | vpValidate |
Set to a "magic number" by the constructor. Must be valid for all other parser function calls. More... | |
exception * | spException |
Pointer to the exception structure to use for reporting fatal errors. More... | |
void * | vpMem |
Pointer to a memory object context used for all memory allocations by the parser. More... | |
void * | vpAst |
Pointer to the AST object context, if any. See vpAstCtor(). More... | |
void * | vpTrace |
Pointer to the trace object context, if any. See vpTraceCtor(). More... | |
void * | vpStats |
Pointer to the stats object context, if any. See vpStatsCtor(). More... | |
void * | vpBkru |
Pointer to the universal-mode back reference object context, if any. See vpBkruCtor(). More... | |
void * | vpBkrp |
Pointer to the parent-mode back reference object context, if any. See vpBkrpCtor(). More... | |
pfn_op * | pfnOpFunc |
Pointer to the current node operation function. More... | |
const char * | cpStringTable |
Pointer to the ASCII string table with rule and UDT names. More... | |
const achar * | acpAcharTable |
Pointer to the alphabet character table for TLS and TBS operators. More... | |
const aint * | uipChildList |
Pointer to the table of child indexes for ALT and CAT operators. More... | |
rule * | spRules |
Pointer to the list of rules. More... | |
udt * | spUdts |
Pointer to the list of UDTs. More... | |
opcode * | spOpcodes |
Pointer to the list of opcodes. More... | |
aint | uiRuleCount |
The number of rules in the SABNF grammar. More... | |
aint | uiUdtCount |
The number of UDTs in the SABNF grammar. More... | |
aint | uiOpcodeCount |
The number of opcodes (node operations) generated by the SABNF grammar. More... | |
aint | uiStartRule |
The current index of the start rule. More... | |
void * | vpVecInputString |
Vector to keep a copy of the input string. More... | |
const achar * | acpInputString |
Pointer to the input string. More... | |
aint | uiInputStringLength |
Number of characters in the input string. More... | |
aint | uiSubStringBeg |
The offset to the first character of the sub-string to parse. More... | |
aint | uiSubStringEnd |
The offset to the first character beyond the end of the sub-string to parse. More... | |
aint | uiSubStringLength |
The number of characters in the substring to parse. More... | |
aint | uiLookBehindLength |
The maximum number of character to search for a match in look behind. More... | |
aint | uiInLookaround |
True if in look ahead or look behind mode. More... | |
const uint8_t * | ucpMaps |
Pointer to the PPPT maps. More... | |
aint | uiMapSize |
Number of bytes in a single PPPT map. More... | |
aint | uiMapCount |
Number of maps in the PPPT. More... | |
achar | acAcharMin |
The minimum alphabet character referenced by the SABNF grammar. More... | |
achar | acAcharMax |
The maximum alphabet character referenced by the SABNF grammar. More... | |
aint | uiOffset |
Offset to the current phrase to parse. More... | |
aint | uiPhraseLength |
Phrase length of a matched phrase. More... | |
aint | uiOpState |
State of the current opcode being processed. More... | |
opcode | sStartOp |
Placeholder for the parser-generated RNM operator of the start rule. The root node of the parse tree. More... | |
callback_data | sCBData |
The callback data, initialized by the parser and passed to user-defined call back functions. More... | |
aint | uiTreeDepth |
The current parse tree depth. More... | |
parser_state | sState |
The final state of the parser. More... | |
The parser object's context. Holds the parser's state. Opaque to user.
achar parser_tag::acAcharMax |
achar parser_tag::acAcharMin |
const achar* parser_tag::acpAcharTable |
const achar* parser_tag::acpInputString |
const char* parser_tag::cpStringTable |
pfn_op* parser_tag::pfnOpFunc |
callback_data parser_tag::sCBData |
exception* parser_tag::spException |
opcode* parser_tag::spOpcodes |
opcode parser_tag::sStartOp |
parser_state parser_tag::sState |
const uint8_t* parser_tag::ucpMaps |
aint parser_tag::uiInLookaround |
aint parser_tag::uiInputStringLength |
aint parser_tag::uiLookBehindLength |
aint parser_tag::uiMapSize |
aint parser_tag::uiOffset |
aint parser_tag::uiOpcodeCount |
aint parser_tag::uiOpState |
const aint* parser_tag::uipChildList |
aint parser_tag::uiPhraseLength |
aint parser_tag::uiRuleCount |
aint parser_tag::uiStartRule |
aint parser_tag::uiSubStringBeg |
aint parser_tag::uiSubStringEnd |
aint parser_tag::uiSubStringLength |
aint parser_tag::uiTreeDepth |
aint parser_tag::uiUdtCount |
void* parser_tag::vpAst |
Pointer to the AST object context, if any. See vpAstCtor().
void* parser_tag::vpBkrp |
Pointer to the parent-mode back reference object context, if any. See vpBkrpCtor().
void* parser_tag::vpBkru |
Pointer to the universal-mode back reference object context, if any. See vpBkruCtor().
void* parser_tag::vpMem |
void* parser_tag::vpStats |
Pointer to the stats object context, if any. See vpStatsCtor().
void* parser_tag::vpTrace |
Pointer to the trace object context, if any. See vpTraceCtor().
const void* parser_tag::vpValidate |
void* parser_tag::vpVecInputString |