From c3eb841ce8ae349d9820dbf6c18884955e74254e Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Sun, 20 Nov 2016 00:02:50 +0100 Subject: Make every project use the new directory structure --- interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java (limited to 'interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java') diff --git a/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java b/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java new file mode 100644 index 000000000..6c72a5125 --- /dev/null +++ b/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java @@ -0,0 +1,11 @@ +package dotty.tools.dotc.interfaces; + +/** A source file. + * + * User code should not implement this interface, but it may have to + * manipulate objects of this type. + */ +public interface SourceFile extends AbstractFile { + /** @return The content of this file as seen by the compiler. */ + char[] content(); +} -- cgit v1.2.3