CodeQL library for Ruby
codeql/ruby-all 4.1.4-dev (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)