case class TermName(name: String) extends Name with Product with Serializable
- Alphabetic
- By Inheritance
- TermName
- Serializable
- Serializable
- Product
- Equals
- Name
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TermName(name: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(suffix: Name): TermName
- def append(suffix: String): TermName
-
final
def
apply(i: Int): Char
- returns
the i'th Char of this name
- Definition Classes
- Name
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
containsName(subname: Name): Boolean
- Definition Classes
- Name
-
final
def
containsName(subname: String): Boolean
- Definition Classes
- Name
-
final
def
endChar: Char
- Definition Classes
- Name
-
final
def
endsWith(name: String): Boolean
- Definition Classes
- Name
-
final
def
endsWith(char: Char): Boolean
- Definition Classes
- Name
-
final
def
endsWith(suffix: Name): Boolean
Does this name end with suffix?
Does this name end with suffix?
- Definition Classes
- Name
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isEmpty: Boolean
- Definition Classes
- Name
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTermName: Boolean
-
def
isTypeName: Boolean
- Definition Classes
- Name
-
def
lastIndexOf(ch: Char): Int
- Definition Classes
- Name
-
final
def
lastPos(c: Char, start: Int): Int
Returns the index of the last occurrence of char c in this name from start, -1 if not found.
Returns the index of the last occurrence of char c in this name from start, -1 if not found.
- c
the character
- start
...
- returns
the index of the last occurrence of c
- Definition Classes
- Name
-
final
def
lastPos(c: Char): Int
Returns the index of last occurrence of char c in this name, -1 if not found.
Returns the index of last occurrence of char c in this name, -1 if not found.
- c
the character
- returns
the index of the last occurrence of c
- Definition Classes
- Name
-
final
def
len: Int
The length of this name.
The length of this name.
- Definition Classes
- Name
-
final
def
length: Int
- Definition Classes
- Name
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nonEmpty: Boolean
- Definition Classes
- Name
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
pos(s: String): Int
- returns
the index of first occurrence of char c in this name, length if not found
- Definition Classes
- Name
-
final
def
startChar: Char
Some thoroughly self-explanatory convenience functions.
Some thoroughly self-explanatory convenience functions. They assume that what they're being asked to do is known to be valid.
- Definition Classes
- Name
-
final
def
startsWith(name: String): Boolean
- Definition Classes
- Name
-
final
def
startsWith(char: Char): Boolean
- Definition Classes
- Name
-
final
def
startsWith(prefix: Name): Boolean
Does this name start with prefix?
Does this name start with prefix?
- Definition Classes
- Name
-
final
def
stripEnd(suffix: String): Name
- Definition Classes
- Name
-
final
def
stripEnd(suffix: Name): Name
- Definition Classes
- Name
-
final
def
stripStart(prefix: String): Name
- Definition Classes
- Name
-
final
def
stripStart(prefix: Name): Name
- Definition Classes
- Name
-
def
subName(from: Int, to: Int): TermName
Return the subname with characters from from to to-1.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toChars: Array[Char]
- Definition Classes
- Name
-
final
def
toString(): String
- returns
the string representation of this name
- Definition Classes
- Name → AnyRef → Any
- def toTermName: TermName
-
def
toTypeName: TypeName
- Definition Classes
- Name
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )