replpp.util
Members list
Type members
Classlikes
A simple cache for cacheKey
-> Path
, where Path
is a single file
A simple cache for cacheKey
-> Path
, where Path
is a single file
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Cache.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ClasspathHelper.type
Compiles input files to a temporary directory
Compiles input files to a temporary directory
TODO: use a VirtualDirectory for the output - I didn't manage to find a good way to pass those to the Context of the DottyReplDriver yet... val virtualDirectory = new VirtualDirectory("(virtual)") val cp = ClassPathFactory.newClassPath(virtualDirectory)
TODO: cache results i.e. store hash of all inputs? that functionality must exist somewhere already, e.g. zinc incremental compiler, or even in dotty itself?
Attributes
- Supertypes
-
class Driverclass Objecttrait Matchableclass Any
Value members
Concrete methods
Lookup the current terminal width - useful e.g. if you want to render something using the maximum space available. Uses jline-jna, which therefor needs to be in the repl's classpath, which is why it's listed in
Lookup the current terminal width - useful e.g. if you want to render something using the maximum space available. Uses jline-jna, which therefor needs to be in the repl's classpath, which is why it's listed in
replpp.Config.ForClasspath.DefaultInheritClasspathIncludes