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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(sources: Seq[File], classpath: Seq[File], outputDirectory: Option[File], options: Seq[String]): Seq[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bootClasspath(addLibrary: Boolean): Seq[File]
  7. def bootClasspathFor(classpath: Seq[File]): Seq[File]
  8. def bootClasspathOption(addLibrary: Boolean): Seq[String]
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createBootClasspath(addLibrary: Boolean): String

    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
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def extClasspath: Seq[File]
  15. def filterLibrary(classpath: Seq[File]): Seq[File]
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def finishClasspath(classpath: Seq[File]): Seq[File]

    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[_]
    Definition Classes
    AnyRef → Any
  19. def hasLibrary(classpath: Seq[File]): Boolean
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  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

Ungrouped