Text

dotty.tools.dotc.printing.Texts$.Text$
See theText companion class
object Text

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Text.type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(): Text

The empty text

The empty text

Attributes

def apply(xs: Iterable[Text], sep: String): Text

A concatenation of elements in xs and interspersed with separator strings sep.

A concatenation of elements in xs and interspersed with separator strings sep.

Attributes

def lines(xs: Iterable[Text]): Vertical

The given texts xs, each on a separate line

The given texts xs, each on a separate line

Attributes

Extensions

Extensions

extension (text: => Text)
def provided(cond: Boolean): Text