DerivedName

final case class DerivedName(underlying: TermName, info: NameInfo) extends TermName

A term name that's derived from an underlying name and that adds info to it.

trait Product
trait Equals
class TermName
class Name
trait Showable
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from:
TermName

Value members

Concrete methods

override def asSimpleName: Nothing
Definition Classes
override def collect[T](f: PartialFunction[Name, T]): Option[T]
Definition Classes
override def debugString: String
Definition Classes
override def decode: ThisName
Definition Classes
override def encode: ThisName
Definition Classes
override def firstPart: SimpleName
Definition Classes
override def isEmpty: Boolean
Definition Classes
override def lastPart: SimpleName
Definition Classes
final override def mangle: SimpleName
Definition Classes
override def mapLast(f: SimpleName => SimpleName): ThisName
Definition Classes
override def mapParts(f: SimpleName => SimpleName): ThisName
Definition Classes
Definition Classes
override def split: (TermName, TermName, String)
Definition Classes
override def toSimpleName: SimpleName
Definition Classes

Inherited methods

def ++(other: String): ThisName
Inherited from:
Name
def ++(other: Name): ThisName

Append other to the last part of this name

Append other to the last part of this name

Inherited from:
Name
override def asTermName: TermName
Definition Classes
Inherited from:
TermName
override def asTypeName: Nothing
Definition Classes
Inherited from:
TermName
override def derived(info: NameInfo): TermName
Definition Classes
Inherited from:
TermName

A derived name consisting of this name and the info of kind

A derived name consisting of this name and the info of kind

Inherited from:
Name
Inherited from:
Name
def endsWith(suffix: String): Boolean

Does (the last part of) this name end with str?

Does (the last part of) this name end with str?

Inherited from:
Name
override def equals(that: Any): Boolean
Definition Classes
Name -> Any
Inherited from:
Name
override def exclude(kind: NameKind): TermName
Definition Classes
Inherited from:
TermName
def fallbackToText(printer: Printer): Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

Inherited from:
Showable
override def hashCode: Int
Definition Classes
Name -> Any
Inherited from:
Name
override def is(kind: NameKind): Boolean
Definition Classes
Inherited from:
TermName
override def isTermName: Boolean
Definition Classes
Inherited from:
TermName
override def isTypeName: Boolean
Definition Classes
Inherited from:
TermName
override def likeSpaced(name: Name): TermName
Definition Classes
Inherited from:
TermName
final def mangled: ThisName
Inherited from:
TermName
Inherited from:
TermName
Inherited from:
Product

Convert to string as follows. If this is a qualified name <first> <sep> <last>, the sanitized version of f1(<first>) <sep> f2(<last>). Otherwise f2 applied to this name.

Convert to string as follows. If this is a qualified name <first> <sep> <last>, the sanitized version of f1(<first>) <sep> f2(<last>). Otherwise f2 applied to this name.

Inherited from:
TermName
def replace(from: Char, to: Char): ThisName

Replace all occurrences of from to to in this name

Replace all occurrences of from to to in this name

Inherited from:
Name
def show(using Context): String

The string representation of this showable element.

The string representation of this showable element.

Inherited from:
Showable
def showIndented(margin: Int)(using Context): String

The string representation with each line after the first one indented by the given given margin (in spaces).

The string representation with each line after the first one indented by the given given margin (in spaces).

Inherited from:
Showable
def showSummary(depth: Int)(using Context): String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

Inherited from:
Showable
def startsWith(str: String, start: Int): Boolean

Does (the first part of) this name starting at index start starts with str?

Does (the first part of) this name starting at index start starts with str?

Inherited from:
Name
override def toString: String
Definition Classes
TermName -> Any
Inherited from:
TermName
override def toTermName: TermName
Definition Classes
Inherited from:
TermName
def toText(printer: Printer): Text

Convert name to text via printer.

Convert name to text via printer.

Inherited from:
Name
override def toTypeName: TypeName
Definition Classes
Inherited from:
TermName