Package

org.scalajs.core.tools.classpath

builder

Permalink

package builder

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractJarLibClasspathBuilder extends JarTraverser

    Permalink

    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

    Permalink
  3. trait ClasspathContentHandler extends AnyRef

    Permalink

    Base-trait used by traversers to handle content with callbacks

  4. trait ClasspathElementsTraverser extends JarTraverser with DirTraverser with FileSystem

    Permalink

    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

    Permalink
  6. trait FileSystem extends AnyRef

    Permalink

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

  7. class JarLibClasspathBuilder extends AbstractJarLibClasspathBuilder with PhysicalFileSystem

    Permalink
  8. trait JarTraverser extends ClasspathContentHandler with FileSystem

    Permalink
  9. class PartialClasspathBuilder extends AbstractPartialClasspathBuilder with PhysicalFileSystem

    Permalink

    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

    Permalink

    FileSystem implementation using java.io._

Value Members

  1. object PartialClasspathBuilder

    Permalink

Ungrouped