aboutsummaryrefslogtreecommitdiff
path: root/src/location.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location.h')
-rw-r--r--src/location.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/location.h b/src/location.h
new file mode 100644
index 0000000..76699e3
--- /dev/null
+++ b/src/location.h
@@ -0,0 +1,23 @@
1#ifndef LOCATION_H
2#define LOCATION_H
3
4#include <bu/fstring.h>
5
6class Location
7{
8public:
9 Location();
10 Location( struct YYLTYPE &loc );
11 Location( const Bu::FString &sFile, int iStartRow, int iStartCol,
12 int iEndRow, int iEndCol );
13 virtual ~Location();
14
15private:
16 const Bu::FString sFile;
17 int iStartRow;
18 int iStartCol;
19 int iEndRow;
20 int iEndCol;
21};
22
23#endif