NameTransformer

scala.reflect.NameTransformer

Provides functions to encode and decode Scala symbolic names. Also provides some constants.

Attributes

Source
NameTransformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def decode(name0: String): String

Replace $opname by corresponding operator symbol.

Replace $opname by corresponding operator symbol.

Value parameters

name0

the string to decode

Attributes

Returns

the string with all recognized operator symbol encodings replaced with their name

Source
NameTransformer.scala
def encode(name: String): String

Replace operator symbols by corresponding $opname.

Replace operator symbols by corresponding $opname.

Value parameters

name

the string to encode

Attributes

Returns

the string with all recognized opchars replaced with their encoding

Source
NameTransformer.scala

Concrete fields

final val LAZY_LOCAL_SUFFIX_STRING: "$lzy"

Attributes

Source
NameTransformer.scala
final val LOCAL_SUFFIX_STRING: " "

Attributes

Source
NameTransformer.scala
final val MODULE_INSTANCE_NAME: "MODULE$"

Attributes

Source
NameTransformer.scala
final val MODULE_SUFFIX_STRING: "$"

Attributes

Source
NameTransformer.scala
final val MODULE_VAR_SUFFIX_STRING: "$module"

Attributes

Source
NameTransformer.scala
final val NAME_JOIN_STRING: "$"

Attributes

Source
NameTransformer.scala
final val SETTER_SUFFIX_STRING: "_$eq"

Attributes

Source
NameTransformer.scala
final val TRAIT_SETTER_SEPARATOR_STRING: "$_setter_$"

Attributes

Source
NameTransformer.scala