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

The recursive attributes of a single SABNF grammra rule. More...

#include <api.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...
 
const 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...
 

Detailed Description

The recursive attributes of a single SABNF grammra rule.

Definition at line 67 of file api.h.

Field Documentation

◆ bCyclic

abool api_attr::bCyclic

APG_TRUE if the rule is cyclic.

Definition at line 71 of file api.h.

◆ bEmpty

abool api_attr::bEmpty

APG_TRUE if the rule can be empty.

Definition at line 73 of file api.h.

◆ bFinite

abool api_attr::bFinite

APG_TRUE if the rule is finite.

Definition at line 72 of file api.h.

◆ bLeft

abool api_attr::bLeft

APG_TRUE if the rule is left recursive.

Definition at line 68 of file api.h.

◆ bNested

abool api_attr::bNested

APG_TRUE if the rule is nested recursive.

Definition at line 69 of file api.h.

◆ bRight

abool api_attr::bRight

APG_TRUE if the rule is right recursive.

Definition at line 70 of file api.h.

◆ cpRuleName

const char* api_attr::cpRuleName

the rule name for these attributes

Definition at line 74 of file api.h.

◆ uiMRGroup

aint api_attr::uiMRGroup

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

Definition at line 77 of file api.h.

◆ uiRecursiveType

aint api_attr::uiRecursiveType

ID_ATTR_N, ID_ATTR_R, ID_ATTR_MR, ID_ATTR_NMR, or ID_ATTR_RMR.

Definition at line 76 of file api.h.

◆ uiRuleIndex

aint api_attr::uiRuleIndex

the index of the rule for these attributes

Definition at line 75 of file api.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.