scala.tools

# nsc

#### package nsc

Source
  package.scala

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. nsc
2. AnyRef
3. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Type Members

1. #### trait CommonRunner extends AnyRef

2. #### trait CompilationUnits extends AnyRef

3. #### class CompileSocket extends CompileOutputCommon

   This class manages sockets for the fsc offline compiler.

4. #### class CompilerCommand extends AnyRef

   A class representing command line info for scalac

5. #### class ConsoleWriter extends Writer

   A Writer that writes onto the Scala Console.

   A Writer that writes onto the Scala Console.

   Version

     1.0

6. #### abstract class Driver extends AnyRef

7. #### trait EvalLoop extends AnyRef

8. #### type FatalError = reflect.internal.FatalError

9. #### class GenericRunnerCommand extends CompilerCommand

   A command for ScriptRunner

10. #### class GenericRunnerSettings extends Settings

11. #### class Global extends SymbolTable with CompilationUnits with Plugins with PhaseAssembly with Trees with Printers with DocComments with Positions with Reporting with Parsing

12. #### abstract class GlobalSymbolLoaders extends SymbolLoaders

    Symbol loaders implementation that wires dependencies using Global.

13. #### trait HasCompileSocket extends AnyRef

14. #### class MainClass extends Driver with EvalLoop

    The main class for NSC, a compiler for the programming language Scala.

15. #### type MissingRequirementError = reflect.internal.MissingRequirementError

16. #### type Mode = reflect.internal.Mode

17. #### class NewLinePrintWriter extends PrintWriter

18. #### class OfflineCompilerCommand extends CompilerCommand

    A compiler command for the offline compiler.

19. #### trait Parsing extends AnyRef

    Similar to Reporting: gather global functionality specific to parsing.

20. #### type Phase = reflect.internal.Phase

21. #### trait PhaseAssembly extends AnyRef

    Converts an unordered morass of components into an order that satisfies their mutual constraints.

    Converts an unordered morass of components into an order that satisfies their mutual constraints.

    See also

      SIP 00002. You have read SIP 00002?

22. #### trait Reporting extends reflect.internal.Reporting

    Provides delegates to the reporter doing the actual work.

    Provides delegates to the reporter doing the actual work. PerRunReporting implements per-Run stateful info tracking and reporting

    TODO: make reporting configurable

23. #### class ScriptRunner extends HasCompileSocket

    An object that runs Scala code in script files.

    An object that runs Scala code in script files.

    For example, here is a complete Scala script on Unix:

           #!/bin/sh
           exec scala "$0" "$@"
           !#
           Console.println("Hello, world!")
           args.toList foreach Console.println

    And here is a batch file example on Windows XP:

           ::#!
           @echo off
           call scala %0 %*
           goto :eof
           ::!#
           Console.println("Hello, world!")
           args.toList foreach Console.println

    Version

      1.0, 15/05/2006

    To do

      It would be better if error output went to stderr instead of stdout...

24. #### class Settings extends MutableSettings

    A compatibility stub.

25. #### class StandardCompileClient extends HasCompileSocket with CompileOutputCommon

    The client part of the fsc offline compiler.

    The client part of the fsc offline compiler. Instead of compiling things itself, it send requests to a CompileServer.

26. #### class StandardCompileServer extends SocketServer

    The server part of the fsc offline compiler.

    The server part of the fsc offline compiler. It awaits compilation commands and executes them. It caches a compiler instance so that it can respond more quickly.

    Version

      1.0

27. #### abstract class SubComponent extends AnyRef

    An nsc sub-component.

28. #### type Variance = reflect.internal.Variance

### Value Members

1. #### object ClassPathMemoryConsumptionTester

   Simple application to check out amount of memory used by chosen classpath representation.

   Simple application to check out amount of memory used by chosen classpath representation. It allows us to create many scalac-like calls based on specified parameters, where each main retains Global. And we need additional tool (e.g. profiler) to measure memory consumption itself.

2. #### object CompileClient extends StandardCompileClient

3. #### object CompileServer

4. #### object CompileSocket extends CompileSocket

5. #### def EXPRmode: reflect.internal.Mode

6. #### val FatalError: reflect.internal.FatalError.type

7. #### object GenericRunnerCommand

8. #### object Global

9. #### object Main extends MainClass

10. #### object MainBench extends Driver with EvalLoop

    The main class for NSC, a compiler for the programming language Scala.

11. #### object MainTokenMetric

    The main class for NSC, a compiler for the programming language Scala.

12. #### val MissingRequirementError: reflect.internal.MissingRequirementError.type

13. #### val Mode: reflect.internal.Mode.type

14. #### val NoPhase: reflect.internal.NoPhase.type

15. #### object ObjectRunner extends CommonRunner

    An object that runs another object specified by name.

    An object that runs another object specified by name.

    Version

      1.1, 2007/7/13

16. #### object Properties extends PropertiesTrait

    Loads `compiler.properties` from the jar archive file.

17. #### object ScriptRunner extends ScriptRunner

18. #### val Variance: reflect.internal.Variance.type

19. #### package ast

20. #### package backend

21. #### package classpath

22. #### package io

23. #### package javac

24. #### package plugins

25. #### package reporters

26. #### package settings

27. #### package symtab

28. #### package transform

29. #### package typechecker

30. #### package util

### Deprecated Value Members

1. #### lazy val ListOfNil: List[List[Nothing]]

   Annotations
     @deprecated
   Deprecated

     (Since version 2.11.0) Use scala.reflect.internal.util.ListOfNil

### Inherited from AnyRef

### Inherited from Any

### Ungrouped