blob: 791e8899de6dcfc94847e01efa755888ac43c20c (
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")
}
|