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. def != (arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    final
    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. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

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

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

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

  15. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

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

    Attributes
    final
    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. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  26. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any