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.4.2/compiler/src/dotty/tools/repl/ReplDriver.scala Main REPL instance, orchestrating input, compilation and presentation
Based on https://github.com/lampepfl/dotty/blob/3.4.2/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.4.1/compiler/src/dotty/tools/repl/JLineTerminal.scala and adapted for our needs
Based on https://github.com/lampepfl/dotty/blob/3.4.1/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.4.1/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala and adapted for our needs
Based on https://github.com/lampepfl/dotty/blob/3.4.1/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
precompile given predef files (if any) and update Config to include the results in the classpath
precompile given predef files (if any) and update Config to include the results in the classpath
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
- if the base path is a file, take it's root directory - anything else doesn't make any sense.
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