summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/InterpreterResults.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/InterpreterResults.scala')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterResults.scala19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterResults.scala b/src/compiler/scala/tools/nsc/InterpreterResults.scala
index 9ae055abbf..41c738611e 100644
--- a/src/compiler/scala/tools/nsc/InterpreterResults.scala
+++ b/src/compiler/scala/tools/nsc/InterpreterResults.scala
@@ -1,16 +1,25 @@
+/* NSC -- new Scala compiler
+ * Copyright 2005-2007 LAMP/EPFL
+ * @author Martin Odersky
+ */
+// $Id: $
+
package scala.tools.nsc
object InterpreterResults {
- /** A result from interpreting one line of input */
+
+ /** A result from interpreting one line of input. */
abstract sealed class Result
- /** The line was interpreted successfully */
+ /** The line was interpreted successfully. */
case object Success extends Result
- /** The line was erroneous in some way */
+ /** The line was erroneous in some way. */
case object Error extends Result
/** The input was incomplete. The caller should request more
- * input. */
+ * input.
+ */
case object Incomplete extends Result
-} \ No newline at end of file
+
+}