in scala
class Symbol

final case class Symbol(name: String)
extends Object
with ScalaObject
with CaseClass

Instances of Symbol can be created easily with Scala's built-in quote mechanism. For instance, the Scala term 'mysym will invoke the constructor of the Symbol class in the following way: new Symbol("mysym"). .
Author:
Martin Odersky
Version:
1.7, 08/12/2003

Field Summary
final val name: String

Method Summary
final override def toString(): String
     Converts this symbol to a string.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/CaseClass-class
caseArity, caseElement

Field Detail

name

  final val name: String
Method Detail

toString

  final override def toString(): String
Converts this symbol to a string.