Trait

splain

Formatting

Related Doc: package splain

Permalink

trait Formatting extends Compat with Formatters

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

Type Members

  1. trait SpecialFormatter extends AnyRef

    Permalink
    Definition Classes
    Formatters

Abstract Value Members

  1. abstract def featureBoundsImplicits: Boolean

    Permalink
  2. abstract def featureBreakInfix: Option[Int]

    Permalink
  3. abstract def featureColor: Boolean

    Permalink
  4. abstract def featureCompact: Boolean

    Permalink
  5. abstract def featureInfix: Boolean

    Permalink
  6. abstract def featureTree: Boolean

    Permalink
  7. abstract def featureTruncRefined: Option[Int]

    Permalink

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FunctionFormatter extends Analyzer.SpecialFormatter

    Permalink
    Definition Classes
    Formatters
  5. object SLRecordItemFormatter extends Analyzer.SpecialFormatter

    Permalink
    Definition Classes
    Formatters
  6. object TermNameCompat

    Permalink
    Definition Classes
    Compat
  7. object TupleFormatter extends Analyzer.SpecialFormatter

    Permalink
    Definition Classes
    Formatters
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def bracket[A](params: List[A]): String

    Permalink
  10. def breakInfix(types: List[Formatted]): TypeRepr

    Permalink

    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.

  11. def cacheStats: String

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit def colors: StringColor

    Permalink
  14. def ctorNames(tpe: scala.tools.nsc.Global.Type): List[String]

    Permalink
  15. def dealias(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Permalink
  16. def decideBreak(flat: FlatType, broken: ⇒ BrokenType): TypeRepr

    Permalink
  17. def deepestLevel(chain: List[Analyzer.ImpFailReason]): Int

    Permalink
  18. def echo(msg: String): Unit

    Permalink
    Definition Classes
    Compat
  19. def effectiveImplicitType(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def extractArgs(tpe: scala.tools.nsc.Global.Type): List[scala.tools.nsc.Global.Type]

    Permalink
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def flattenInfix(tpe: Infix): List[Formatted]

    Permalink

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

  25. def formatAuxSimple(tpe: scala.tools.nsc.Global.Type): String

    Permalink
  26. def formatDiff(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted

    Permalink
  27. val formatDiffCache: FormatCache[(scala.tools.nsc.Global.Type, scala.tools.nsc.Global.Type, Boolean), Formatted]

    Permalink
  28. def formatDiffImpl(found: scala.tools.nsc.Global.Type, req: scala.tools.nsc.Global.Type, top: Boolean): Formatted

    Permalink
  29. def formatDiffInfix(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted

    Permalink
  30. def formatDiffSimple(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type): Diff

    Permalink
  31. def formatDiffSpecial(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Option[Formatted]

    Permalink
  32. def formatFunction(args: List[String]): String

    Permalink
  33. def formatImplicitChain(chain: List[Analyzer.ImpFailReason]): List[String]

    Permalink
  34. def formatImplicitChainFlat(chain: List[Analyzer.ImpFailReason]): List[String]

    Permalink
  35. def formatImplicitChainTree(chain: List[Analyzer.ImpFailReason]): List[String]

    Permalink
  36. def formatImplicitChainTreeCompact(chain: List[Analyzer.ImpFailReason]): Option[List[String]]

    Permalink
  37. def formatImplicitChainTreeFull(chain: List[Analyzer.ImpFailReason]): List[String]

    Permalink
  38. def formatImplicitError(param: scala.tools.nsc.Global.Symbol, errors: List[Analyzer.ImpFailReason]): String

    Permalink
  39. def formatImplicitParam(sym: scala.tools.nsc.Global.Symbol): String

    Permalink
  40. def formatIndentTree(chain: List[Analyzer.ImpFailReason], baseIndent: Int): List[String]

    Permalink
  41. def formatInfix[A](simple: String, left: A, right: A, top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Infix

    Permalink
  42. def formatNestedImplicit(err: Analyzer.ImpFailReason): (String, List[String], Int)

    Permalink
  43. def formatNestedImplicits(errors: List[Analyzer.ImpFailReason]): List[String]

    Permalink

    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

  44. def formatNonConfBounds(err: Analyzer.NonConfBounds): List[String]

    Permalink
  45. def formatNormalSimple(tpe: scala.tools.nsc.Global.Type): String

    Permalink
  46. def formatRefinement(sym: scala.tools.nsc.Global.Symbol): String

    Permalink
  47. def formatSimpleType(tpe: scala.tools.nsc.Global.Type): String

    Permalink
  48. 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]

    Permalink
  49. def formatType(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted

    Permalink
    Definition Classes
    FormattingFormatters
  50. val formatTypeCache: FormatCache[(scala.tools.nsc.Global.Type, Boolean), Formatted]

    Permalink
  51. def formatTypeImpl(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted

    Permalink
  52. def formatWithInfix[A](tpe: scala.tools.nsc.Global.Type, args: List[A], top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Formatted

    Permalink
  53. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  54. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  55. def hideImpError(error: Analyzer.ImpFailReason): Boolean

    Permalink
  56. def implicitMessage(param: scala.tools.nsc.Global.Symbol): List[String]

    Permalink
  57. def indent(lines: List[String], n: Int = 1, prefix: String = " "): List[String]

    Permalink
  58. def indentLine(line: String, n: Int = 1, prefix: String = " "): String

    Permalink
  59. def indentTree(tree: List[(String, List[String], Int)], baseIndent: Int): List[String]

    Permalink
  60. def isAux(tpe: scala.tools.nsc.Global.Type): Boolean

    Permalink
  61. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  62. def isRefined(tpe: scala.tools.nsc.Global.Type): Boolean

    Permalink
  63. def isSymbolic(tpe: scala.tools.nsc.Global.Type): Boolean

    Permalink
  64. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  65. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. def overrideMessage(msg: String): Option[String]

    Permalink
  68. def showFormatted(tpe: Formatted, break: Boolean): String

    Permalink
  69. def showFormattedL(tpe: Formatted, break: Boolean): TypeRepr

    Permalink
  70. def showFormattedLBreak(tpe: Formatted): TypeRepr

    Permalink
  71. val showFormattedLCache: FormatCache[(Formatted, Boolean), TypeRepr]

    Permalink
  72. def showFormattedLImpl(tpe: Formatted, break: Boolean): TypeRepr

    Permalink
  73. def showFormattedLNoBreak(tpe: Formatted): TypeRepr

    Permalink
  74. def showFormattedNoBreak(tpe: Formatted): String

    Permalink
  75. def showSLRecordItem(key: Formatted, value: Formatted): FlatType

    Permalink
  76. def showTuple(args: List[String]): String

    Permalink
  77. def showType(tpe: scala.tools.nsc.Global.Type): String

    Permalink
  78. def showTypeApply(cons: String, args: List[TypeRepr], break: Boolean): TypeRepr

    Permalink

    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.

  79. def showTypeBreak(tpe: scala.tools.nsc.Global.Type): String

    Permalink
  80. def showTypeBreakL(tpe: scala.tools.nsc.Global.Type): List[String]

    Permalink
  81. val specialFormatters: List[Analyzer.SpecialFormatter]

    Permalink
  82. def splitChains(errors: List[Analyzer.ImpFailReason]): List[List[Analyzer.ImpFailReason]]

    Permalink
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  84. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  85. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. def wrapParens(expr: String, top: Boolean): String

    Permalink
  89. def wrapParensRepr(tpe: TypeRepr, top: Boolean): TypeRepr

    Permalink

Inherited from Formatters

Inherited from Compat

Inherited from AnyRef

Inherited from Any

Ungrouped