Dotty Documentation

0.11.0-bin-SNAPSHOT

class ReplPrinter

[-] Constructors

ReplPrinter ( _ctx: Context )

[-] Members

[+] private val _ctx : Context
[+] override def coloredStr ( text: String , color: String ) : String
[+] override def coloredText ( text: Text , color: String ) : Text
[+] override def dclText ( sym: Symbol ) : Text

Textual representation of symbol's declaration

[+] protected override def exprToText ( tp: ExprType ) : Text
[+] override def nameString ( name: Name ) : String

The name, possibly with with namespace suffix if debugNames is set: /L for local names, /V for other term names, /T for type names

[+] override def toText ( sym: Symbol ) : Text

Textual representation, including symbol's kind e.g., "class Foo", "method Bar". If hasMeaninglessName is true, uses the owner's name to disambiguate identity.

[+] override def toText ( const: Constant ) : Text

Textual representation of constant