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

Class LocalNameBinding::Local

A locally declared entity, for example a variable or a parameter.

Import path

import codeql.namebinding.LocalNameBinding

Direct supertypes

Predicates

getAnAccess

Gets an access to this local entity.

getDefiningNode

Gets the AST node that defines this local entity, if any.

getLocation

Gets the location of this local entity.

getName

Gets the name of this local entity.

getScope

Gets the AST node that defines the scope of this local entity.

toString

Gets a textual representation of this local entity.