blob: 9c14314594ccbe6cbb351de4b9efc223c24c8df0 (
plain) (
tree)
|
|
package dotty.tools
package dotc
import util.SourceFile
import ast.{tpd, untpd}
class CompilationUnit(val source: SourceFile) {
override def toString = source.toString
var untpdTree: untpd.Tree = untpd.EmptyTree
var tpdTree: tpd.Tree = tpd.EmptyTree
def isJava = source.file.name.endsWith(".java")
}
|