dotty.tools.dotc.core.Decorators

StringDecorator

Related Doc: package Decorators

implicit final class StringDecorator extends AnyVal with PreName

Turns Strings into PreNames, adding toType/TermName methods

Linear Supertypes
PreName, Showable, AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringDecorator
  2. PreName
  3. Showable
  4. AnyVal
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringDecorator(s: String)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def fallbackToText(printer: Printer): Text

    A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

    A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

    Definition Classes
    Showable
  6. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. val s: String

  9. def show(implicit ctx: Context): String

    The string representation of this showable element.

    The string representation of this showable element.

    Definition Classes
    Showable
  10. def showSummary(implicit ctx: Context): String

    Definition Classes
    Showable
  11. def showSummary(depth: Int)(implicit ctx: Context): String

    The summarized string representation of this showable element.

    The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

    Definition Classes
    Showable
  12. def toString(): String

    Definition Classes
    Any
  13. def toTermName: TermName

    Definition Classes
    StringDecoratorPreName
  14. def toText(printer: Printer): Text

    The text representation of this showable element.

    The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.

    Definition Classes
    StringDecoratorShowable
  15. def toTypeName: TypeName

    Definition Classes
    StringDecoratorPreName

Inherited from PreName

Inherited from Showable

Inherited from AnyVal

Inherited from Any

Ungrouped