TreeNodeChecker
dotty.tools.dotc.transform.TreeChecker$.TreeNodeChecker$
object TreeNodeChecker extends TreeTraverser
Run some additional checks on the nodes of the trees. Specifically:
- TypeTree can only appear in TypeApply args, New, Typed tpt, Closure tpt, SeqLiteral elemtpt, ValDef tpt, DefDef tpt, and TypeDef rhs.
Attributes
- Graph
-
- Supertypes
- Self type
-
TreeNodeChecker.type
Members list
In this article