Str

dotty.tools.dotc.printing.Texts.Str
case class Str(s: String, lineRange: LineRange) extends Text

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Text
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def relems: List[Text]

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def appendToLastLine(that: Text): Text

Attributes

Inherited from:
Text
def close: Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text

Attributes

Inherited from:
Text
def layout(width: Int): Text

Attributes

Inherited from:
Text
def map(f: String => String): Text

Attributes

Inherited from:
Text
def maxLine: Int

Attributes

Inherited from:
Text
def mkString(width: Int, withLineNumbers: Boolean): String

Attributes

Inherited from:
Text
def over(that: Text): Vertical

Attributes

Inherited from:
Text

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def remaining(width: Int): Int

Attributes

Inherited from:
Text
def stripPrefix(pre: String): Text

Attributes

Inherited from:
Text
def ~(that: Text): Text

Attributes

Inherited from:
Text
def ~~(that: Text): Text

Attributes

Inherited from:
Text