valeri/src/sourcerange.hpp

15 lines
190 B
C++
Raw Permalink Normal View History

2024-07-27 15:25:44 +00:00
#pragma once
#include <cstddef>
struct SourcePosition {
size_t line{1};
size_t column{1};
size_t offset{0};
};
struct SourceRange {
SourcePosition start;
SourcePosition end;
};