org.ensime.core.debug

SourceMap

class SourceMap extends AnyRef

Represents a utility to map local source files provided by Ensime to JDI locations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SourceMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceMap(config: EnsimeConfig, pathMap: Map[String, File] = ...)

    config

    The Ensime configuration used to load source files

    pathMap

    Represents a cache of files indexed by short file paths such as file.scala rather than org/ensime/file.scala

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 asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def canonicalSources: Set[File]

    Retrieves current Scala sources available through Ensime.

    Retrieves current Scala sources available through Ensime.

    returns

    The set of Scala source files

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findFileByLocation(location: LocationInfoProfile): Option[File]

    Finds the local source file mapping to the given location.

    Finds the local source file mapping to the given location.

    location

    The location whose source file to find

    returns

    Some file representing the local source, otherwise None

  13. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  17. def newLineSourcePosition(location: LocationInfoProfile): Option[LineSourcePosition]

    Creates a new LineSourcePosition instance from the given location.

    Creates a new LineSourcePosition instance from the given location.

    location

    The location to use when constructing the new LineSourcePosition

    returns

    Some LineSourcePosition if matching source file is found, otherwise None

  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. def parsePath(filePath: String): String

    Parses the file path, removing the root path and leaving the relative source path for use by breakpoints.

    Parses the file path, removing the root path and leaving the relative source path for use by breakpoints.

    filePath

    The absolute file path

    returns

    The relative source path

  21. def parsePath(file: File): String

    Parses the canonical path of the provided file, removing the root path and leaving the relative source path for use by breakpoints.

    Parses the canonical path of the provided file, removing the root path and leaving the relative source path for use by breakpoints.

    file

    The file whose path to parse

    returns

    The relative source path

  22. def retrieveRoots: Seq[String]

    Retrieves a collection of file paths representing the root locations of source files managed by Ensime.

    Retrieves a collection of file paths representing the root locations of source files managed by Ensime.

    returns

    The distinct root paths as strings

    Attributes
    protected
  23. def retrieveSources: Set[File]

    Retrieves a set of local files representing available Scala source files managed by Ensime.

    Retrieves a set of local files representing available Scala source files managed by Ensime.

    returns

    The set of local files

    Attributes
    protected
  24. def sourceForFilePath(filePath: String): Option[File]

    Retrieves the current Scala source available through Ensime with the given file path.

    Retrieves the current Scala source available through Ensime with the given file path.

    filePath

    The path of the file whose match to retrieve

    returns

    Some source whose file path matches the given path, otherwise None

  25. def sourcesForFileName(fileName: String): Set[File]

    Retrieves all current Scala sources available through Ensime with the given file name.

    Retrieves all current Scala sources available through Ensime with the given file name.

    fileName

    The name of the file whose matches to retrieve

    returns

    The set of sources whose file name match the given name

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

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped