SuffixNameKind

dotty.tools.dotc.core.NameKinds$.SuffixNameKind
class SuffixNameKind(tag: Int, suffix: String, optInfoString: String) extends ClassifiedNameKind

The kind of names that get formed by appending a suffix to an underlying name

Attributes

Graph
Supertypes
class NameKind
class Object
trait Matchable
class Any

Members list

Type members

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

Inherited types

type ThisInfo = Info

The info class defined by this kind

The info class defined by this kind

Attributes

Inherited from:
ClassifiedNameKind

Value members

Concrete methods

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

override def unmangle(name: SimpleName): TermName

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

Definition Classes

Inherited methods

def apply(underlying: TermName): TermName

Build a new name of this kind from an underlying name

Build a new name of this kind from an underlying name

Attributes

Inherited from:
ClassifiedNameKind

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

Inherited from:
NameKind

Attributes

Inherited from:
NameKind

Extractor operation for names of this kind

Extractor operation for names of this kind

Attributes

Inherited from:
ClassifiedNameKind

Inherited fields

val info: Info

Attributes

Inherited from:
ClassifiedNameKind

A string used for displaying the structure of a name

A string used for displaying the structure of a name

Attributes

Inherited from:
ClassifiedNameKind