aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Showable.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-07 10:57:58 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-07 10:57:58 +0100
commit0a6bddc34dbfc9a667c7d63c1dc4de6ae04d7343 (patch)
treec0d1086447b374bc426de5bde0deb0f96215a732 /src/dotty/tools/dotc/core/Showable.scala
parent519942ae5bf4bc6b1ba8f6e4a52447ddb974dad1 (diff)
downloaddotty-0a6bddc34dbfc9a667c7d63c1dc4de6ae04d7343.tar.gz
dotty-0a6bddc34dbfc9a667c7d63c1dc4de6ae04d7343.tar.bz2
dotty-0a6bddc34dbfc9a667c7d63c1dc4de6ae04d7343.zip
Some refinements for prining
Made trees printable in plain mode (refined mode still missing).
Diffstat (limited to 'src/dotty/tools/dotc/core/Showable.scala')
-rw-r--r--src/dotty/tools/dotc/core/Showable.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Showable.scala b/src/dotty/tools/dotc/core/Showable.scala
new file mode 100644
index 000000000..770b3c818
--- /dev/null
+++ b/src/dotty/tools/dotc/core/Showable.scala
@@ -0,0 +1,9 @@
+package dotty.tools.dotc.core
+
+import Contexts._
+
+trait Showable {
+
+ def show(implicit ctx: Context): String
+
+} \ No newline at end of file