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

API information about each rule. More...

#include <apip.h>

Data Fields

char * cpName
 pointer to null-terminated string in the string table More...
 
aint uiIndex
 index of this rule in the rule list More...
 
aint uiOpOffset
 offset into the opcode table to the first opcode of this rule More...
 
aint uiOpCount
 the number of opcodes in this rule More...
 
abool bIsOpen
 used for walking the SEST, set to true at the root it will tell when a recursive instance of the rule is found More...
 
abool bIsComplete
 used when processing rules recursively. If the rule is already complete it need not be recursed again. More...
 
aint uiPpptIndex
 Index to the PPPT map for this opcode. More...
 
abool bProtected
 if true, this rule will be protected from being hidden under a fully-predictive node in the parse tree. More...
 

Detailed Description

API information about each rule.

Definition at line 55 of file apip.h.

Field Documentation

◆ bIsComplete

abool api_rule::bIsComplete

used when processing rules recursively. If the rule is already complete it need not be recursed again.

Definition at line 61 of file apip.h.

◆ bIsOpen

abool api_rule::bIsOpen

used for walking the SEST, set to true at the root it will tell when a recursive instance of the rule is found

Definition at line 60 of file apip.h.

◆ bProtected

abool api_rule::bProtected

if true, this rule will be protected from being hidden under a fully-predictive node in the parse tree.

Definition at line 63 of file apip.h.

◆ cpName

char* api_rule::cpName

pointer to null-terminated string in the string table

Definition at line 56 of file apip.h.

◆ uiIndex

aint api_rule::uiIndex

index of this rule in the rule list

Definition at line 57 of file apip.h.

◆ uiOpCount

aint api_rule::uiOpCount

the number of opcodes in this rule

Definition at line 59 of file apip.h.

◆ uiOpOffset

aint api_rule::uiOpOffset

offset into the opcode table to the first opcode of this rule

Definition at line 58 of file apip.h.

◆ uiPpptIndex

aint api_rule::uiPpptIndex

Index to the PPPT map for this opcode.

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