Dotty Documentation

0.9.0-bin-SNAPSHOT

object Symbols
extends Object

[-] Constructors

[-] Members

[+] class ClassSymbol
[+] class Copier
[+] class ErrorSymbol
[+] final class MutableSymbolMap
[+] object MutableSymbolMap
[+] @sharable object NoSymbol
[+] class Symbol

A Symbol represents a Scala definition/declaration or a package.

[+] type TermSymbol = Symbol
[+] type TypeSymbol = Symbol
[+] val Ids : Key [ Array [ String ] ]

Tree attachment containing the identifiers in a tree as a sorted array

[+] def currentClass ( implicit ctx: Context ) : ClassSymbol

The current class

[+] def defn ( implicit ctx: Context ) : Definitions

The Definitions object

[+] implicit def eqSymbol : Eq [ Symbol, Symbol ]
[+] @Body @inline inline def newMutableSymbolMap : MutableSymbolMap [ T ]
[+] implicit def toClassDenot ( cls: ClassSymbol ) ( implicit ctx: Context ) : ClassDenotation

Makes all class denotation operations available on class symbols

[+] implicit def toDenot ( sym: Symbol ) ( implicit ctx: Context ) : SymDenotation

Makes all denotation operations available on symbols