package shell
- Alphabetic
- Public
- Protected
Type Members
- class AbstractFileObject extends SimpleJavaFileObject
- class Accumulator extends AnyRef
Accumulate multi-line input.
Accumulate multi-line input. Shared by Reader and Completer, which must parse accumulated result.
- trait Completion extends AnyRef
- case class CompletionResult(line: String, cursor: Int, candidates: List[CompletionCandidate], typeAtCursor: String = "", typedTree: String = "") extends Product with Serializable
- trait History extends AnyRef
Support for adding to history and retrieving it.
- 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. - trait InteractiveReader extends AnyRef
Reads lines from an input stream
- class JavaReporter extends DiagnosticListener[JavaFileObject] with Clearable
- class JavaToolFileManager extends ForwardingJavaFileManager[JavaFileManager]
- class JavacTool extends AnyRef
- abstract class Javap extends AnyRef
- class Javap8 extends Javap
Loaded reflectively under JDK8 to locate tools.jar and load JavapTask tool.
- class Javap9 extends Javap
Loaded reflectively under JDK9 to load JavapTask tool.
- class JavapClass extends AnyRef
Javap command implementation.
- class JavapProvider extends Javap
Loaded reflectively under JDK9 to locate ToolProvider.
- class JavapTask extends JavapTool
- abstract class JavapTool extends AnyRef
The task or tool provider.
- trait Logger extends AnyRef
- trait LoopCommands extends AnyRef
- case class MultiCompletion(underlying: Completion*) extends Completion with Product with Serializable
- class Parsed extends AnyRef
One instance of a command buffer.
- 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.
- class ProcessResult extends AnyRef
- class ReplCompletion extends Completion
Completion for the REPL.
- class ReplReporterImpl extends FilteringReporter with ReplReporter
- class Scripted extends AbstractScriptEngine with Compilable
- trait ShellConfig extends AnyRef
- class SimpleHistory extends History
- class SimpleReader extends InteractiveReader
Reads using standard JDK API.
- class StringFileObject extends SimpleJavaFileObject
- trait Tabulator extends AnyRef
- trait VariColumnTabulator extends Tabulator
Adjust the column width and number of columns to minimize the row count.
- class WriterOutputStream extends OutputStream
Value Members
- object AbstractFileObject
- object CompletionResult extends java.io.Serializable
- object ILoop
- object InteractiveReader
- object JavacTool
- object Javap
- object JavapClass
- object JavapTask
- object JavapTool
- object NoCompletion extends Completion
- object NoCompletions extends CompletionResult
- object NoHistory extends History
- object Parsed
- object ReplReporterImpl
- object Scripted
- object ShellConfig
- object SimpleReader
- object StringFileObject
The Scala compiler and reflection APIs.