Predicate getImmediateParent
Gets the βimmediateβ parent of e
. βImmediateβ means not taking into account node resolution: for example
if e
has conversions, getImmediateParent(e)
will give the innermost conversion in the hidden AST.
Import path
import codeql.rust.elements.internal.generated.ParentChild