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

The AST object context. Holds the object's state. More...

#include <astp.h>

Collaboration diagram for ast:
Collaboration graph
[legend]

Data Fields

const void * vpValidate
 A "magic number" indicating a valid, initialized AST object. More...
 
exceptionspException
 Pointer to an exception structure for reporting fatal errors back to the parser's catch block scope. More...
 
parser * spParser
 Pointer to the parent parser. More...
 
void * vpVecRecords
 Pointer to the vector holding the AST records (two for each saved node). More...
 
void * vpVecThatStack
 Pointer to the vector holding a LIFO stack to match up and down node records. More...
 
void * vpVecOpenStack
 Pointer to a vector LIFO stack of open rule nodes. More...
 
ast_callbackpfnRuleCallbacks
 An array of rule name call back functions. More...
 
ast_callbackpfnUdtCallbacks
 An array of UDT call back functions. More...
 

Detailed Description

The AST object context. Holds the object's state.

struct ast For internal AST object use only. Should never be accessed by an application directly.

Definition at line 46 of file astp.h.

Field Documentation

◆ pfnRuleCallbacks

ast_callback* ast::pfnRuleCallbacks

An array of rule name call back functions.

Definition at line 54 of file astp.h.

◆ pfnUdtCallbacks

ast_callback* ast::pfnUdtCallbacks

An array of UDT call back functions.

Definition at line 55 of file astp.h.

◆ spException

exception* ast::spException

Pointer to an exception structure for reporting fatal errors back to the parser's catch block scope.

Definition at line 48 of file astp.h.

◆ spParser

parser* ast::spParser

Pointer to the parent parser.

Definition at line 50 of file astp.h.

◆ vpValidate

const void* ast::vpValidate

A "magic number" indicating a valid, initialized AST object.

Definition at line 47 of file astp.h.

◆ vpVecOpenStack

void* ast::vpVecOpenStack

Pointer to a vector LIFO stack of open rule nodes.

Definition at line 53 of file astp.h.

◆ vpVecRecords

void* ast::vpVecRecords

Pointer to the vector holding the AST records (two for each saved node).

Definition at line 51 of file astp.h.

◆ vpVecThatStack

void* ast::vpVecThatStack

Pointer to the vector holding a LIFO stack to match up and down node records.

Definition at line 52 of file astp.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.