Name

ammonite.util.Name
See theName companion object
case class Name(raw: String)

Represents a single identifier in Scala source code, e.g. "scala" or "println" or "Hello-World".

Holds the value "raw", with all special characters intact, e.g. "Hello-World". Can be used backticked e.g. "Hello-World", useful for embedding in Scala source code, or encoded e.g. "Hello$minusWorld", useful for accessing names as-seen-from the Java/JVM side of things

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def backticked: String
def encoded: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product