ShownDef

dotty.tools.dotc.printing.Formatting$.ShownDef$
opaque object ShownDef

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

trait CtxShow

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
sealed abstract class Show[-T]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object given_Show_FlagSet.type
object ShowAny.type
object Show extends ShowImplicits1

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Show.type
object ShowAny extends Show[Any]

The base implementation, passing the argument to StringFormatter which will try to .show it.

The base implementation, passing the argument to StringFormatter which will try to .show it.

Attributes

Graph
Supertypes
class Show[Any]
class Object
trait Matchable
class Any
Self type
ShowAny.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Show.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Show.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Show.type
object Shown

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Shown.type

Types

opaque type Shown

Represents a value that has been "shown" and can be consumed by StringFormatter. Not just a string because it may be a Seq that StringFormatter will intersperse with the trailing separator. It may also be a CtxShow, which allows the Show instance to finish showing the value with the string interpolator's correct context, that is with non-sensical tagging, message limiting, explanations, etc.

Represents a value that has been "shown" and can be consumed by StringFormatter. Not just a string because it may be a Seq that StringFormatter will intersperse with the trailing separator. It may also be a CtxShow, which allows the Show instance to finish showing the value with the string interpolator's correct context, that is with non-sensical tagging, message limiting, explanations, etc.

Attributes

Extensions

Extensions

extension (s: Shown)
def ctxShow(using Context): Shown