treehugger.Names

Name

trait Name extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Name
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def append(suffix: Name): Name

  2. abstract def append(suffix: String): Name

  3. abstract def name: String

  4. abstract def subName(from: Int, to: Int): Name

    Return the subname with characters from from to to-1.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def apply(i: Int): Char

    returns

    the i'th Char of this name

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def containsName(subname: Name): Boolean

  10. final def containsName(subname: String): Boolean

  11. final def endChar: Char

  12. final def endsWith(name: String): Boolean

  13. final def endsWith(char: Char): Boolean

  14. final def endsWith(suffix: Name): Boolean

    Does this name end with suffix?

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isEmpty: Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isTermName: Boolean

  23. def isTypeName: Boolean

  24. def lastIndexOf(ch: Char): Int

  25. 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

  26. 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

  27. final def len: Int

    The length of this name.

  28. final def length: Int

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def nonEmpty: Boolean

  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. final def pos(s: String): Int

    returns

    the index of first occurrence of char c in this name, length if not found

  34. 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.

  35. final def startsWith(name: String): Boolean

  36. final def startsWith(char: Char): Boolean

  37. final def startsWith(prefix: Name): Boolean

    Does this name start with prefix?

  38. final def stripEnd(suffix: String): Name

  39. final def stripEnd(suffix: Name): Name

  40. final def stripStart(prefix: String): Name

  41. final def stripStart(prefix: Name): Name

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. final def toChars: Array[Char]

  44. final def toString(): String

    returns

    the string representation of this name

    Definition Classes
    Name → AnyRef → Any
  45. def toTermName: TermName

  46. def toTypeName: TypeName

  47. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any