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

The syntax data that gets passed to the syntax parser's callback functions. More...

#include <syntax.h>

Collaboration diagram for syntax_data:
Collaboration graph
[legend]

Data Fields

apispApi
 Pointer to the parent API object context. More...
 
abool bStrict
 True if the grammar is to be treated as strict RFC5234 ABNF. No superset operators allowed. More...
 
void * vpAltStack
 A stack vector to manage open ALT operators. More...
 
alt_dataspTopAlt
 Pointer to the top of the ALT stack. More...
 
aint uiRuleError
 True if an error has been found in the rule definition/. More...
 
aint uiRulesFound
 True if rules have been found in the grammar. More...
 
aint uiErrorsFound
 True if any errors in the grammar have been found. More...
 

Detailed Description

The syntax data that gets passed to the syntax parser's callback functions.

struct syntax_data

Definition at line 44 of file syntax.h.

Field Documentation

◆ bStrict

abool syntax_data::bStrict

True if the grammar is to be treated as strict RFC5234 ABNF. No superset operators allowed.

Definition at line 46 of file syntax.h.

◆ spApi

api* syntax_data::spApi

Pointer to the parent API object context.

Definition at line 45 of file syntax.h.

◆ spTopAlt

alt_data* syntax_data::spTopAlt

Pointer to the top of the ALT stack.

Definition at line 48 of file syntax.h.

◆ uiErrorsFound

aint syntax_data::uiErrorsFound

True if any errors in the grammar have been found.

Definition at line 51 of file syntax.h.

◆ uiRuleError

aint syntax_data::uiRuleError

True if an error has been found in the rule definition/.

Definition at line 49 of file syntax.h.

◆ uiRulesFound

aint syntax_data::uiRulesFound

True if rules have been found in the grammar.

Definition at line 50 of file syntax.h.

◆ vpAltStack

void* syntax_data::vpAltStack

A stack vector to manage open ALT operators.

Definition at line 47 of file syntax.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.