Class

org.ensime.core.debug

SourceMap

Related Doc: package debug

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def canonicalSources: Set[File]

    Permalink

    Retrieves current Scala sources available through Ensime.

    Retrieves current Scala sources available through Ensime.

    returns

    The set of Scala source files

  6. def clone(): AnyRef

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

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

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

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

    Permalink

    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

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

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

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

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

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

    Permalink

    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

  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def parsePath(filePath: String): String

    Permalink

    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

  19. def parsePath(file: File): String

    Permalink

    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

  20. def retrieveRoots: Seq[String]

    Permalink

    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
  21. def retrieveSources: Set[File]

    Permalink

    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
  22. def sourceForFilePath(filePath: String): Option[File]

    Permalink

    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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped