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

A stack is used to track which element is currently being parsed. This frame struct contains all of the information needed to track the data. More...

#include <xmlp.h>

Collaboration diagram for element_frame:
Collaboration graph
[legend]

Data Fields

aint uiElementOffset
 Parser offset to beginning of this element. For error reporting. More...
 
aint uiAttributeOffset
 Parser offset to beginning of the current attribute. For error reporting. More...
 
aint uiEntityOffset
 Parser offset to beginning of the current entity reference. For error reporting. More...
 
aint uiBase32
 Base index in vpVec32 for all data for this element. Pop to uiBase32 at end of element. More...
 
aint uiBaseAtt
 Base index in vpVecAttList for this element. Pop to uiBaseAtt at end of element. More...
 
aint uiAttCount
 The number of attributes found in the start tag. More...
 
cdata_id sSName
 Identifies the location of the start tag name. More...
 
cdata_id sEName
 Identifies the location of the end tag name. More...
 
cdata_id sContent
 Identifies the location of the element's character data. More...
 

Detailed Description

A stack is used to track which element is currently being parsed. This frame struct contains all of the information needed to track the data.

Definition at line 95 of file xmlp.h.

Field Documentation

◆ sContent

cdata_id element_frame::sContent

Identifies the location of the element's character data.

Definition at line 104 of file xmlp.h.

◆ sEName

cdata_id element_frame::sEName

Identifies the location of the end tag name.

Definition at line 103 of file xmlp.h.

◆ sSName

cdata_id element_frame::sSName

Identifies the location of the start tag name.

Definition at line 102 of file xmlp.h.

◆ uiAttCount

aint element_frame::uiAttCount

The number of attributes found in the start tag.

Definition at line 101 of file xmlp.h.

◆ uiAttributeOffset

aint element_frame::uiAttributeOffset

Parser offset to beginning of the current attribute. For error reporting.

Definition at line 97 of file xmlp.h.

◆ uiBase32

aint element_frame::uiBase32

Base index in vpVec32 for all data for this element. Pop to uiBase32 at end of element.

Definition at line 99 of file xmlp.h.

◆ uiBaseAtt

aint element_frame::uiBaseAtt

Base index in vpVecAttList for this element. Pop to uiBaseAtt at end of element.

Definition at line 100 of file xmlp.h.

◆ uiElementOffset

aint element_frame::uiElementOffset

Parser offset to beginning of this element. For error reporting.

Definition at line 96 of file xmlp.h.

◆ uiEntityOffset

aint element_frame::uiEntityOffset

Parser offset to beginning of the current entity reference. For error reporting.

Definition at line 98 of file xmlp.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.