bux API Reference 1.11.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
bux::C_SourcePos Struct Reference

#include <LexBase.h>

Public Member Functions

 C_SourcePos ()=default
 
 C_SourcePos (std::string_view source, unsigned line, unsigned col) noexcept
 
 C_SourcePos (const C_SourcePos &a)=default
 
C_SourcePosoperator= (const C_SourcePos &a)=default
 

Public Attributes

std::string_view m_Source
 
unsigned m_Line
 
unsigned m_Col
 

Detailed Description

Constructor & Destructor Documentation

◆ C_SourcePos() [1/3]

bux::C_SourcePos::C_SourcePos ( )
default

Referenced by C_SourcePos(), and operator=().

Here is the caller graph for this function:

◆ C_SourcePos() [2/3]

bux::C_SourcePos::C_SourcePos ( std::string_view source,
unsigned line,
unsigned col )
noexcept

Definition at line 115 of file LexBase.cpp.

References m_Col, m_Line, and m_Source.

◆ C_SourcePos() [3/3]

bux::C_SourcePos::C_SourcePos ( const C_SourcePos & a)
default

References C_SourcePos().

Member Function Documentation

◆ operator=()

C_SourcePos & bux::C_SourcePos::operator= ( const C_SourcePos & a)
default

References C_SourcePos().

Member Data Documentation

◆ m_Col

unsigned bux::C_SourcePos::m_Col

◆ m_Line

unsigned bux::C_SourcePos::m_Line

◆ m_Source

std::string_view bux::C_SourcePos::m_Source

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