dotty.tools.dotc.decompiler.TASTYDecompiler.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.dotc.decompiler
import dotty.tools.dotc.fromtasty.*
import dotty.tools.dotc.core.Phases.Phase
/** Compiler from tasty to user readable high text representation
* of the compiled scala code.
*
* @author Nicolas Stucki
*/
class TASTYDecompiler extends TASTYCompiler {
override protected def frontendPhases: List[List[Phase]] =
List(new ReadTasty) :: // Load trees from TASTY files
Nil
override protected def picklerPhases: List[List[Phase]] = Nil
override protected def transformPhases: List[List[Phase]] = Nil
override protected def backendPhases: List[List[Phase]] =
List(new DecompilationPrinter) :: // Print all loaded classes
Nil
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy