NameTransformer

Provides functions to encode and decode Scala symbolic names.

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

class Object
trait Matchable
class Any

Value members

Concrete methods

def decode(name0: String): String

Replace $opname by corresponding operator symbol.

Replace $opname by corresponding operator symbol.

Value Params
name0

the string to decode

Returns

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

def encode(name: String): String

Replace operator symbols by corresponding $opname.

Replace operator symbols by corresponding $opname.

Value Params
name

the string to encode

Returns

the string with all recognized opchars replaced with their encoding

Concrete fields

final val LAZY_LOCAL_SUFFIX_STRING: "$lzy"
final val LOCAL_SUFFIX_STRING: " "
final val MODULE_INSTANCE_NAME: "MODULE$"
final val MODULE_SUFFIX_STRING: "$"
final val MODULE_VAR_SUFFIX_STRING: "$module"
final val NAME_JOIN_STRING: "$"
final val SETTER_SUFFIX_STRING: "_$eq"
final val TRAIT_SETTER_SEPARATOR_STRING: "$_setter_$"