dotty.tools.dotc.interactive.InteractiveCompiler.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-compiler_3 Show documentation
Show all versions of scala3-compiler_3 Show documentation
scala3-compiler-bootstrapped
package dotty.tools
package dotc
package interactive
import core.*
import Phases.*
import parsing.*
import typer.*
class InteractiveCompiler extends Compiler {
// TODO: Figure out what phases should be run in IDEs
// More phases increase latency but allow us to report more errors.
// This could be improved by reporting errors back to the IDE
// after each phase group instead of waiting for the pipeline to finish.
override def phases: List[List[Phase]] = List(
List(new Parser),
List(new TyperPhase),
List(new transform.SetRootTree),
List(new transform.CookComments)
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy