An abstract type that represents the exact flavor of the name.
The term name <init>
. Represents the constructor name on the JVM.
The term or type name corresponding to an empty string. Represents an empty name, used to denote the fact that no name was specified for privateWithin
in Trees#Modifiers, for Trees#This, for Trees#Super, etc.
The term name <empty>
. Represents the empty package.
The term or type name <error>
. Indicates that the enclosing tree or symbol contains a compilation error.
The string " " (a single whitespace). LOCAL_SUFFIX_STRING
is appended to the names of local identifiers, when it's necessary to prevent a naming conflict. For example, underlying fields of non-private vals and vars are renamed using LOCAL_SUFFIX_STRING
.
The term or type name package
. Used to get modules representing package objects.
The term name _root_
. Represents the root package.
The term or type name _
. Used to construct trees that correspond to underscores in Scala.
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/api/StandardNames$TermNamesApi.html
Defines standard term names that can be accessed via the nme member.