Packages

case class LocalName(steps: List[LNStep]) extends SlashFunctions[LocalName] with Product with Serializable

A LocalName represents a local MMT symbol-level declarations (relative to a module).

steps

the list of (in MMT: slash-separated) components

Source
Path.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalName
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SlashFunctions
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalName(steps: List[LNStep])

    steps

    the list of (in MMT: slash-separated) components

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /(n: LocalName): LocalName
    Definition Classes
    LocalNameSlashFunctions
  4. def /(n: LNStep): LocalName
    Definition Classes
    SlashFunctions
  5. def /(n: String): LocalName
    Definition Classes
    SlashFunctions
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def dropComplex: LocalName

    removes all complex steps; possibly ambiguous, but often much nicer for priting/parsing

  10. def dropPrefix(p: LocalName): Option[LocalName]

    returns

    if this == p / l, then Some(l), else None

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def id: Sub

    the identity substitution this->this

  15. def init: LocalName
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def prefixes: List[LocalName]

    returns the list of all prefixes of this name, from atomic to this one

  21. def simplify: LocalName

    removes repeated complex steps, keeping the later one

  22. val steps: List[LNStep]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toPath: String

    machine-oriented string representation of this name, parsable and official

  25. def toStr(implicit shortURIs: Boolean): String
  26. def toString(): String

    human-oriented string representation of this name, no encoding, possibly shortened

    human-oriented string representation of this name, no encoding, possibly shortened

    Definition Classes
    LocalName → AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SlashFunctions[LocalName]

Inherited from AnyRef

Inherited from Any

Ungrouped