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

Class Ruby::AstNode

The base class for all AST nodes

Import path

import codeql.ruby.ast.internal.TreeSitter

Direct supertypes

Known direct subtypes

Predicates

getAFieldOrChild

Gets a field or child node of this node.

getAPrimaryQlClass

Gets the name of the primary QL class for this element.

getLocation

Gets the location of this element.

getParent

Gets the parent of this element.

getParentIndex

Gets the index of this node among the children of its parent.

getPrimaryQlClasses

Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

toString

Gets a string representation of this element.