15 lines
190 B
C++
15 lines
190 B
C++
|
#pragma once
|
||
|
|
||
|
#include <cstddef>
|
||
|
|
||
|
struct SourcePosition {
|
||
|
size_t line{1};
|
||
|
size_t column{1};
|
||
|
size_t offset{0};
|
||
|
};
|
||
|
|
||
|
struct SourceRange {
|
||
|
SourcePosition start;
|
||
|
SourcePosition end;
|
||
|
};
|