dotty.tools.repl.ReplCompiler
See theReplCompiler companion object
class ReplCompiler extends Compiler
This subclass of Compiler
is adapted for use in the REPL.
- compiles parsed expression in the current REPL state:
- adds the appropriate imports in scope
- wraps expressions into a dummy object
- provides utility to query the type of an expression
- provides utility to query the documentation of an expression
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article