Names

dotty.tools.sjs.ir.Names
object Names

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Names.type

Members list

Type members

Classlikes

final class ClassName extends Name, Comparable[ClassName]

The full name of a class.

The full name of a class.

A class name is non-empty sequence of .-separated simple names, where each simple name must be non-empty and can contain any Unicode code point except / . ; [.

Attributes

Companion
object
Supertypes
class Name
class Object
trait Matchable
class Any
object ClassName

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ClassName.type
final class FieldName extends Comparable[FieldName]

The full name of a field, including its simple name and its enclosing class name.

The full name of a field, including its simple name and its enclosing class name.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object FieldName

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
FieldName.type
final class LabelName extends Name, Comparable[LabelName]

The name of the label of a Labeled block.

The name of the label of a Labeled block.

Label names must be non-empty, and can contain any Unicode code point except / . ; [.

Attributes

Companion
object
Supertypes
class Name
class Object
trait Matchable
class Any
object LabelName

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
LabelName.type
final class LocalName extends Name, Comparable[LocalName]

The name of a local variable or capture parameter.

The name of a local variable or capture parameter.

Local names must be non-empty, and can contain any Unicode code point except / . ; [.

As an exception, the local name ".this" represents the this binding. It cannot be used to declare variables (in VarDefs or ParamDefs) but can be referred to with a VarRef.

Attributes

Companion
object
Supertypes
class Name
class Object
trait Matchable
class Any
object LocalName

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
LocalName.type
final class MethodName extends Comparable[MethodName]

The full name of a method, including its simple name and its signature.

The full name of a method, including its simple name and its signature.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object MethodName

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
MethodName.type
sealed abstract class Name(val encoded: UTF8String)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

The simple name of a field (excluding its enclosing class).

The simple name of a field (excluding its enclosing class).

Field names must be non-empty, and can contain any Unicode code point except / . ; [.

Attributes

Companion
object
Supertypes
class Name
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

The simple name of a method (excluding its signature).

The simple name of a method (excluding its signature).

Simple names must be non-empty, and can contain any Unicode code point except / . ; [. In addition, they must not contain the code point < unless they are one of <init>, <stinit> or <clinit>.

Attributes

Companion
object
Supertypes
class Name
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Deprecated methods

Attributes

Deprecated
[Since version 1.14.0] Use SimpleMethodName.ClassInitializer instead

Attributes

Deprecated
[Since version 1.14.0] Use SimpleMethodName.Constructor instead

Attributes

Deprecated
[Since version 1.14.0] Use SimpleMethodName.StaticInitializer instead