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

Working attribute information about a each rule. More...

#include <apip.h>

Data Fields

abool bLeft
 APG_TRUE if the rule is left recursive. More...
 
abool bNested
 APG_TRUE if the rule is nested recursive. More...
 
abool bRight
 APG_TRUE if the rule is right recursive. More...
 
abool bCyclic
 APG_TRUE if the rule is cyclic. More...
 
abool bFinite
 APG_TRUE if the rule is finite. More...
 
abool bEmpty
 APG_TRUE if the rule can be empty. More...
 
abool bLeaf
 APG_TRUE if this is a leaf rule (appears for a second time on a branch) More...
 
char * cpRuleName
 the rule name for these attributes More...
 
aint uiRuleIndex
 the index of the rule for these attributes More...
 
aint uiRecursiveType
 ID_ATTR_N, ID_ATTR_R, ID_ATTR_MR, ID_ATTR_NMR, or ID_ATTR_RMR. More...
 
aint uiMRGroup
 the group number, if this is a member of a mutually-recursive group (there may be multiple groups) More...
 
aboolbpRefersToUdt
 a list of all the UDTs that this rule refers to More...
 
aboolbpRefersTo
 a list of all the rules that this rule refers to More...
 
aboolbpIsReferencedBy
 a list of all the rules that refer to this rule More...
 
abool bIsOpen
 admin More...
 
abool bIsComplete
 admin More...
 

Detailed Description

Working attribute information about a each rule.

Attribute construction is multi-step and the working information retains attribute data between steps.

Definition at line 99 of file apip.h.

Field Documentation

◆ bCyclic

abool api_attr_w::bCyclic

APG_TRUE if the rule is cyclic.

Definition at line 103 of file apip.h.

◆ bEmpty

abool api_attr_w::bEmpty

APG_TRUE if the rule can be empty.

Definition at line 105 of file apip.h.

◆ bFinite

abool api_attr_w::bFinite

APG_TRUE if the rule is finite.

Definition at line 104 of file apip.h.

◆ bIsComplete

abool api_attr_w::bIsComplete

admin

Definition at line 117 of file apip.h.

◆ bIsOpen

abool api_attr_w::bIsOpen

admin

Definition at line 116 of file apip.h.

◆ bLeaf

abool api_attr_w::bLeaf

APG_TRUE if this is a leaf rule (appears for a second time on a branch)

Definition at line 106 of file apip.h.

◆ bLeft

abool api_attr_w::bLeft

APG_TRUE if the rule is left recursive.

Definition at line 100 of file apip.h.

◆ bNested

abool api_attr_w::bNested

APG_TRUE if the rule is nested recursive.

Definition at line 101 of file apip.h.

◆ bpIsReferencedBy

abool* api_attr_w::bpIsReferencedBy

a list of all the rules that refer to this rule

Definition at line 113 of file apip.h.

◆ bpRefersTo

abool* api_attr_w::bpRefersTo

a list of all the rules that this rule refers to

Definition at line 112 of file apip.h.

◆ bpRefersToUdt

abool* api_attr_w::bpRefersToUdt

a list of all the UDTs that this rule refers to

Definition at line 111 of file apip.h.

◆ bRight

abool api_attr_w::bRight

APG_TRUE if the rule is right recursive.

Definition at line 102 of file apip.h.

◆ cpRuleName

char* api_attr_w::cpRuleName

the rule name for these attributes

Definition at line 107 of file apip.h.

◆ uiMRGroup

aint api_attr_w::uiMRGroup

the group number, if this is a member of a mutually-recursive group (there may be multiple groups)

Definition at line 110 of file apip.h.

◆ uiRecursiveType

aint api_attr_w::uiRecursiveType

ID_ATTR_N, ID_ATTR_R, ID_ATTR_MR, ID_ATTR_NMR, or ID_ATTR_RMR.

Definition at line 109 of file apip.h.

◆ uiRuleIndex

aint api_attr_w::uiRuleIndex

the index of the rule for these attributes

Definition at line 108 of file apip.h.


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.