Member predicate Element::Element::hasChildElement

Holds if this element is the immediate parent of the specified element e.

It is usually preferable to use more specific predicates such as getEnclosingCallable(), getDeclaringType() and/or getEnclosingType() instead of this general predicate.

predicate hasChildElement(Element e)