Class/Object

sbt.internal.inc

CompilerArguments

Related Docs: object CompilerArguments | package inc

Permalink

final class CompilerArguments extends AnyRef

Construct the list of compiler arguments that are passed to the Scala compiler based on the current xsbti.compile.ScalaInstance and the user-defined xsbti.compile.ClasspathOptions.

This is required because Scala compiler arguments change depending on the Scala version, e.g. the jars for the Scala library and the Scala compiler have to be present in the classpath and match the Scala version of the current Scala compiler.

The Scala home property (scala.home) must be unset because Scala puts jars in that directory and pass it in as bootclasspath. Therefore, the contents of this property are managed by this implementation and it's strictly forbidden that the client manages this property.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerArguments
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompilerArguments(scalaInstance: xsbti.compile.ScalaInstance, cpOptions: ClasspathOptions)

    Permalink

    scalaInstance

    The instance that defines the Scala version and the options that depend on it (e.g. Scala library JAR).

    cpOptions

    The classpath options for the Scala compiler.

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. def apply(sources: Seq[File], classpath: Seq[File], outputDirectory: Option[File], options: Seq[String]): Seq[String]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bootClasspath(addLibrary: Boolean): Seq[File]

    Permalink
  7. def bootClasspathFor(classpath: Seq[File]): Seq[File]

    Permalink
  8. def bootClasspathOption(addLibrary: Boolean): Seq[String]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createBootClasspath(addLibrary: Boolean): String

    Permalink

    Return the Scala library to the boot classpath if addLibrary is true.

    Return the Scala library to the boot classpath if addLibrary is true.

    addLibrary

    Flag to return the Scala library.

  11. def createBootClasspathFor(classpath: Seq[File]): String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def extClasspath: Seq[File]

    Permalink
  15. def filterLibrary(classpath: Seq[File]): Seq[File]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def finishClasspath(classpath: Seq[File]): Seq[File]

    Permalink

    Finish the classpath by adding extra Scala classpath entries if required.

    Finish the classpath by adding extra Scala classpath entries if required.

    classpath

    The classpath seed to be modified.

    returns

    A classpath ready to be passed to the Scala compiler.

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hasLibrary(classpath: Seq[File]): Boolean

    Permalink
  20. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped