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

Predicate Ruby::PrintAst::getChild

Gets a child of node returned by the member predicate with the given name. If the predicate takes an index argument, i is bound to that index, otherwise i is -1 (which is never a valid index).

Import path

import codeql.ruby.ast.internal.TreeSitter
AstNode getChild(AstNode node, string name, int i)