]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/Token.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / parsing / Token.java
index 57452f167f7118029b166ce90e7ddf613dcf38f0..4d55b1bfd3c311332aaf958b67085e7bffa46b62 100644 (file)
@@ -1,26 +1,26 @@
-package org.simantics.scl.compiler.internal.parsing;\r
-\r
-import org.simantics.scl.compiler.errors.Locations;\r
-\r
-\r
-public class Token extends Symbol {\r
-    public static final Token[] EMPTY_ARRAY = new Token[0];\r
-    \r
-    public final String text;\r
-    public final int id;\r
-    \r
-    public Token(int type, long location, String text) {\r
-        this.id = type;\r
-        this.location = location;\r
-        this.text = text;\r
-    }\r
-    \r
-    public Token(int type, int begin, int end, String text) {\r
-        this(type, Locations.location(begin, end), text);\r
-    }\r
-\r
-    @Override\r
-    public String toString() {\r
-        return text;\r
-    }\r
-}\r
+package org.simantics.scl.compiler.internal.parsing;
+
+import org.simantics.scl.compiler.errors.Locations;
+
+
+public class Token extends Symbol {
+    public static final Token[] EMPTY_ARRAY = new Token[0];
+    
+    public final String text;
+    public final int id;
+    
+    public Token(int type, long location, String text) {
+        this.id = type;
+        this.location = location;
+        this.text = text;
+    }
+    
+    public Token(int type, int begin, int end, String text) {
+        this(type, Locations.location(begin, end), text);
+    }
+
+    @Override
+    public String toString() {
+        return text;
+    }
+}