CodeQL library for Rust
codeql/rust-all 0.1.11 (changelog, source)
Search

Class PrintAstNode::PrintLocatable

A graph node representing a real Locatable node.

Import path

import codeql.rust.printast.PrintAstNode

Direct supertypes

Indirect supertypes

Fields

Predicates

getAstNode

Gets the underlying AST node, if any.

getLocation

Gets the location of this node in the source code.

hasChild

Gets the child node at index index. Child indices must be unique, but need not be contiguous.

toString

Gets a textual representation of this node.

Inherited predicates

getProperty

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

from PrintAstNode

Charpred