class RefinedPrinter
extends PlainPrinter

Constructors

RefinedPrinter ( _ctx: Context )

Members

protected val PrintableFlags : R
private val _ctx : Context
private var enclosingDef : Tree

A stack of enclosing DefDef, TypeDef, or ClassDef, or ModuleDefs nodes

A stack of enclosing DefDef, TypeDef, or ClassDef, or ModuleDefs nodes

private var myCtx : Context
private var printPos : Boolean
protected override def ParamRefNameString ( name: Name ) : String
def blockText ( trees: List [ Tree [ T ] ] ) : Text
protected override implicit def ctx : Context
private def enclDefIsClass : Boolean
private def enclosingDef_= ( x$1: Tree ) : Unit

A stack of enclosing DefDef, TypeDef, or ClassDef, or ModuleDefs nodes

A stack of enclosing DefDef, TypeDef, or ClassDef, or ModuleDefs nodes

protected override def fullNameOwner ( sym: Symbol ) : Symbol
override def fullNameString ( sym: Symbol ) : String

The fully qualified name of the symbol

The fully qualified name of the symbol

def inPattern ( op: => Text ) : Text
protected override def keyString ( sym: Symbol ) : String

String representation of symbol's definition key word

String representation of symbol's definition key word

override def kindString ( sym: Symbol ) : String

String representation of symbol's kind.

String representation of symbol's kind.

private def myCtx_= ( x$1: Context ) : Unit
override def nameString ( name: Name ) : String

The name, possibley with with namespace suffix if debugNames is set: /L for local names, /V for other term names, /T for type names

The name, possibley with with namespace suffix if debugNames is set: /L for local names, /V for other term names, /T for type names

def optText ( name: Name ) ( encl: Text => Text ) : Text
def optText ( tree: Tree [ T ] ) ( encl: Text => Text ) : Text
def optText ( tree: List [ Tree [ T ] ] ) ( encl: Text => Text ) : Text
override def plain : Printer

A plain printer without any embellishments

A plain printer without any embellishments

private def printPos_= ( x$1: Boolean ) : Unit
protected override def recursionLimitExceeded ( ) : Unit
protected override def refinementNameString ( tp: RefinedType ) : String

String representation of a name used in a refinement In refined printing this undoes type parameter expansion

String representation of a name used in a refinement In refined printing this undoes type parameter expansion

protected override def simpleNameString ( sym: Symbol ) : String

The name of the symbol without a unique id. Under refined printing, the decoded original name.

The name of the symbol without a unique id. Under refined printing, the decoded original name.

override def toText ( tp: Type ) : Text

Textual representation of type

Textual representation of type

override def toText ( tree: Tree [ T ] ) : Text

Textual representation of tree

Textual representation of tree

[+] override def toText ( sym: Symbol ) : Text

Textual representation, including symbol's kind e.g., "class Foo", "method Bar". If hasMeaninglessName is true, uses the owner's name to disambiguate i...

Textual representation, including symbol's kind e.g., "class Foo", "method Bar". If hasMeaninglessName is true, uses the owner's name to disambiguate identity.

override def toText ( denot: Denotation ) : Text

Textual representation of denotation

Textual representation of denotation

override def toTextFlags ( sym: Symbol ) : Text

String representation of symbol's flags

String representation of symbol's flags

override def toTextPrefix ( tp: Type ) : Text

The string representation of this type used as a prefix

The string representation of this type used as a prefix

override def toTextRef ( tp: SingletonType ) : Text

The string representation of this type used as a prefix

The string representation of this type used as a prefix

protected override def treatAsTypeArg ( sym: Symbol ) : Boolean
protected override def treatAsTypeParam ( sym: Symbol ) : Boolean
def withEnclosingDef ( enclDef: Tree [ Untyped <: Any ] ) ( op: => Text ) : Text
def withoutPos ( op: => Text ) : Text