package nsc
- Alphabetic
- By Inheritance
- nsc
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package ast
- package backend
- package classpath
- package doc
- package fsc
- package interactive
- package interpreter
- package io
- package javac
- package plugins
- package profile
- package reporters
- package settings
- package symtab
- package tasty
- package transform
- package typechecker
- package util
Type Members
- abstract class AbstractScriptRunner extends ScriptRunner
- final class CloseableRegistry extends Closeable
Registry for resources to close when
Global
is closed - trait CommonRunner extends AnyRef
- trait CompilationUnits extends AnyRef
- class CompilerCommand extends AnyRef
A class representing command line info for scalac
- class ConsoleWriter extends Writer
A Writer that writes onto the Scala Console.
- class DefaultScriptRunner extends AbstractScriptRunner
- 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.
- 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
- 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. - trait ScriptRunner extends AnyRef
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
- To do
It would be better if error output went to stderr instead of stdout...
- class Settings extends MutableSettings
A compatibility stub.
- abstract class SubComponent extends AnyRef
Compilation is split into phases and the sub-components of the compiler define such phases.
- type Variance = reflect.internal.Variance
Deprecated Type Members
- class Interpreter extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use a class in the scala.tools.nsc.interpreter package.
- class InterpreterLoop extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use a class in the scala.tools.nsc.interpreter package.
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
- implicit val strip margin: (StringContext) => StringContextStripMarginOps
Adds the
sm
interpolator to a scala.StringContext. - 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 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 NoScriptError extends ControlThrowable
- object ObjectRunner extends CommonRunner
An object that runs another object specified by name.
- object PickleExtractor
- object PipelineMain
- object Properties extends PropertiesTrait
Loads
compiler.properties
from the jar archive file. - object Reporting
- object ScalaDoc extends ScalaDoc
- object ScriptCompileError extends ControlThrowable
- object ScriptRunner
The Scala compiler and reflection APIs.