35 lines
678 B
C++
35 lines
678 B
C++
#ifndef __ANTHEM__OUTPUT__LOCATION_H
|
|
#define __ANTHEM__OUTPUT__LOCATION_H
|
|
|
|
#include <cstdlib>
|
|
|
|
namespace anthem
|
|
{
|
|
namespace input
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Location
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
struct Location
|
|
{
|
|
const char *sectionStart = nullptr;
|
|
const char *sectionEnd = nullptr;
|
|
|
|
std::size_t rowStart = -1;
|
|
std::size_t rowEnd = -1;
|
|
|
|
std::size_t columnStart = -1;
|
|
std::size_t columnEnd = -1;
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|