Scala Compiler2.12.2-20170504-135222-21d12e9 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package ast
  Definition Classes
    nsc
-  package backend
  Definition Classes
    nsc
-  package classpath
  Definition Classes
    nsc
- AggregateClassPath
- ClassFileEntry
- ClassPathEntries
- ClassPathFactory
- DirectoryClassPath
- DirectoryLookup
- DirectorySourcePath
- FileUtils
- JFileDirectoryLookup
- JrtClassPath
- PackageEntry
- PackageNameUtils
- SourceFileEntry
- VirtualDirectoryClassPath
- ZipAndJarClassPathFactory
- ZipAndJarFileLookupFactory
- ZipAndJarSourcePathFactory
- ZipArchiveFileLookup
-  package doc
  Definition Classes
    nsc
-  package interactive
  Definition Classes
    nsc
-  package interpreter

  The main REPL related classes and values are as follows.

  The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

  History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

  ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

  Definition Classes
    nsc
-  package io
  Definition Classes
    nsc
-  package javac
  Definition Classes
    nsc
-  package plugins
  Definition Classes
    nsc
-  package reporters
  Definition Classes
    nsc
-  package settings
  Definition Classes
    nsc
-  package symtab
  Definition Classes
    nsc
-  package transform
  Definition Classes
    nsc
-  package typechecker
  Definition Classes
    nsc
-  package util
  Definition Classes
    nsc

p

scala.tools.nsc

# classpath 

#### package classpath

Content Hierarchy
 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  case class AggregateClassPath (aggregates: Seq[ClassPath]) extends ClassPath with Product with Serializable

   A classpath unifying multiple class- and sourcepath entries.

   A classpath unifying multiple class- and sourcepath entries. The Classpath can obtain entries for classes and sources independently so it tries to do operations quite optimally - iterating only these collections which are needed in the given moment and only as far as it's necessary.

   aggregates

     classpath instances containing entries which this class processes

2.  trait ClassFileEntry extends ClassRepresentation
3.  case class ClassPathEntries (packages: Seq[PackageEntry], classesAndSources: Seq[ClassRepresentation]) extends Product with Serializable
4.  class ClassPathFactory extends AnyRef

   Provides factory methods for classpath.

   Provides factory methods for classpath. When creating classpath instances for a given path, it uses proper type of classpath depending on a types of particular files containing sources or classes.

5.  case class DirectoryClassPath (dir: File) extends JFileDirectoryLookup[ClassFileEntryImpl] with NoSourcePaths with Product with Serializable
6.  trait DirectoryLookup [FileEntryType <: ClassRepresentation] extends ClassPath

   A trait allowing to look for classpath entries in directories.

   A trait allowing to look for classpath entries in directories. It provides common logic for classes handling class and source files. It makes use of the fact that in the case of nested directories it's easy to find a file when we have a name of a package. It abstracts over the file representation to work with both JFile and AbstractFile.

7.  case class DirectorySourcePath (dir: File) extends JFileDirectoryLookup[SourceFileEntryImpl] with NoClassPaths with Product with Serializable
8.  trait JFileDirectoryLookup [FileEntryType <: ClassRepresentation] extends DirectoryLookup[FileEntryType]
9.  final class JrtClassPath extends ClassPath with NoSourcePaths

   Implementation `ClassPath` based on the JDK 9 encapsulated runtime modules (JEP-220)

   Implementation `ClassPath` based on the JDK 9 encapsulated runtime modules (JEP-220)

   https://bugs.openjdk.java.net/browse/JDK-8066492 is the most up to date reference for the structure of the jrt:// filesystem.

   The implementation assumes that no classes exist in the empty package.

10.  trait PackageEntry extends AnyRef
11.  trait SourceFileEntry extends ClassRepresentation
12.  case class VirtualDirectoryClassPath (dir: VirtualDirectory) extends ClassPath with DirectoryLookup[ClassFileEntryImpl] with NoSourcePaths with Product with Serializable
13.  sealed trait ZipAndJarFileLookupFactory extends AnyRef

    A trait providing an optional cache for classpath entries obtained from zip and jar files.

    A trait providing an optional cache for classpath entries obtained from zip and jar files. It's possible to create such a cache assuming that entries in such files won't change (at least will be the same each time we'll load classpath during the lifetime of JVM process) - unlike class and source files in directories, which can be modified and recompiled. It allows us to e.g. reduce significantly memory used by PresentationCompilers in Scala IDE when there are a lot of projects having a lot of common dependencies.

14.  trait ZipArchiveFileLookup [FileEntryType <: ClassRepresentation] extends ClassPath

    A trait allowing to look for classpath entries of given type in zip and jar files.

    A trait allowing to look for classpath entries of given type in zip and jar files. It provides common logic for classes handling class and source files. It's aware of things like e.g. META-INF directory which is correctly skipped.

### Value Members

1.  object AggregateClassPath extends Serializable
2.  object ClassPathEntries extends Serializable
3.  object ClassPathFactory
4.  object FileUtils

   Common methods related to Java files and abstract files used in the context of classpath

5.  object JrtClassPath
6.  object PackageNameUtils

   Common methods related to package names represented as String

7.  object ZipAndJarClassPathFactory extends ZipAndJarFileLookupFactory

   Manages creation of classpath for class files placed in zip and jar files.

   Manages creation of classpath for class files placed in zip and jar files. It should be the only way of creating them as it provides caching.

8.  object ZipAndJarSourcePathFactory extends ZipAndJarFileLookupFactory

   Manages creation of classpath for source files placed in zip and jar files.

   Manages creation of classpath for source files placed in zip and jar files. It should be the only way of creating them as it provides caching.

### Ungrouped