Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
apgex Struct Reference

For internal object use only. The phrase matching object context. More...

Collaboration diagram for apgex:
Collaboration graph
[legend]

Data Fields

const void * vpValidate
 Must be the "magic number" to be a valid context. More...
 
exceptionspException
 Pointer to the exception structure for reporting errors to the application catch block. More...
 
void * vpMem
 Pointer to a memory object used for all memory allocations. More...
 
void * vpVecSource
 
void * vpVecOriginalSource
 Vector to hold the original source with no replacements. More...
 
void * vpVecPattern
 Vector for the pattern string, if any. More...
 
void * vpVecFlags
 Vector for the input flags string. More...
 
void * vpVecRules
 Vector of rule structures. More...
 
void * vpVecUdts
 Vector of UDT structures. More...
 
void * vpVecStrings
 Vector for string scratch space. More...
 
void * vpVecPhrases
 Vector of matched phrases. More...
 
void * vpVecRelPhrases
 Vector of relative phrases - offsets rather than absolute pointers. More...
 
void * vpVecRelRules
 Vector of relative rules. More...
 
void * vpVecRelUdts
 Vector of relative UDTs. More...
 
void * vpVecReplaceRaw
 Vector for the original replacement string with no modifications. More...
 
void * vpVecReplacement
 Vector for the final form of the replacement string. More...
 
void * vpVecSplitPhrases
 Vector for the resulting phrases of spApgexSplit(). More...
 
void * vpParser
 Pointer to the SABNF grammar parser. More...
 
void * vpApi
 Pointer to the API object used to generate the parser. More...
 
void * vpFmt
 Pointer to a format object used for display. More...
 
void * vpAst
 Pointer to the AST object if any. More...
 
void * vpTrace
 Pointer to the trace object if any. More...
 
void * vpExternalParser
 Pointer to the externally-supplied parsed, if any. More...
 
FILE * spDisplay
 The open file for display - may be stdout. More...
 
apgex_phrasespLastMatch
 Pointer to the last matched result. More...
 
apgex_phrasespLeftContext
 Pointer to the left context of the last result. More...
 
apgex_phrasespRightContext
 Pointer to the right context of the last result. More...
 
rule_rspRelRules
 Pointer to the relative rules in the vector of relative rules. More...
 
udt_rspRelUdts
 Pointer to the relative UDTs in the vector of relative UDTs. More...
 
aint uiRuleCount
 Number of rules in the SABNF pattern grammar. More...
 
aint uiUdtCount
 Number of UDTs in the SABNF pattern grammar. More...
 
aint uiEnabledRuleCount
 Number of enabled rules. More...
 
aint uiEnabledUdtCount
 Number of enabled UDTs. More...
 
aint uiLastIndex
 Last index - the offset to the first character to begin the search for a pattern match. More...
 
aint uiNodeHits
 Number of node hits in the pattern-matching parse. More...
 
aint uiTreeDepth
 Maximum tree depth reached in the pattern-matching parse. More...
 
abool bReplaceMode
 True if in replace mode. More...
 
abool bDefaultMode
 True if in default mode. More...
 
abool bTraceMode
 True if tracing is requested. More...
 
abool bTraceHtmlMode
 True if tracing in HTML mode is requested. More...
 
abool bGlobalMode
 True if in global mode. More...
 
abool bPpptMode
 True if PPPTs are used. More...
 
abool bStickyMode
 True if in sticky mode. More...
 

Detailed Description

For internal object use only. The phrase matching object context.

Definition at line 112 of file apgex.c.

Field Documentation

◆ bDefaultMode

abool apgex::bDefaultMode

True if in default mode.

Definition at line 151 of file apgex.c.

◆ bGlobalMode

abool apgex::bGlobalMode

True if in global mode.

Definition at line 154 of file apgex.c.

◆ bPpptMode

abool apgex::bPpptMode

True if PPPTs are used.

Definition at line 155 of file apgex.c.

◆ bReplaceMode

abool apgex::bReplaceMode

True if in replace mode.

Definition at line 150 of file apgex.c.

◆ bStickyMode

abool apgex::bStickyMode

True if in sticky mode.

Definition at line 156 of file apgex.c.

◆ bTraceHtmlMode

abool apgex::bTraceHtmlMode

True if tracing in HTML mode is requested.

Definition at line 153 of file apgex.c.

◆ bTraceMode

abool apgex::bTraceMode

True if tracing is requested.

Definition at line 152 of file apgex.c.

◆ spDisplay

FILE* apgex::spDisplay

The open file for display - may be stdout.

Definition at line 137 of file apgex.c.

◆ spException

exception* apgex::spException

Pointer to the exception structure for reporting errors to the application catch block.

Definition at line 114 of file apgex.c.

◆ spLastMatch

apgex_phrase* apgex::spLastMatch

Pointer to the last matched result.

