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

Module Ruby::PrintAst

Provides predicates for mapping AST nodes to their named children.

Import path

import codeql.ruby.ast.internal.TreeSitter

Predicates

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).