Object NameTransformer.NameTransformer
Source code


object NameTransformer


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


Supertypes

class Object

trait Matchable

class Any




Self type

NameTransformer.type


Concrete methods

Source
def decode(name0: String): String


Replace $opname by corresponding operator symbol. 


Value parameters

name0
the string to decode



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



Source
def encode(name: String): String


Replace operator symbols by corresponding $opname. 


Value parameters

name
the string to encode



Returns
the string with all recognized opchars replaced with their encoding


Concrete fields

Source
final val LAZY_LOCAL_SUFFIX_STRING: "$lzy"



Source
final val LOCAL_SUFFIX_STRING: " "



Source
final val MODULE_INSTANCE_NAME: "MODULE$"



Source
final val MODULE_SUFFIX_STRING: "$"



Source
final val MODULE_VAR_SUFFIX_STRING: "$module"



Source
final val NAME_JOIN_STRING: "$"



Source
final val SETTER_SUFFIX_STRING: "_$eq"



Source
final val TRAIT_SETTER_SEPARATOR_STRING: "$_setter_$"




    
{'path': 'public/docs/scala~3.2/scala/reflect/nametransformer$.html', 'source': 'DevDocs.IO'}