aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/printing/Printer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/printing/Printer.scala')
-rw-r--r--src/dotty/tools/dotc/printing/Printer.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/printing/Printer.scala b/src/dotty/tools/dotc/printing/Printer.scala
index 65162a10f..360874522 100644
--- a/src/dotty/tools/dotc/printing/Printer.scala
+++ b/src/dotty/tools/dotc/printing/Printer.scala
@@ -4,7 +4,7 @@ package printing
import core._
import Texts._, ast.Trees._
import Types.Type, Symbols.Symbol, Contexts.Context, Scopes.Scope, Constants.Constant,
- Names.Name, Denotations.Denotation, Annotations.Annotation
+ Names.Name, Denotations._, Annotations.Annotation
/** The base class of all printers
*/
@@ -59,6 +59,9 @@ abstract class Printer {
/** Textual representation of symbol's declaration */
def dclText(sym: Symbol): Text
+ /** Textual representation of single denotation's declaration */
+ def dclText(sd: SingleDenotation): Text
+
/** If symbol's owner is a printable class C, the text "in C", otherwise "" */
def locationText(sym: Symbol): Text