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

The API will construct an attributes object. This is the attribute object's context. More...

#include <attributes.h>

Collaboration diagram for attrs_ctx:
Collaboration graph
[legend]

Data Fields

const void * vpValidate
 True if the context is valid. More...
 
exceptionspException
 Pointer to the exception context inherited from the parent API. More...
 
void * vpMem
 Pointer to the memory context inherited from the parent API. More...
 
apispApi
 Pointer to the parent API context. More...
 
api_attr_wspWorkingAttrs
 An array of private attribute structures. More...
 
api_attr_wspAttrs
 An array of private attribute structures used in their construction. More...
 
api_attrspPublicAttrs
 When attributes a complete, the public version strips some of the unneeded variables used only in construction. More...
 
api_attrspErrorAttrs
 An array of all rule attributes that have errors. (i.e. left recursive) More...
 
aint uiStartRule
 The grammar start rule. More...
 
aint uiErrorCount
 The number of rules that have attribute errors. More...
 
void * vpVecGroupNumbers
 A vector for the discovery of groups of mutually recursive rules. More...
 

Detailed Description

The API will construct an attributes object. This is the attribute object's context.

Definition at line 41 of file attributes.h.

Field Documentation

◆ spApi

api* attrs_ctx::spApi

Pointer to the parent API context.

Definition at line 45 of file attributes.h.

◆ spAttrs

api_attr_w* attrs_ctx::spAttrs

An array of private attribute structures used in their construction.

Definition at line 48 of file attributes.h.

◆ spErrorAttrs

api_attr* attrs_ctx::spErrorAttrs

An array of all rule attributes that have errors. (i.e. left recursive)

Definition at line 50 of file attributes.h.

◆ spException

exception* attrs_ctx::spException

Pointer to the exception context inherited from the parent API.

Definition at line 43 of file attributes.h.

◆ spPublicAttrs

api_attr* attrs_ctx::spPublicAttrs

When attributes a complete, the public version strips some of the unneeded variables used only in construction.

Definition at line 49 of file attributes.h.

◆ spWorkingAttrs

api_attr_w* attrs_ctx::spWorkingAttrs

An array of private attribute structures.

Construction requires iterations with space to hold intermediate values.

Definition at line 46 of file attributes.h.

◆ uiErrorCount

aint attrs_ctx::uiErrorCount

The number of rules that have attribute errors.

Definition at line 52 of file attributes.h.

◆ uiStartRule

aint attrs_ctx::uiStartRule

The grammar start rule.

Definition at line 51 of file attributes.h.

◆ vpMem

void* attrs_ctx::vpMem

Pointer to the memory context inherited from the parent API.

Definition at line 44 of file attributes.h.

◆ vpValidate

const void* attrs_ctx::vpValidate

True if the context is valid.

Definition at line 42 of file attributes.h.

◆ vpVecGroupNumbers

void* attrs_ctx::vpVecGroupNumbers

A vector for the discovery of groups of mutually recursive rules.

Definition at line 53 of file attributes.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.