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

All the information a user needs to write a custom AST translator. More...

#include <ast.h>

Collaboration diagram for ast_info:
Collaboration graph
[legend]

Data Fields

const acharacpString
 The parsed input string. More...
 
ast_recordspRecords
 The list of records in the order of a depth-first traversal of the AST. More...
 
aint uiRuleCount
 The number of rules. More...
 
aint uiUdtCount
 The number of UDTs. More...
 
aint uiStringLength
 The number of characters in the input string. More...
 
aint uiRecordCount
 The number of records (two for each node of the AST, one down traversal, one up.) More...
 

Detailed Description

All the information a user needs to write a custom AST translator.

Definition at line 57 of file ast.h.

Field Documentation

◆ acpString

const achar* ast_info::acpString

The parsed input string.

Definition at line 58 of file ast.h.

◆ spRecords

ast_record* ast_info::spRecords

The list of records in the order of a depth-first traversal of the AST.

Definition at line 59 of file ast.h.

◆ uiRecordCount

aint ast_info::uiRecordCount

The number of records (two for each node of the AST, one down traversal, one up.)

Definition at line 63 of file ast.h.

◆ uiRuleCount

aint ast_info::uiRuleCount

The number of rules.

Definition at line 60 of file ast.h.

◆ uiStringLength

aint ast_info::uiStringLength

The number of characters in the input string.

Definition at line 62 of file ast.h.

◆ uiUdtCount

aint ast_info::uiUdtCount

The number of UDTs.

Definition at line 61 of file ast.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.