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

Predicate Cached::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.

Import path

import codeql.ruby.ast.internal.AST
AstNode toGenerated(TAstNodeReal n)