trait Formatting extends Compat with Formatters with ImplicitMsgCompat
- Alphabetic
- By Inheritance
- Formatting
- ImplicitMsgCompat
- Formatters
- Compat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait SpecialFormatter extends AnyRef
- Definition Classes
- Formatters
Abstract Value Members
Concrete Value Members
- object TermNameCompat
- Definition Classes
- Compat
- object FunctionFormatter extends Analyzer.SpecialFormatter
- Definition Classes
- Formatters
- object SLRecordItemFormatter extends Analyzer.SpecialFormatter
- Definition Classes
- Formatters
- object TupleFormatter extends Analyzer.SpecialFormatter
- Definition Classes
- Formatters
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bracket[A](params: List[A]): String
- 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.
- def cacheStats: String
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- implicit def colors: StringColor
- def ctorNames(tpe: scala.tools.nsc.Global.Type): List[String]
- def dealias(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type
- def decideBreak(flat: FlatType, broken: ⇒ BrokenType): TypeRepr
- def deepestLevel(chain: List[Analyzer.ImpFailReason]): Int
- def echo(msg: String): Unit
- Definition Classes
- Compat
- def effectiveImplicitType(tpe: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extractArgs(tpe: scala.tools.nsc.Global.Type): List[scala.tools.nsc.Global.Type]
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flattenInfix(tpe: Infix): List[Formatted]
Turn a nested infix type structure into a flat list ::[A, ::[B, C]]] => List(A, ::, B, ::, C)
- def formatAuxSimple(tpe: scala.tools.nsc.Global.Type): String
- def formatDiff(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted
- val formatDiffCache: FormatCache[(scala.tools.nsc.Global.Type, scala.tools.nsc.Global.Type, Boolean), Formatted]
- def formatDiffImpl(found: scala.tools.nsc.Global.Type, req: scala.tools.nsc.Global.Type, top: Boolean): Formatted
- def formatDiffInfix(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Formatted
- def formatDiffSimple(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type): Diff
- def formatDiffSpecial(left: scala.tools.nsc.Global.Type, right: scala.tools.nsc.Global.Type, top: Boolean): Option[Formatted]
- def formatFunction(args: List[String]): String
- def formatImplicitChain(chain: List[Analyzer.ImpFailReason]): List[String]
- def formatImplicitChainFlat(chain: List[Analyzer.ImpFailReason]): List[String]
- def formatImplicitChainTree(chain: List[Analyzer.ImpFailReason]): List[String]
- def formatImplicitChainTreeCompact(chain: List[Analyzer.ImpFailReason]): Option[List[String]]
- def formatImplicitChainTreeFull(chain: List[Analyzer.ImpFailReason]): List[String]
- def formatImplicitError(param: scala.tools.nsc.Global.Symbol, errors: List[Analyzer.ImpFailReason]): String
- def formatImplicitParam(sym: scala.tools.nsc.Global.Symbol): String
- def formatIndentTree(chain: List[Analyzer.ImpFailReason], baseIndent: Int): List[String]
- def formatInfix[A](simple: String, left: A, right: A, top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Infix
- def formatMsg(msg: Analyzer.Message, param: scala.tools.nsc.Global.Symbol, tpe: scala.tools.nsc.Global.Type): String
- Definition Classes
- ImplicitMsgCompat
- def formatNestedImplicit(err: Analyzer.ImpFailReason): (String, List[String], Int)
- 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 asf
.ImpFailReason.equals
checks the simple names for identity, which is suboptimal, but works for 99% of cases. Special cases are handled in hideImpError - def formatNonConfBounds(err: Analyzer.NonConfBounds): List[String]
- def formatNormalSimple(tpe: scala.tools.nsc.Global.Type): String
- def formatRefinement(sym: scala.tools.nsc.Global.Symbol): String
- def formatSimpleType(tpe: scala.tools.nsc.Global.Type): String
- 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]
- def formatType(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted
- Definition Classes
- Formatting → Formatters
- val formatTypeCache: FormatCache[(scala.tools.nsc.Global.Type, Boolean), Formatted]
- def formatTypeImpl(tpe: scala.tools.nsc.Global.Type, top: Boolean): Formatted
- def formatWithInfix[A](tpe: scala.tools.nsc.Global.Type, args: List[A], top: Boolean, rec: (A) ⇒ (Boolean) ⇒ Formatted): Formatted
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hideImpError(error: Analyzer.ImpFailReason): Boolean
- def implicitMessage(param: scala.tools.nsc.Global.Symbol): List[String]
- def indent(lines: List[String], n: Int = 1, prefix: String = " "): List[String]
- def indentLine(line: String, n: Int = 1, prefix: String = " "): String
- def indentTree(tree: List[(String, List[String], Int)], baseIndent: Int): List[String]
- def isAux(tpe: scala.tools.nsc.Global.Type): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRefined(tpe: scala.tools.nsc.Global.Type): Boolean
- def isSymbolic(tpe: scala.tools.nsc.Global.Type): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def overrideMessage(msg: String): Option[String]
- def showFormatted(tpe: Formatted, break: Boolean): String
- def showFormattedL(tpe: Formatted, break: Boolean): TypeRepr
- def showFormattedLBreak(tpe: Formatted): TypeRepr
- val showFormattedLCache: FormatCache[(Formatted, Boolean), TypeRepr]
- def showFormattedLImpl(tpe: Formatted, break: Boolean): TypeRepr
- def showFormattedLNoBreak(tpe: Formatted): TypeRepr
- def showFormattedNoBreak(tpe: Formatted): String
- def showSLRecordItem(key: Formatted, value: Formatted): FlatType
- def showTuple(args: List[String]): String
- def showType(tpe: scala.tools.nsc.Global.Type): String
- 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.
- def showTypeBreak(tpe: scala.tools.nsc.Global.Type): String
- def showTypeBreakL(tpe: scala.tools.nsc.Global.Type): List[String]
- val specialFormatters: List[Analyzer.SpecialFormatter]
- def splitChains(errors: List[Analyzer.ImpFailReason]): List[List[Analyzer.ImpFailReason]]
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])
- def wrapParens(expr: String, top: Boolean): String
- def wrapParensRepr(tpe: TypeRepr, top: Boolean): TypeRepr