dotty.tools.pc.printer
package dotty.tools.pc.printer
Members list
Type members
Classlikes
class ShortenedTypePrinter(symbolSearch: SymbolSearch, includeDefaultParam: IncludeDefaultParam, isTextEdit: Boolean, renameConfigMap: Map[Symbol, String])(using indexedCtx: IndexedContext, reportCtx: ReportContext) extends RefinedPrinter
A type printer that shortens types by replacing fully qualified names with shortened versions.
A type printer that shortens types by replacing fully qualified names with shortened versions.
The printer supports symbol renames found in scope and will use the rename if it is available. It also handlse custom renames as specified in the renameConfigMap
parameter.
Attributes
object ShortenedTypePrinter
Attributes
- Companion
- class
- Supertypes
- Self type
-
ShortenedTypePrinter.type
In this article