t

splain

Formatting

trait Formatting extends Formatters with ImplicitMsgCompat

Self Type
Analyzer
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Formatting
  2. ImplicitMsgCompat
  3. Formatters
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait SpecialFormatter extends AnyRef
    Definition Classes
    Formatters
  2. case class MatchRewrite(target: String) extends Product with Serializable

Abstract Value Members

  1. abstract def featureBoundsImplicits: Boolean
  2. abstract def featureBreakInfix: Option[Int]
  3. abstract def featureColor: Boolean
  4. abstract def featureCompact: Boolean
  5. abstract def featureInfix: Boolean
  6. abstract def featureKeepModules: Int
  7. abstract def featureRewrite: String
  8. abstract def featureTree: Boolean
  9. abstract def featureTruncRefined: Option[Int]

Concrete Value Members

  1. object FunctionFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    Formatters
  2. object SLRecordItemFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    Formatters
  3. object TupleFormatter extends Analyzer.SpecialFormatter
    Definition Classes
    Formatters
  4. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def ##(): Int
    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bracket[A](params: List[A]): String
  9. def breakInfix(types: 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.

  10. def cacheStats: String
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  12. implicit def colors: StringColor
  13. def ctorNames(tpe: scala.tools.nsc.Global.Type): List[String]
  14. def dealias(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type
  15. def decideBreak(flat: FlatType, broken: ⇒ BrokenType): TypeRepr
  16. def deepestLevel(chain: List[Analyzer.ImpFailReason]): Int
  17. def effectiveImplicitType(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def extractArgs(tpe: scala.tools.nsc.Global.Type): List[scala.tools.nsc.Global.Type]
  21. def flattenInfix(tpe: Infix): List[Formatted]

    Turn a nested infix type structure into a flat list ::[A, ::[B, C]]] => List(A, ::, B, ::, C)

  22. def formatAuxSimple(tpe: scala.tools.nsc.Global.Type): String
  23. def formatDiff(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted
  24. val formatDiffCache: FormatCache[(scala.tools.nsc.Global.Type, scala.tools.nsc.Global.Type, Boolean), Formatted]
  25. def formatDiffImpl(found: scala.tools.nsc.Global.Type, req: scala.tools.nsc.Global.Type, top: Boolean): Formatted
  26. def formatDiffInfix(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted
  27. def formatDiffSimple(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type): Diff
  28. def formatDiffSpecial(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Option[Formatted]
  29. def formatFunction(args: List[String]): String
  30. def formatImplicitChain(chain: List[Analyzer.ImpFailReason]): List[String]
  31. def formatImplicitChainFlat(chain: List[Analyzer.ImpFailReason]): List[String]
  32. def formatImplicitChainTree(chain: List[Analyzer.ImpFailReason]): List[String]
  33. def formatImplicitChainTreeCompact(chain: List[Analyzer.ImpFailReason]): Option[List[String]]
  34. def formatImplicitChainTreeFull(chain: List[Analyzer.ImpFailReason]): List[String]
  35. def formatImplicitError(param: scala.tools.nsc.Global.Symbol, errors: List[Analyzer.ImpFailReason]): String
  36. def formatImplicitParam(sym: scala.tools.nsc.Global.Symbol): String
  37. def formatIndentTree(chain: List[Analyzer.ImpFailReason], baseIndent: Int): List[String]
  38. def formatInfix[A](simple: String, left: A, right: A, top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Infix
  39. def formatMsg(msg: Analyzer.Message, param: scala.tools.nsc.Global.Symbol, tpe: scala.tools.nsc.Global.Type): String
    Definition Classes
    ImplicitMsgCompat
  40. def formatNestedImplicit(err: Analyzer.ImpFailReason): (String, List[String], Int)
  41. def formatNestedImplicits(errors: List[Analyzer.ImpFailReason]): List[String]

    Remove duplicates and special cases that should not be shown.

    Remove duplicates and special cases that should not be shown. In some cases, candidates are reported twice, once as Foo.f and once as f. ImpFailReason.equals checks the simple names for identity, which is suboptimal, but works for 99% of cases. Special cases are handled in hideImpError

  42. def formatNonConfBounds(err: Analyzer.NonConfBounds): List[String]
  43. def formatNormalSimple(tpe: scala.tools.nsc.Global.Type): String
  44. def formatRefinement(sym: scala.tools.nsc.Global.Symbol): String
  45. def formatSimpleType(tpe: scala.tools.nsc.Global.Type): String
  46. def formatSpecial[A](tpe: scala.tools.nsc.Global.Type, simple: String, args: List[A], formattedArgs: ⇒ List[Formatted], top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Option[Formatted]
  47. def formatType(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted
    Definition Classes
    FormattingFormatters
  48. val formatTypeCache: FormatCache[(scala.tools.nsc.Global.Type, Boolean), Formatted]
  49. def formatTypeImpl(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted
  50. def formatWithInfix[A](tpe: scala.tools.nsc.Global.Type, args: List[A], top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Formatted
  51. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. def hideImpError(error: Analyzer.ImpFailReason): Boolean
  54. def implicitMessage(param: scala.tools.nsc.Global.Symbol): List[String]
  55. def indent(lines: List[String], n: Int = 1, prefix: String = " "): List[String]
  56. def indentLine(line: String, n: Int = 1, prefix: String = " "): String
  57. def indentTree(tree: List[(String, List[String], Int)], baseIndent: Int): List[String]
  58. def isAux(tpe: scala.tools.nsc.Global.Type): Boolean
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. def isRefined(tpe: scala.tools.nsc.Global.Type): Boolean
  61. def isSymbolic(tpe: scala.tools.nsc.Global.Type): Boolean
  62. def modulePath: (scala.tools.nsc.Global.Type) ⇒ List[String]
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  66. def overrideMessage(msg: String): Option[String]
  67. def pathPrefix: (List[String]) ⇒ String
  68. def rewriteRegexes: List[(Regex, String)]
  69. def showFormatted(tpe: Formatted, break: Boolean): String
  70. def showFormattedL(tpe: Formatted, break: Boolean): TypeRepr
  71. def showFormattedLBreak(tpe: Formatted): TypeRepr
  72. val showFormattedLCache: FormatCache[(Formatted, Boolean), TypeRepr]
  73. def showFormattedLImpl(tpe: Formatted, break: Boolean): TypeRepr
  74. def showFormattedLNoBreak(tpe: Formatted): TypeRepr
  75. def showFormattedNoBreak(tpe: Formatted): String
  76. def showSLRecordItem(key: Formatted, value: Formatted): FlatType
  77. def showTuple(args: List[String]): String
  78. def showType(tpe: scala.tools.nsc.Global.Type): String
  79. def showTypeApply(cons: String, args: 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 showTypeBreak(tpe: scala.tools.nsc.Global.Type): String
  81. def showTypeBreakL(tpe: scala.tools.nsc.Global.Type): List[String]
  82. val specialFormatters: List[Analyzer.SpecialFormatter]
  83. def splitChains(errors: List[Analyzer.ImpFailReason]): List[List[Analyzer.ImpFailReason]]
  84. def stripModules(path: List[String], name: String)(keep: Int): String
  85. def stripType(tpe: scala.tools.nsc.Global.Type): String
  86. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  87. def toString(): String
    Definition Classes
    AnyRef → Any
  88. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. def wrapParens(expr: String, top: Boolean): String
  92. def wrapParensRepr(tpe: TypeRepr, top: Boolean): TypeRepr

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ImplicitMsgCompat

Inherited from Formatters

Inherited from AnyRef

Inherited from Any

Ungrouped