Dotty Documentation

0.14.0-bin-SNAPSHOT

class Completer
extends LazyType with SecondCompleter

The completer of a symbol defined by a member def or import (except ClassSymbols)

[-] Constructors

Completer ( original: Tree )
Completer ( implicit ctx: Context )

[-] Members

[+] private implicit val ctx : Context
[+] val original : Tree
[+] protected def addAnnotations ( sym: Symbol ) : Unit
[+] private def addInlineInfo ( sym: Symbol ) : Unit
[+] override final def complete ( denot: SymDenotation ) ( implicit ctx: Context ) : Unit

Sets all missing fields of given denotation

[+] def completeInCreationContext ( denot: SymDenotation ) : Unit

Intentionally left without implicit ctx parameter. We need to pick up the context at the point where the completer was created.

[+] def creationContext : Context

The context with which this completer was created

[+] private def invalidateIfClashingSynthetic ( denot: SymDenotation ) : Unit

Invalidate denot by overwriting its info with NoType if denot is a compiler generated case class method that clashes with a user-defined method in the same scope with a matching type.

[+] protected def localContext ( owner: Symbol ) : FreshContext
[+] def registerIfChild ( denot: SymDenotation ) ( implicit ctx: Context ) : Unit

If completed symbol is an enum value or a named class, register it as a child in all direct parent classes which are sealed.

[+] protected def typeSig ( sym: Symbol ) : Type