CodeQL library for Ruby
codeql/ruby-all 5.1.11 (changelog, source)
Search

Predicate Cached::synthChild

Holds if the ith child of parent is child. Either parent or child (or both) is a synthesized node.

Import path

import codeql.ruby.ast.internal.AST
predicate synthChild(AstNode parent, int i, AstNode child)