All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty.tools.dotc.interactive.InteractiveCompiler.scala Maven / Gradle / Ivy

There is a newer version: 3.6.4-RC1-bin-20241220-0bfa1af-NIGHTLY
Show newest version
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