Packages

trait SplainFormatting extends SplainFormatters

Self Type
Analyzer
Source
SplainFormatting.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SplainFormatting
  2. SplainFormatters
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait SpecialFormatter extends AnyRef
    Definition Classes
    SplainFormatters
  2. case class ImplicitErrorLink(fromTree: Analyzer.ImplicitError, fromHistory: Analyzer.DivergentImplicitTypeError) extends Product with Serializable
  3. case class ImplicitErrorTree(error: Analyzer.ImplicitError, children: collection.immutable.Seq[Analyzer.ImplicitErrorTree] = Nil) extends Product with Serializable
  4. case class TypeParts(sym: Global.Symbol, tt: Global.Type) extends Product with Serializable

Value Members

  1. object ByNameFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    SplainFormatters
  2. object FunctionFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    SplainFormatters
  3. object Refined
    Definition Classes
    SplainFormatters
  4. object RefinedFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    SplainFormatters
  5. object TupleFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    SplainFormatters
  6. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def ##: Int
    Definition Classes
    AnyRef → Any
  8. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SplainFormatting toany2stringadd[SplainFormatting] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  9. def ->[B](y: B): (SplainFormatting, B)
    Implicit
    This member is added by an implicit conversion from SplainFormatting toArrowAssoc[SplainFormatting] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. implicit def asSimpleName(s: String): SimpleName
    Definition Classes
    SplainFormatters
  13. def bracket[A](params: collection.immutable.List[A]): String
  14. def breakInfix(types: collection.immutable.List[Formatted]): TypeRepr

    Break a list produced by flattenInfix into lines by taking two elements at a time, then appending the terminal.

    Break a list produced by flattenInfix into lines by taking two elements at a time, then appending the terminal. If the expression's length is smaller than the threshold specified via plugin parameter, return a single line.

  15. val breakInfixLength: Int
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  17. def ctorNames(tpe: Global.Type): collection.immutable.List[String]
  18. def dealias(tpe: Global.Type): Global.Type
  19. def decideBreak(flat: FlatType, broken: => BrokenType): TypeRepr
  20. def deepestLevel(chain: collection.immutable.List[Analyzer.ImplicitError]): Int
  21. def ensuring(cond: (SplainFormatting) => Boolean, msg: => Any): SplainFormatting
    Implicit
    This member is added by an implicit conversion from SplainFormatting toEnsuring[SplainFormatting] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (SplainFormatting) => Boolean): SplainFormatting
    Implicit
    This member is added by an implicit conversion from SplainFormatting toEnsuring[SplainFormatting] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: => Any): SplainFormatting
    Implicit
    This member is added by an implicit conversion from SplainFormatting toEnsuring[SplainFormatting] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): SplainFormatting
    Implicit
    This member is added by an implicit conversion from SplainFormatting toEnsuring[SplainFormatting] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def extractArgs(tpe: Global.Type): collection.immutable.List[Global.Type]
  28. def flattenInfix(tpe: Infix): collection.immutable.List[Formatted]

    Turn a nested infix type structure into a flat list

    Turn a nested infix type structure into a flat list

    ::[A, ::[B, C]]] => List(A, ::, B, ::, C)
  29. def formatAuxSimple(tpe: Global.Type): (collection.immutable.List[String], String)
  30. def formatDiff(left: Global.Type, right: Global.Type, top: Boolean): Formatted
  31. val formatDiffCache: FormatCache[(Global.Type, Global.Type, Boolean), Formatted]
  32. def formatDiffImpl(found: Global.Type, req: Global.Type, top: Boolean): Formatted
  33. def formatDiffInfix(left: Global.Type, right: Global.Type, top: Boolean): Formatted
  34. def formatDiffSimple(left: Global.Type, right: Global.Type): Formatted
  35. def formatDiffSpecial(left: Global.Type, right: Global.Type, top: Boolean): Option[Formatted]
  36. def formatFunction(args: collection.immutable.List[String]): String
  37. def formatImplicitChainFlat(chain: collection.immutable.List[Analyzer.ImplicitError]): collection.immutable.List[String]
  38. def formatImplicitChainTreeFull(chain: collection.immutable.List[Analyzer.ImplicitError]): collection.immutable.List[String]
  39. def formatImplicitError(param: Global.Symbol, errors: collection.immutable.List[Analyzer.ImplicitError], annotationMsg: String): String
  40. def formatIndentTree(chain: collection.immutable.List[Analyzer.ImplicitError], baseIndent: Int): collection.immutable.List[String]
  41. def formatInfix[A](path: collection.immutable.List[String], simple: String, left: A, right: A, top: Boolean)(rec: (A, Boolean) => Formatted): Formatted
  42. def formatNestedImplicit(err: Analyzer.ImplicitError): (String, collection.immutable.List[String], Int)
  43. def formatNonConfBounds(err: NonconformantBounds): collection.immutable.List[String]
  44. def formatNormalSimple(tpe: Global.Type): (collection.immutable.List[String], String)
  45. def formatRefinement(sym: Global.Symbol): String
  46. def formatSimpleType(tpe: Global.Type): (collection.immutable.List[String], String)
  47. def formatSpecial[A](tpe: Global.Type, simple: String, args: collection.immutable.List[A], formattedArgs: => collection.immutable.List[Formatted], top: Boolean)(rec: (A, Boolean) => Formatted): Option[Formatted]
  48. def formatType(tpe: Global.Type, top: Boolean): Formatted
    Definition Classes
    SplainFormattingSplainFormatters
  49. val formatTypeCache: FormatCache[(Global.Type, Boolean), Formatted]
  50. def formatTypeImpl(tpe: Global.Type, top: Boolean): Formatted
  51. def formatWithInfix[A](tpe: Global.Type, args: collection.immutable.List[A], top: Boolean)(rec: (A, Boolean) => Formatted): Formatted
  52. def formattedDiff(left: Formatted, right: Formatted): String
  53. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  55. def hideImpError(error: Analyzer.ImplicitError): Boolean
  56. def implicitMessage(param: Global.Symbol, annotationMsg: String): collection.immutable.List[String]
  57. def indent(lines: collection.immutable.List[String], n: Int = 1, prefix: String = " "): collection.immutable.List[String]
  58. def indentLine(line: String, n: Int = 1, prefix: String = " "): String
  59. def indentTree(tree: collection.immutable.List[(String, collection.immutable.List[String], Int)], baseIndent: Int): collection.immutable.List[String]
  60. def isAux(tpe: Global.Type): Boolean
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. def isRefined(tpe: Global.Type): Boolean
  63. def isSymbolic(tpe: Global.Type): Boolean
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  67. def pathPrefix: (collection.immutable.List[String]) => String
  68. def qualifiedName(path: collection.immutable.List[String], name: FormattedName): String
  69. def sanitizePath(path: collection.immutable.List[String]): collection.immutable.List[String]
  70. def showFormatted(tpe: Formatted): String
  71. def showFormattedL(tpe: Formatted, break: Boolean): TypeRepr
  72. val showFormattedLCache: FormatCache[(Formatted, Boolean), TypeRepr]
  73. def showFormattedLImpl(tpe: Formatted, break: Boolean): TypeRepr
  74. def showFormattedQualified(path: collection.immutable.List[String], name: FormattedName): TypeRepr
  75. def showFuncParams(args: collection.immutable.List[String]): String
  76. def showRefined(parents: collection.immutable.List[String], decls: collection.immutable.List[String]): String
  77. def showTuple(args: collection.immutable.List[String]): String
  78. def showType(tpe: Global.Type): String
  79. def showTypeApply(cons: String, args: collection.immutable.List[TypeRepr], break: Boolean): TypeRepr

    If the args of an applied type constructor are multiline, create separate lines for the constructor name and the closing bracket; else return a single line.

  80. def showTypeBreakL(tpe: Global.Type): collection.immutable.List[String]
  81. val specialFormatters: collection.immutable.List[Analyzer.SpecialFormatter]
  82. def splitChains(errors: collection.immutable.List[Analyzer.ImplicitError]): collection.immutable.List[collection.immutable.List[Analyzer.ImplicitError]]
  83. def stripModules(path: collection.immutable.List[String], name: FormattedName): String
  84. def stripType(tpe: Global.Type): (collection.immutable.List[String], String)
  85. def symbolPath(sym: Global.Symbol): collection.immutable.List[String]
  86. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  87. def toString(): String
    Definition Classes
    AnyRef → Any
  88. def truncateDecls(decls: collection.immutable.List[Formatted]): Boolean
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  91. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  92. def wrapParens(expr: String, top: Boolean): String
  93. def wrapParensRepr(tpe: TypeRepr, top: Boolean): TypeRepr
  94. object ImplicitErrorLink extends java.io.Serializable
  95. object ImplicitErrorTree extends java.io.Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SplainFormatting toStringFormat[SplainFormatting] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (SplainFormatting, B)
    Implicit
    This member is added by an implicit conversion from SplainFormatting toArrowAssoc[SplainFormatting] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from SplainFormatters

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromSplainFormatting to any2stringadd[SplainFormatting]

Inherited by implicit conversion StringFormat fromSplainFormatting to StringFormat[SplainFormatting]

Inherited by implicit conversion Ensuring fromSplainFormatting to Ensuring[SplainFormatting]

Inherited by implicit conversion ArrowAssoc fromSplainFormatting to ArrowAssoc[SplainFormatting]

Ungrouped