Orcus
Loading...
Searching...
No Matches
orcus::line_with_offset Struct Reference

Public Member Functions

 line_with_offset (std::string _line, std::size_t _line_number, std::size_t _offset_on_line)
 
 line_with_offset (const line_with_offset &other)
 
 line_with_offset (line_with_offset &&other)
 
bool operator== (const line_with_offset &other) const
 
bool operator!= (const line_with_offset &other) const
 

Public Attributes

std::string line
 
std::size_t line_number
 
std::size_t offset_on_line
 

Member Data Documentation

◆ line

std::string orcus::line_with_offset::line

content of the entire line.

◆ line_number

std::size_t orcus::line_with_offset::line_number

0-based line number.

◆ offset_on_line

std::size_t orcus::line_with_offset::offset_on_line

0-based offset within the line.