Definition at line 138 of file apgex.c.

◆ spLeftContext

apgex_phrase* apgex::spLeftContext

Pointer to the left context of the last result.

Definition at line 139 of file apgex.c.

◆ spRelRules

rule_r* apgex::spRelRules

Pointer to the relative rules in the vector of relative rules.

Definition at line 141 of file apgex.c.

◆ spRelUdts

udt_r* apgex::spRelUdts

Pointer to the relative UDTs in the vector of relative UDTs.

Definition at line 142 of file apgex.c.

◆ spRightContext

apgex_phrase* apgex::spRightContext

Pointer to the right context of the last result.

Definition at line 140 of file apgex.c.

◆ uiEnabledRuleCount

aint apgex::uiEnabledRuleCount

Number of enabled rules.

Definition at line 145 of file apgex.c.

◆ uiEnabledUdtCount

aint apgex::uiEnabledUdtCount

Number of enabled UDTs.

Definition at line 146 of file apgex.c.

◆ uiLastIndex

aint apgex::uiLastIndex

Last index - the offset to the first character to begin the search for a pattern match.

Definition at line 147 of file apgex.c.

◆ uiNodeHits

aint apgex::uiNodeHits

Number of node hits in the pattern-matching parse.

Definition at line 148 of file apgex.c.

◆ uiRuleCount

aint apgex::uiRuleCount

Number of rules in the SABNF pattern grammar.

Definition at line 143 of file apgex.c.

◆ uiTreeDepth

aint apgex::uiTreeDepth

Maximum tree depth reached in the pattern-matching parse.

Definition at line 149 of file apgex.c.

◆ uiUdtCount

aint apgex::uiUdtCount

Number of UDTs in the SABNF pattern grammar.

Definition at line 144 of file apgex.c.

◆ vpApi

void* apgex::vpApi

Pointer to the API object used to generate the parser.

Definition at line 132 of file apgex.c.

◆ vpAst

void* apgex::vpAst

Pointer to the AST object if any.

Definition at line 134 of file apgex.c.

◆ vpExternalParser

void* apgex::vpExternalParser

Pointer to the externally-supplied parsed, if any.

Definition at line 136 of file apgex.c.

◆ vpFmt

void* apgex::vpFmt

Pointer to a format object used for display.

Definition at line 133 of file apgex.c.

◆ vpMem

void* apgex::vpMem

Pointer to a memory object used for all memory allocations.

Definition at line 116 of file apgex.c.

◆ vpParser

void* apgex::vpParser

Pointer to the SABNF grammar parser.

Definition at line 131 of file apgex.c.

◆ vpTrace

void* apgex::vpTrace

Pointer to the trace object if any.

Definition at line 135 of file apgex.c.

◆ vpValidate

const void* apgex::vpValidate

Must be the "magic number" to be a valid context.

Definition at line 113 of file apgex.c.

◆ vpVecFlags

void* apgex::vpVecFlags

Vector for the input flags string.

Definition at line 120 of file apgex.c.

◆ vpVecOriginalSource

void* apgex::vpVecOriginalSource

Vector to hold the original source with no replacements.

Definition at line 118 of file apgex.c.

◆ vpVecPattern

void* apgex::vpVecPattern

Vector for the pattern string, if any.

Definition at line 119 of file apgex.c.

◆ vpVecPhrases

void* apgex::vpVecPhrases

Vector of matched phrases.

Definition at line 124 of file apgex.c.

◆ vpVecRelPhrases

void* apgex::vpVecRelPhrases

Vector of relative phrases - offsets rather than absolute pointers.

Definition at line 125 of file apgex.c.

◆ vpVecRelRules

void* apgex::vpVecRelRules

Vector of relative rules.

Definition at line 126 of file apgex.c.

◆ vpVecRelUdts

void* apgex::vpVecRelUdts

Vector of relative UDTs.

Definition at line 127 of file apgex.c.

◆ vpVecReplacement

void* apgex::vpVecReplacement

Vector for the final form of the replacement string.

Definition at line 129 of file apgex.c.

◆ vpVecReplaceRaw

void* apgex::vpVecReplaceRaw

Vector for the original replacement string with no modifications.

Definition at line 128 of file apgex.c.

◆ vpVecRules

void* apgex::vpVecRules

Vector of rule structures.

Definition at line 121 of file apgex.c.

◆ vpVecSource

void* apgex::vpVecSource

Definition at line 117 of file apgex.c.

◆ vpVecSplitPhrases

void* apgex::vpVecSplitPhrases

Vector for the resulting phrases of spApgexSplit().

Definition at line 130 of file apgex.c.

◆ vpVecStrings

void* apgex::vpVecStrings

Vector for string scratch space.

Definition at line 123 of file apgex.c.

◆ vpVecUdts

void* apgex::vpVecUdts

Vector of UDT structures.

Definition at line 122 of file apgex.c.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.