CodeQL library for C/C++
codeql/cpp-all 2.0.2 (changelog, source)
Search

Member predicate PrintAstNode::getChildAccessorPredicate

Gets the QL predicate that can be used to access the child at childIndex. May not always return a QL predicate, see for example FunctionNode.

string getChildAccessorPredicate(int childIndex)