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

Carries detailed information about the characters and line endings. One for each line in the input grammar file. More...

#include <linesu.h>

Data Fields

aint uiLineIndex
 zero-based line number More...
 
aint uiCharIndex
 zero-based index of the first Unicode character of the line More...
 
aint uiLineLength
 number of Unicode characters in the line, including line end characters More...
 
aint uiTextLength
 number of Unicode text characters in the line, excluding line end characters More...
 
uint32_t uiaLineEnd [3]
 the actual string of line ending character(s), if any More...
 

Detailed Description

Carries detailed information about the characters and line endings. One for each line in the input grammar file.

Definition at line 40 of file linesu.h.

Field Documentation

◆ uiaLineEnd

uint32_t line_u::uiaLineEnd[3]

the actual string of line ending character(s), if any

Definition at line 45 of file linesu.h.

◆ uiCharIndex

aint line_u::uiCharIndex

zero-based index of the first Unicode character of the line

Definition at line 42 of file linesu.h.

◆ uiLineIndex

aint line_u::uiLineIndex

zero-based line number

Definition at line 41 of file linesu.h.

◆ uiLineLength

aint line_u::uiLineLength

number of Unicode characters in the line, including line end characters

Definition at line 43 of file linesu.h.

◆ uiTextLength

aint line_u::uiTextLength

number of Unicode text characters in the line, excluding line end characters

Definition at line 44 of file linesu.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.