org.scalajs.core.tools.classpath

builder

package builder

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractJarLibClasspathBuilder extends JarTraverser

    reads a ScalaJS library JAR into a CP

    reads a ScalaJS library JAR into a CP

    • IR files go to scalaJSCode
    • JS files go to availableLibs
    • Reads a potential top-level JS_DEPENDENCIES file
  2. trait AbstractPartialClasspathBuilder extends ClasspathContentHandler with ClasspathElementsTraverser

  3. trait ClasspathContentHandler extends AnyRef

    Base-trait used by traversers to handle content with callbacks

  4. trait ClasspathElementsTraverser extends JarTraverser with DirTraverser with FileSystem

    A helper trait to traverse an arbitrary classpath element (i.e.

    A helper trait to traverse an arbitrary classpath element (i.e. a JAR or a directory).

  5. trait DirTraverser extends ClasspathContentHandler with FileSystem

  6. trait FileSystem extends AnyRef

    Abstraction of a FileSystem, so classpath builders can be used with virtual file systems

  7. class JarLibClasspathBuilder extends AbstractJarLibClasspathBuilder with PhysicalFileSystem

  8. trait JarTraverser extends ClasspathContentHandler with FileSystem

  9. class PartialClasspathBuilder extends AbstractPartialClasspathBuilder with PhysicalFileSystem

    Allows to create a PartialClasspathBuilder from a (filesystem) classpath

    Allows to create a PartialClasspathBuilder from a (filesystem) classpath

    Rules for classpath reading: - IR goes to scalaJSIR - Descends into JARs - Entries stay in order of ‘cp‘, IR remains unordered - Earlier IR entries shadow later IR entries with the same relative path - JS goes to availableLibs (earlier libs take precedence) - JS_DEPENDENCIES are added to dependencies

  10. trait PhysicalFileSystem extends FileSystem

    FileSystem implementation using java.io._

Value Members

  1. object PartialClasspathBuilder

Ungrouped