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

Data structure for a single UDT. More...

#include <parserp.h>

Collaboration diagram for udt:
Collaboration graph
[legend]

Data Fields

const char * cpUdtName
 Pointer to the (null-terminated) ASCII rule name. More...
 
parser_callback pfnCallback
 Pointer to the call back function for this UDT. The parser will throw an exception if this is NULL. See vParserSetUdtCallback() More...
 
aint uiEmpty
 APG_TRUE if this UDT can be empty, APG_FALSE otherwise. Parser will throw an exception if this if false and the call back function returns an empty string. More...
 
aint uiUdtIndex
 The UDT index - the zero-based order in which the UDT appears in the SABNF grammar. More...
 

Detailed Description

Data structure for a single UDT.

Definition at line 133 of file parserp.h.

Field Documentation

◆ cpUdtName

const char* udt::cpUdtName

Pointer to the (null-terminated) ASCII rule name.

Definition at line 134 of file parserp.h.

◆ pfnCallback

parser_callback udt::pfnCallback

Pointer to the call back function for this UDT. The parser will throw an exception if this is NULL. See vParserSetUdtCallback()

Definition at line 135 of file parserp.h.

◆ uiEmpty

aint udt::uiEmpty

APG_TRUE if this UDT can be empty, APG_FALSE otherwise. Parser will throw an exception if this if false and the call back function returns an empty string.

Definition at line 137 of file parserp.h.

◆ uiUdtIndex

aint udt::uiUdtIndex

The UDT index - the zero-based order in which the UDT appears in the SABNF grammar.

Definition at line 139 of file parserp.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.