Showable

dotty.tools.dotc.printing.Showable
trait Showable

Attributes

Graph
Supertypes
class Any
Known subtypes
class Tree[T]
class Block[T]
class XMLBlock
class CaseDef[T]
class DenotingTree[T]
trait DefTree[T]
class NamedDefTree[T]
class Bind[T]
class MemberDef[T]
class TypeDef[T]
class ValOrDefDef[T]
class DefDef[T]
class ValDef[T]
class EmptyValDef[T]
trait ValOrTypeDef[T]
class ModuleDef
class Template[T]
class Export[T]
class Import[T]
class NameTree[T]
class Labeled[T]
class RefTree[T]
class Ident[T]
object EmptyTypeIdent.type
class Select[T]
class SelectWithSig[T]
class This[T]
class TypeTree[T]
class Hole[T]
class Inlined[T]
class Literal[T]
class NamedArg[T]
class New[T]
trait PatternTree[T]
class Alternative[T]
class UnApply[T]
class ProxyTree[T]
class Annotated[T]
class GenericApply[T]
class Apply[T]
class TypeApply[T]
class PackageDef[T]
class Super[T]
class Typed[T]
class Parens
class SeqLiteral[T]
trait TermTree[T]
class Assign[T]
class Closure[T]
class If[T]
class InlineIf[T]
class Match[T]
class InlineMatch[T]
class Return[T]
class Try[T]
class WhileDo[T]
class Thicket[T]
class EmptyTree[T]
trait TypTree[T]
class MatchTypeTree[T]
class Function
class GenAlias
class GenFrom
class MacroTree
class OpTree
class InfixOp
class PostfixOp
class PrefixOp
class Tuple
class Const
class Var
class BiMapped
class Filtered
class Diff
class Mapped
class Constant
object NoDenotation.type
class Name
class TermName
class TypeName
class Scope
object EmptyScope.type
class Symbol
object NoSymbol.type
class Type
class HKLambda
class PolyType
class RecType
class AndOrType
class AndType
class OrType
class ClassInfo
object NoPrefix.type
object NoType.type
object WildcardType.type
class ViewProto
class BoundType
class ParamRef
class RecThis
class ExprType
class MatchType
class NamedType
class TermRef
class TypeRef
class SuperType
class ThisType
class TypeAlias
class TypeVar
object AnySelectionProto.type
trait ProtoType
class FunProto
class PolyProto
object AnyFunctionProto.type
object AssignProto.type
trait TermType
trait ValueType
class FlexType
class ErrorType
object TryDynamicCallType.type
class LazyRef
class TypeProxy
trait TypeType
class LazyType
class NoLoader
object NoCompleter.type
class StubInfo
class Completer
class Completer
class Range
object NoSourcePosition.type

Members list

Concise view

Value members

Abstract methods

def toText(printer: Printer): Text

The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.

The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.

Attributes

Concrete methods

def fallbackToText(printer: Printer): Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

Attributes

def show(using Context): String

The string representation of this showable element.

The string representation of this showable element.

Attributes

def showIndented(margin: Int)(using Context): String

The string representation with each line after the first one indented by the given given margin (in spaces).

The string representation with each line after the first one indented by the given given margin (in spaces).

Attributes

def showSummary(depth: Int)(using Context): String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

Attributes