QualifiedNameKind

dotty.tools.dotc.core.NameKinds.QualifiedNameKind
class QualifiedNameKind(tag: Int, val separator: String) extends NameKind

The kind of qualified names, consisting of an underlying name as a prefix, followed by a separator, followed by a simple selector name.

A qualified names always constitutes a new name, different from its underlying name.

Attributes

Graph
Supertypes
class NameKind
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class QualInfo(name: SimpleName) extends Info, QualifiedInfo

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Info
class NameInfo
class Object
trait Matchable
class Any
Show all

Inherited classlikes

class Info extends NameInfo

A simple info type; some subclasses of Kind define more refined versions

A simple info type; some subclasses of Kind define more refined versions

Attributes

Inherited from:
NameKind
Supertypes
class NameInfo
class Object
trait Matchable
class Any
Known subtypes
class NumberedInfo
class QualInfo
class SignedInfo

Types

The info class defined by this kind

The info class defined by this kind

Attributes

Value members

Concrete methods

def apply(qual: TermName, name: SimpleName): TermName
def apply(qual: TermName, name: TermName): TermName

Overloaded version used only for ExpandedName and TraitSetterName. Needed because the suffix of an expanded name may itself be expanded. For example, look at javap of scala.App.initCode

Overloaded version used only for ExpandedName and TraitSetterName. Needed because the suffix of an expanded name may itself be expanded. For example, look at javap of scala.App.initCode

Attributes

override def definesNewName: Boolean

Does this kind define logically a new name (respectively qualified name)? Tested by the replace and collect combinators of class Name.

Does this kind define logically a new name (respectively qualified name)? Tested by the replace and collect combinators of class Name.

Attributes

Definition Classes

Attributes

Definition Classes

A string used for displaying the structure of a name

A string used for displaying the structure of a name

Attributes

def mkString(underlying: TermName, info: ThisInfo): String

Turn a name of this kind consisting of an underlying prefix and the given info into a string. Used to turn structured into simple name.

Turn a name of this kind consisting of an underlying prefix and the given info into a string. Used to turn structured into simple name.

Attributes

Inherited methods

Unmangle simple name name into a name of this kind, or return original name if this is not possible.

Unmangle simple name name into a name of this kind, or return original name if this is not possible.

Attributes

Inherited from:
NameKind

Concrete fields