Scala Compiler2.13.5 < 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 interpreter
  Definition Classes
    nsc
-  package jline
  Definition Classes
    interpreter
-  package shell
  Definition Classes
    interpreter
- Accumulator
- Completion
- CompletionResult
- History
- ILoop
- InteractiveReader
- Javap
- Javap8
- Javap9
- JavapClass
- JavapProvider
- JavapTask
- JavapTool
- Logger
- LoopCommands
- MultiCompletion
- NoCompletion
- NoCompletions
- NoHistory
- Parsed
- Pasted
- ProcessResult
- ReplCompletion
- ReplReporterImpl
- Scripted
- ShellConfig
- SimpleHistory
- SimpleReader
- Tabulator
- VariColumnTabulator
- WriterOutputStream

p

scala.tools.nsc.interpreter

# shell

#### package shell

Content Hierarchy

Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  class Accumulator extends AnyRef

   Accumulate multi-line input.

   Accumulate multi-line input. Shared by Reader and Completer, which must parse accumulated result.

2.  trait Completion extends AnyRef
3.  case class CompletionResult(cursor: Int, candidates: List[CompletionCandidate]) extends Product with Serializable
4.  trait History extends AnyRef

   Support for adding to history and retrieving it.

5.  class ILoop extends LoopCommands

   The Scala interactive shell.

   The Scala interactive shell. This part provides the user interface, with evaluation and auto-complete handled by IMain.

   There should be no direct dependency of this code on the compiler; it should all go through the `intp` reference to the interpreter, or maybe eventually even over the wire to a remote compiler.

6.  trait InteractiveReader extends AnyRef

   Reads lines from an input stream

7.  abstract class Javap extends AnyRef
8.  class Javap8 extends Javap

   Loaded reflectively under JDK8 to locate tools.jar and load JavapTask tool.

9.  class Javap9 extends Javap

   Loaded reflectively under JDK9 to load JavapTask tool.

10.  class JavapClass extends AnyRef

    Javap command implementation.

11.  class JavapProvider extends Javap

    Loaded reflectively under JDK9 to locate ToolProvider.

12.  class JavapTask extends JavapTool
13.  abstract class JavapTool extends AnyRef

    The task or tool provider.

14.  trait Logger extends AnyRef
15.  trait LoopCommands extends AnyRef
16.  case class MultiCompletion(underlying: Completion*) extends Completion with Product with Serializable
17.  class Parsed extends AnyRef

    One instance of a command buffer.

18.  abstract class Pasted extends AnyRef

    If it looks like they're pasting in a scala interpreter transcript, remove all the formatting we inserted so we can make some sense of it.

    If it looks like they're pasting in a scala interpreter transcript, remove all the formatting we inserted so we can make some sense of it.

    Most of the interesting code in here is due to my goal of "paste idempotence" i.e. the transcript resulting from pasting a transcript should itself be pasteable and should achieve the same result.

19.  class ProcessResult extends AnyRef
20.  class ReplCompletion extends Completion

    Completion for the REPL.

21.  class ReplReporterImpl extends FilteringReporter with ReplReporter
22.  class Scripted extends AbstractScriptEngine with Compilable
23.  trait ShellConfig extends AnyRef
24.  class SimpleHistory extends History
25.  class SimpleReader extends InteractiveReader

    Reads using standard JDK API.

26.  trait Tabulator extends AnyRef
27.  trait VariColumnTabulator extends Tabulator

    Adjust the column width and number of columns to minimize the row count.

28.  class WriterOutputStream extends OutputStream

### Value Members

1.  object CompletionResult extends java.io.Serializable
2.  object ILoop
3.  object InteractiveReader
4.  object Javap
5.  object JavapClass
6.  object JavapTask
7.  object JavapTool
8.  object NoCompletion extends Completion
9.  object NoCompletions extends CompletionResult
10.  object NoHistory extends History
11.  object Parsed
12.  object ReplReporterImpl
13.  object Scripted
14.  object ShellConfig
15.  object SimpleReader

### Ungrouped