X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2Fltk%2FISource.java;fp=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2Fltk%2FISource.java;h=3c089144dcca58457c37428ddb583183d51156ac;hb=6b5821ad728bf2f127091cb36d57b87749a6532f;hp=0000000000000000000000000000000000000000;hpb=c2ab38c94029486a379c79a7b38604f1c03afa44;p=simantics%2Fplatform.git 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 index 000000000..3c089144d --- /dev/null +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/ltk/ISource.java @@ -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(); +}