CodeQL library for Swift
codeql/swift-all 6.2.3 (changelog, source)
Search

Member predicate PrintAstNode::hasChild

Gets the child node at index index. Child indices must be unique, but need not be contiguous.

predicate hasChild(PrintAstNode child, int index, string label)