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

Class PrintRegularAstNode

An AstNode in the output tree.

Import path

import codeql.ruby.printAst

Direct supertypes

Indirect supertypes

Fields

Predicates

getChild

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

getLocation

Gets the location of this node.

getOrder

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

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.

Inherited predicates

getAChild

Gets a child of this node.

from PrintAstNode
getParent

Gets the parent of this node, if any.

from PrintAstNode
getProperty

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

from PrintAstNode

Charpred