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 ImportOrExport[T]
class Export[T]
class Import[T]
class NameTree[T]
class Labeled[T]
class RefTree[T]
class Ident[T]
class Select[T]
class SelectWithSig[T]
class This[T]
class TypeTree[T]
class InferredTypeTree[T]
class TermRefTree
class TypeRefTree
class Hole[T]
class Inlined[T]
class Literal[T]
class NamedArg[T]
class New[T]
trait PatternTree[T]
class Alternative[T]
class QuotePattern[T]
class UnApply[T]
class ProxyTree[T]
class Annotated[T]
class AppliedTypeTree[T]
class GenericApply[T]
class Apply[T]
class TypeApply[T]
class PackageDef[T]
class RefinedTypeTree[T]
class Super[T]
class Typed[T]
class Parens
class TypedSplice
class SeqLiteral[T]
class JavaSeqLiteral[T]
trait TermTree[T]
class Assign[T]
class Closure[T]
class If[T]
class InlineIf[T]
class Match[T]
class InlineMatch[T]
class Quote[T]
class Return[T]
class Splice[T]
class SplicePattern[T]
class Try[T]
class WhileDo[T]
class Thicket[T]
class EmptyTree[T]
trait TypTree[T]
class ByNameTypeTree[T]
class LambdaTypeTree[T]
class MatchTypeTree[T]
class TypeBoundsTree[T]
trait WithoutTypeOrPos[T]
class ExtMethods
class Function
class GenAlias
class GenFrom
class Into
class MacroTree
class OpTree
class InfixOp
class PostfixOp
class PrefixOp
class PolyFunction
class Tuple
class CaptureSet
class Const
object Fluid
class Var
class DerivedVar
class BiMapped
class Filtered
class Diff
class Mapped
class Intersected
class RefiningVar
class Annotation
class Constant
class Constraint
class Denotation
class MissingRef
object NoDenotation
class Name
class TermName
class DerivedName
class SimpleName
class TypeName
class Scope
object EmptyScope
class MutableScope
class PackageScope
class Symbol
class ClassSymbol
object NoSymbol
class LambdaParam
class Type
trait BindingType
trait LambdaType
class HKLambda
class HKTypeLambda
class MethodOrPoly
class MethodType
class PolyType
trait TermLambda
trait TypeLambda
class RecType
class AndOrType
class AndType
class OrType
class CachedOrType
class ClassInfo
object NoPrefix
object NoType
class WildcardType
object WildcardType
class IgnoredProto
class ViewProto
trait CachedType
class AppliedType
class BoundType
class ParamRef
class TermParamRef
class TypeParamRef
class RecThis
class ConstantType
class ExprType
class MatchType
class NamedType
class TermRef
class TypeRef
class RefinedType
class SkolemType
class SuperType
class ThisType
class TypeBounds
class MatchAlias
class TypeAlias
class TypeVar
trait NarrowCached
trait ProtoType
class FunProto
class PolyProto
trait MatchAlways
object LhsProto
trait TermType
trait MethodicType
trait ValueType
trait CaptureRef
class FlexType
class ErrorType
class LazyRef
class TypeProxy
trait TypeType
class TempPolyType
class LazyType
class Completer
trait NoCompleter
class NoLoader
object NoCompleter
class StubInfo
class SymbolLoader
class TastyLoader
class Completer
class ImportType
class Range
class Candidate
trait RefAndLevel
class SearchResult
class ImportInfo
Show all

Members list

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