aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/printing/Showable.scala
blob: 73d32001953e6597bf97d31311688a7f044ff149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package dotty.tools.dotc
package printing

import core._

import Contexts._, Texts._, Decorators._

trait Showable {

  def toText(implicit ctx: Context): Text

  def show(implicit ctx: Context): String = toText.show

}