-package org.simantics.scl.compiler;\r
-\r
-public class ErrorMessage {\r
- int line;\r
- int start;\r
- int stop;\r
- String message;\r
- \r
- public ErrorMessage(int line, int start, int stop, String message) {\r
- this.line = line;\r
- this.start = start;\r
- this.stop = stop;\r
- this.message = message;\r
- }\r
- \r
- public int getLine() {\r
- return line;\r
- }\r
- \r
- public int getStart() {\r
- return start;\r
- }\r
- \r
- public int getStop() {\r
- return stop;\r
- }\r
- \r
- public String getMessage() {\r
- return message;\r
- }\r
- \r
- @Override\r
- public String toString() {\r
- return "at " + line + ":" + start + "-" + stop + " " + message;\r
- }\r
-}\r
+package org.simantics.scl.compiler;
+
+public class ErrorMessage {
+ int line;
+ int start;
+ int stop;
+ String message;
+
+ public ErrorMessage(int line, int start, int stop, String message) {
+ this.line = line;
+ this.start = start;
+ this.stop = stop;
+ this.message = message;
+ }
+
+ public int getLine() {
+ return line;
+ }
+
+ public int getStart() {
+ return start;
+ }
+
+ public int getStop() {
+ return stop;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ @Override
+ public String toString() {
+ return "at " + line + ":" + start + "-" + stop + " " + message;
+ }
+}