replpp
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Dependencies.type
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC5/compiler/src/dotty/tools/repl/ReplDriver.scala Main REPL instance, orchestrating input, compilation and presentation
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC5/compiler/src/dotty/tools/repl/ReplDriver.scala Main REPL instance, orchestrating input, compilation and presentation
Attributes
- Supertypes
-
class Driverclass Objecttrait Matchableclass Any
- Known subtypes
-
class ReplDriverBaseclass ReplDriver
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InteractiveShell.type
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC6/compiler/src/dotty/tools/repl/JLineTerminal.scala and adapted for our needs
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC6/compiler/src/dotty/tools/repl/JLineTerminal.scala and adapted for our needs
Attributes
- Supertypes
-
trait Closeabletrait AutoCloseableclass Objecttrait Matchableclass Any
Operators to redirect output to files or pipe them into external commands / processes, inspired by unix shell redirection and pipe operators: >
, >>
and |
. Naming convention: similar to scala.sys.process we prefix all operators with #
to avoid naming clashes with more basic operators like >
for greater-than-comparisons.
Operators to redirect output to files or pipe them into external commands / processes, inspired by unix shell redirection and pipe operators: >
, >>
and |
. Naming convention: similar to scala.sys.process we prefix all operators with #
to avoid naming clashes with more basic operators like >
for greater-than-comparisons.
They are declared as extension types for Any
and pretty-print the results using our PPrinter
. List types (IterableOnce, java.lang.Iterable, Array, ...) are being unwrapped (only at the root level).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Operators.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PPrinter.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Rendering.type
Attributes
- Supertypes
-
class ReplDriverBaseclass DottyReplDriverclass Driverclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class ReplDriver
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC6/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala * and adapted for our needs
Based on https://github.com/lampepfl/dotty/blob/3.3.0-RC6/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala * and adapted for our needs
This object provides functions for syntax highlighting in the REPL
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SyntaxHighlighting.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UsingDirectives.type
Value members
Concrete methods
Concatenates the classpath from multiple sources, each are required for different scenarios:
Concatenates the classpath from multiple sources, each are required for different scenarios:
java.class.path
system property- dependency artifacts as passed via (command-line) configuration
- jars from current class loader (recursively)
To have reproducable results, we order the classpath entries. This may interfere with the user's deliberate choice of order, but since we need to concatenate the classpath from different sources, the user can't really depend on the order anyway.
Attributes
resolve absolute or relative paths to an absolute path
resolve absolute or relative paths to an absolute path
- if given pathStr is an absolute path, just take that
- if it's a relative path, use given base path to resolve it to an absolute path
Attributes
verbose mode can either be enabled via the config, or the environment variable SCALA_REPL_PP_VERBOSE=true
verbose mode can either be enabled via the config, or the environment variable SCALA_REPL_PP_VERBOSE=true
Attributes
Concrete fields
The user's home directory
The user's home directory
Attributes
The current working directory for this process.
The current working directory for this process.