EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Attributes | List of all members
EBGeometry::Language::Span Struct Reference

Where a piece of text is: its file, its first and one-past-last byte, and the line and column of its first byte (both from 1). What every diagnostic points at, and what a viewer edits. More...

#include <EBGeometry_LanguageSyntax.hpp>

Collaboration diagram for EBGeometry::Language::Span:
Collaboration graph
[legend]

Public Attributes

std::string m_file
 The file, as the model names it (the path given to read(), or the name given to parse()).
 
uint32_t m_begin = 0
 The first byte.
 
uint32_t m_end = 0
 One past the last byte.
 
uint32_t m_line = 0
 The line of the first byte, from 1; 0 for a span that is a whole file or no file (an override).
 
uint32_t m_column = 0
 The column of the first byte, from 1, in bytes.
 

Detailed Description

Where a piece of text is: its file, its first and one-past-last byte, and the line and column of its first byte (both from 1). What every diagnostic points at, and what a viewer edits.


The documentation for this struct was generated from the following file: