This module provides the generated parent/child relationship.
Import path
import codeql.rust.elements.internal.generated.ParentChild
Imports
| ArrayExprInternal | This module provides the class ArrayExprInternal.
|
| ExtractorStep | This module provides the class ExtractorStep.
|
| NamedCrate | This module provides the class NamedCrate.
|
| elements | This module exports all modules providing Element subclasses.
|
Predicates
| getChild | Gets the child indexed at index. Indexes are not guaranteed to be contiguous, but are guaranteed to be distinct. accessor is bound the member predicate call resulting in the given child.
|
| getChildAndAccessor | Gets the child indexed at index. Indexes are not guaranteed to be contiguous, but are guaranteed to be distinct. accessor is bound the member predicate call resulting in the given child.
|
| getImmediateChild | Gets the immediate child indexed at index. Indexes are not guaranteed to be contiguous, but are guaranteed to be distinct.
|
| getImmediateChildAndAccessor | Gets the immediate child indexed at index. Indexes are not guaranteed to be contiguous, but are guaranteed to be distinct. accessor is bound the member predicate call resulting in the given child.
|
| 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.
|