package nsc
- Source
- package.scala
- Alphabetic
- By Inheritance
- nsc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
class
CloseableRegistry extends AnyRef
Registry for resources to close when
Global
is closed - trait CommonRunner extends AnyRef
- trait CompilationUnits extends AnyRef
-
class
CompileSocket extends CompileOutputCommon
This class manages sockets for the fsc offline compiler.
-
class
CompilerCommand extends AnyRef
A class representing command line info for scalac
-
class
ConsoleWriter extends Writer
A Writer that writes onto the Scala Console.
A Writer that writes onto the Scala Console.
- Version
1.0
- abstract class Driver extends AnyRef
- trait EvalLoop extends AnyRef
- type FatalError = reflect.internal.FatalError
-
class
GenericRunnerCommand extends CompilerCommand
A command for ScriptRunner
- class GenericRunnerSettings extends Settings
- class Global extends SymbolTable with Closeable with CompilationUnits with Plugins with PhaseAssembly with Trees with Printers with DocComments with Positions with Reporting with Parsing
-
abstract
class
GlobalSymbolLoaders extends SymbolLoaders
Symbol loaders implementation that wires dependencies using Global.
- trait HasCompileSocket extends AnyRef
-
class
MainClass extends Driver with EvalLoop
The main class for NSC, a compiler for the programming language Scala.
-
class
MainGenericRunner extends AnyRef
An object that runs Scala code.
An object that runs Scala code. It has three possible sources for the code to run: pre-compiled code, a script file, or interactive entry.
- type MissingRequirementError = reflect.internal.MissingRequirementError
- type Mode = reflect.internal.Mode
- class NewLinePrintWriter extends PrintWriter
-
class
OfflineCompilerCommand extends CompilerCommand
A compiler command for the offline compiler.
-
trait
Parsing extends AnyRef
Similar to Reporting: gather global functionality specific to parsing.
- type Phase = reflect.internal.Phase
-
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?
- class PipelineMainClass extends AnyRef
-
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
-
class
ScalaDoc extends AnyRef
The main class for scaladoc, a front-end for the Scala compiler that generates documentation from source files.
-
class
ScalaDocReporter extends ConsoleReporter
The Scaladoc reporter adds summary messages to the
ConsoleReporter
The Scaladoc reporter adds summary messages to the
ConsoleReporter
Use the
summaryX
methods to add unique summarizing message to the end of the run. -
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...
-
class
Settings extends MutableSettings
A compatibility stub.
-
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.
-
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
-
abstract
class
SubComponent extends AnyRef
An nsc sub-component.
- type Variance = reflect.internal.Variance
-
class
Interpreter extends IMain
A compatibility stub.
A compatibility stub.
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use a class in the scala.tools.nsc.interpreter package.
-
class
InterpreterLoop extends ILoop
A compatibility stub for sbt.
A compatibility stub for sbt.
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use scala.tools.nsc.interpreter.ILoop.
Value Members
- def EXPRmode: reflect.internal.Mode
- val FatalError: reflect.internal.FatalError.type
- val MissingRequirementError: reflect.internal.MissingRequirementError.type
- val Mode: reflect.internal.Mode.type
- val NoPhase: reflect.internal.NoPhase.type
- val Variance: reflect.internal.Variance.type
-
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.
- object CompileClient extends StandardCompileClient
- object CompileServer
- object CompileSocket extends CompileSocket
- object GenericRunnerCommand
- object Global
- object JarRunner extends CommonRunner
- object Main extends MainClass
-
object
MainBench extends Driver with EvalLoop
The main class for NSC, a compiler for the programming language Scala.
- object MainGenericRunner extends MainGenericRunner
-
object
MainTokenMetric
The main class for NSC, a compiler for the programming language Scala.
-
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
- object PickleExtractor
- object PipelineMain
-
object
Properties extends PropertiesTrait
Loads
compiler.properties
from the jar archive file. - object Reporting
- object ScalaDoc extends ScalaDoc
- object ScriptRunner extends ScriptRunner
The Scala compiler and reflection APIs.