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

Module Cached

Import path

import codeql.ruby.ast.internal.AST

Predicates

getLocation
getSynthChild

Gets the ith synthesized child of parent.

lhsExpr
synthChild

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

toGenerated

Gets the underlying TreeSitter entity for a given AST node. This does not include synthesized AST nodes, because they are not the primary AST node for any given generated node.

toGeneratedInclSynth

Like toGenerated, but also returns generated nodes for synthesized AST nodes.

Datatypes