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

The information recorded & displayed by the trace object for each node visited. More...

#include <tracep.h>

Data Fields

aint uiTreeDepth
 The actual parse tree depth. More...
 
int iTraceDepth
 The partial parse tree depth (a subset possibly restricted by the configuration.) More...
 
aint uiThisRecord
 The record index of the current record. More...
 
aint uiOffset
 The offset into the input string for the first character of the sub-phrase being matched. More...
 
aint uiPhraseLength
 The phrase length of a successful match. More...
 
aint uiState
 The parser's state for this node (ID_ACTIVE, ID_MATCH, etc.) More...
 
const opcode * spOpcode
 Pointer to the opcode for the current node. More...
 

Detailed Description

The information recorded & displayed by the trace object for each node visited.

Definition at line 60 of file tracep.h.

Field Documentation

◆ iTraceDepth

int trace_record::iTraceDepth

The partial parse tree depth (a subset possibly restricted by the configuration.)

Definition at line 62 of file tracep.h.

◆ spOpcode

const opcode* trace_record::spOpcode

Pointer to the opcode for the current node.

Definition at line 67 of file tracep.h.

◆ uiOffset

aint trace_record::uiOffset

The offset into the input string for the first character of the sub-phrase being matched.

Definition at line 64 of file tracep.h.

◆ uiPhraseLength

aint trace_record::uiPhraseLength

The phrase length of a successful match.

Definition at line 65 of file tracep.h.

◆ uiState

aint trace_record::uiState

The parser's state for this node (ID_ACTIVE, ID_MATCH, etc.)

Definition at line 66 of file tracep.h.

◆ uiThisRecord

aint trace_record::uiThisRecord

The record index of the current record.

Definition at line 63 of file tracep.h.

◆ uiTreeDepth

aint trace_record::uiTreeDepth

The actual parse tree depth.

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