APG
… an ABNF Parser Generator
|
Format of an AST record. More...
#include <ast.h>
Data Fields | |
const char * | cpName |
Name of the rule or UDT of this record. More... | |
aint | uiIndex |
Index of the rule or UDT of this record. More... | |
aint | uiThisRecord |
The record number. More... | |
aint | uiThatRecord |
The matching record number. That is, if uiThisRecord the number of the record that opens the rule, uiThatRecord is the number of the record that closes the rule. And vice versa. More... | |
aint | uiPhraseOffset |
The offset into the input string to the first character of the matched phrase. More... | |
aint | uiPhraseLength |
The number of characters in the matched phrase. More... | |
aint | uiState |
ID_AST_PRE if the current record opens the rule, ID_AST_POST if the current record closes the rule. More... | |
abool | bIsUdt |
True if this record is for a UDT. More... | |
Format of an AST record.
Available if user wants to write a custom AST translator.
const char* ast_record::cpName |
aint ast_record::uiIndex |
aint ast_record::uiPhraseLength |
aint ast_record::uiPhraseOffset |
aint ast_record::uiState |
aint ast_record::uiThatRecord |