scala.tools.nsc.settings.MutableSettings

OutputDirs

class OutputDirs extends AnyRef

A class for holding mappings from source directories to their output location. This functionality can be accessed only programmatically. The command line compiler uses a single output location, but tools may use this functionality to set output location per source directory.

Definition Classes
MutableSettingsAbsScalaSettings
Source
MutableSettings.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. OutputDirs
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OutputDirs()

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. def add(src: AbstractFile, dst: AbstractFile): Unit

  7. def add(srcDir: String, outDir: String): Unit

    Add a destination directory for sources found under srcdir.

    Add a destination directory for sources found under srcdir. Both directories should exits.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def getSingleOutput: Option[AbstractFile]

  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  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
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def outputDirFor(src: AbstractFile): AbstractFile

    Return the output directory for the given file.

  21. def outputs: List[(AbstractFile, AbstractFile)]

    Return the list of source-destination directory pairs.

  22. def setSingleOutput(dir: AbstractFile): Unit

    Set the single output directory.

    Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.

  23. def setSingleOutput(outDir: String): Unit

    Set the single output directory.

    Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.

  24. def srcFilesFor(classFile: AbstractFile, srcPath: String): List[AbstractFile]

    Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.

    Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.

    The given classfile path must be contained in at least one of the specified output directories. If it does not then this method returns Nil.

    Note that the source file is not required to exist, so assuming a valid classfile path this method will always return a list containing at least one element.

    Also that if two or more source path elements target the same output directory there will be two or more candidate source file paths.

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    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()

Inherited from AnyRef

Inherited from Any