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

For internal object use only. Relative offsets to phrase information for rules. More...

Data Fields

const char * cpRuleName
 Rule name. More...
 
aint uiRuleIndex
 Rule index or index. More...
 
aint uiPhraseCount
 The number of matched phrases. More...
 
aint uiFirstPhrase
 Offset in vpVecRelPhases for the first phrase of a singly-linked list of phrases matched by this rule. More...
 
aint uiLastPhrase
 Offset into vpVecRelPhrases for the last matched phrase. APG_UNDEFINED if no phrases for this rule exist. More...
 
abool bEnabled
 True if this rule has been enabled for phrase capture. More...
 

Detailed Description

For internal object use only. Relative offsets to phrase information for rules.

One struct for each rule. Handles all information needed by this rule.

Definition at line 68 of file apgex.c.

Field Documentation

◆ bEnabled

abool rule_r::bEnabled

True if this rule has been enabled for phrase capture.

Definition at line 76 of file apgex.c.

◆ cpRuleName

const char* rule_r::cpRuleName

Rule name.

Definition at line 69 of file apgex.c.

◆ uiFirstPhrase

aint rule_r::uiFirstPhrase

Offset in vpVecRelPhases for the first phrase of a singly-linked list of phrases matched by this rule.

APG_UNDEFINED if no phrases for this rule exist.

Definition at line 72 of file apgex.c.

◆ uiLastPhrase

aint rule_r::uiLastPhrase

Offset into vpVecRelPhrases for the last matched phrase. APG_UNDEFINED if no phrases for this rule exist.

Used only during the building of the singly-linked list.

Definition at line 74 of file apgex.c.

◆ uiPhraseCount

aint rule_r::uiPhraseCount

The number of matched phrases.

Definition at line 71 of file apgex.c.

◆ uiRuleIndex

aint rule_r::uiRuleIndex

Rule index or index.

Definition at line 70 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.