sealed abstract class TermName extends Name with TermNameApi
- Alphabetic
- By Inheritance
- TermName
- TermNameApi
- Name
- CharSequence
- NameApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete 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(separator: Char, suffix: Name): Name with ThisNameType
- Definition Classes
- Name
-
def
append(suffix: Name): Name with ThisNameType
- Definition Classes
- Name
-
def
append(suffix: String): Name with ThisNameType
- Definition Classes
- Name
-
def
append(ch: Char): Name with ThisNameType
TODO - find some efficiency.
TODO - find some efficiency.
- Definition Classes
- Name
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bothNames: List[Name]
- Definition Classes
- Name
-
final
def
charAt(i: Int): Char
- returns
the i'th Char of this name
- Definition Classes
- Name → CharSequence
-
def
chars(): IntStream
- Definition Classes
- CharSequence
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
codePoints(): IntStream
- Definition Classes
- CharSequence
- def companionName: TypeName
-
final
def
containsChar(ch: Char): Boolean
- Definition Classes
- Name
-
final
def
containsName(subname: Name): Boolean
- Definition Classes
- Name
-
final
def
containsName(subname: String): Boolean
- Definition Classes
- Name
-
final
def
copyChars(cs: Array[Char], offset: Int): Unit
Copy bytes of this name to buffer cs, starting at position
offset
.Copy bytes of this name to buffer cs, starting at position
offset
.- Definition Classes
- Name
-
def
debugString: String
- Definition Classes
- Name
-
def
decode: String
Replace $op_name by corresponding operator symbol.
Replace $op_name by corresponding operator symbol.
- Definition Classes
- Name
-
def
decoded: String
!!! Duplicative but consistently named.
-
def
decodedName: ThisNameType
The decoded name, still represented as a name.
-
def
encode: ThisNameType
Replace operator symbols by corresponding $op_name.
Replace operator symbols by corresponding $op_name.
- Definition Classes
- Name
-
def
encoded: String
Replaces all occurrences of operator symbols in this name by corresponding $op_names.
-
def
encodedName: ThisNameType
The encoded name, still represented as a 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: String, end: Int): Boolean
- Definition Classes
- Name
-
final
def
endsWith(suffix: Name, end: Int): Boolean
Does this name end with suffix just before given end index?
Does this name end with suffix just before given end index?
- 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
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hashCode(): Int
- returns
the hash value of this name
- Definition Classes
- Name → AnyRef → Any
-
val
index: Int
- Attributes
- protected
- Definition Classes
- Name
-
def
indexOf(s: String): Int
- Definition Classes
- Name
-
def
indexOf(ch: Char, fromIndex: Int): Int
- Definition Classes
- Name
-
def
indexOf(ch: Char): Int
- Definition Classes
- Name
-
final
def
isEmpty: Boolean
- Definition Classes
- Name
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOperatorName: Boolean
- Definition Classes
- Name
-
def
isTermName: Boolean
Checks whether the name is a term name
-
def
isTypeName: Boolean
Checks whether the name is a type name
-
def
lastIndexOf(s: String): Int
- Definition Classes
- Name
-
def
lastIndexOf(ch: Char): Int
The lastPos methods already return -1 on failure.
The lastPos methods already return -1 on failure.
- 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
the index from which to search
- 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
-
val
len: Int
- Attributes
- protected
- Definition Classes
- Name
-
final
def
length(): Int
The length of this name.
The length of this name.
- Definition Classes
- Name → CharSequence
-
def
longString: String
- Definition Classes
- Name
-
def
mapName(f: (String) ⇒ String): Name with ThisNameType
Return a new name based on string transformation.
Return a new name based on string transformation.
- Definition Classes
- Name
- def nameKind: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newName(str: String): TermName
Return a new name of the same variety.
-
val
next: TermName
The next name in the same hash bucket.
-
final
def
nonEmpty: Boolean
- Definition Classes
- Name
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
pos(s: String, start: Int): Int
Returns the index of the first occurrence of nonempty string s in this name from start, length if not found.
Returns the index of the first occurrence of nonempty string s in this name from start, length if not found.
- s
the string
- start
the index from which to search
- returns
the index of the first occurrence of s
- Definition Classes
- Name
-
final
def
pos(c: Char, start: Int): Int
Returns the index of the first occurrence of character c in this name from start, length if not found.
Returns the index of the first occurrence of character c in this name from start, length if not found.
- c
the character
- start
the index from which to search
- returns
the index of the first occurrence of c
- Definition Classes
- Name
-
final
def
pos(s: String): Int
- returns
the index of first occurrence of s in this name, length if not found
- Definition Classes
- Name
-
final
def
pos(c: Char): Int
- returns
the index of first occurrence of char c in this name, length if not found
- Definition Classes
- Name
-
def
prepend(prefix: String): Name with ThisNameType
- Definition Classes
- Name
-
def
replace(from: Char, to: Char): Name
Replace all occurrences of
from
byto
in name; result is always a term name.Replace all occurrences of
from
byto
in name; result is always a term name.- Definition Classes
- Name
-
final
def
start: Int
Index into name table
Index into name table
- 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: String, start: Int): Boolean
- Definition Classes
- Name
-
final
def
startsWith(prefix: Name, start: Int): Boolean
Does this name start with prefix at given start index?
Does this name start with prefix at given start index?
- Definition Classes
- Name
-
final
def
startsWith(prefix: Name): Boolean
Does this name start with prefix?
Does this name start with prefix?
- Definition Classes
- Name
-
def
string_==(that: String): Boolean
- Definition Classes
- Name
-
def
string_==(that: Name): Boolean
- returns
true if the string value of this name is equal to the string value of the given name or String.
- Definition Classes
- Name
-
def
subName(from: Int, to: Int): TermName
Return the subname with characters from from to to-1.
-
def
subSequence(from: Int, to: Int): CharSequence
- Definition Classes
- Name → CharSequence
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def thisName: TermName
-
final
def
toChars: Array[Char]
- returns
the ascii representation of this name
- Definition Classes
- Name
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toTermName: TermName
Returns a term name that wraps the same string as
this
-
def
toTypeName: TypeName
Returns a type name that wraps the same string as
this
-
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
- @native() @throws( ... )