]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/ltk/ISource.java
Removed org.simantics.ltk[.antlr] bundles, exact import for antlr
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / internal / ltk / ISource.java
diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/ltk/ISource.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/ltk/ISource.java
new file mode 100644 (file)
index 0000000..3c08914
--- /dev/null
@@ -0,0 +1,12 @@
+package org.simantics.graph.compiler.internal.ltk;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+public interface ISource {
+       String getName();
+       InputStream open() throws IOException;  
+       int length() throws IOException;
+       int startPos();
+       int startLine();
+}