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

Class PrintAstNode

A node in the output tree.

Import path

import codeql.ruby.printAst

Direct supertypes

Known direct subtypes

Predicates

getAChild

Gets a child of this node.

getChild

Gets the child node with name edgeName. Typically this is the name of the predicate used to access the child.

getOrder

Gets a value used to order this node amongst its siblings.

getParent

Gets the parent of this node, if any.

getProperty

Gets the value of the property of this node, where the name of the property is key.

hasLocationInfo

Holds if this node is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

toString

Gets a textual representation of this node in the PrintAst output tree.