pmd-lang-test / net.sourceforge.pmd.lang.ast.test / net.sourceforge.pmd.lang.ast.Node / shouldMatchNode

shouldMatchNode

inline fun <reified N : Node> Node?.shouldMatchNode(ignoreChildren: Boolean = false, noinline nodeSpec: NodeSpec<N>): Unit

A shorthand for baseShouldMatchSubtree providing the NodeTreeLikeAdapter.