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

Class Raw::PathExpr

INTERNAL: Do not use. A path expression. For example:

let x = variable;
let x = foo::bar;
let y = <T>::foo;
let z = <TypeRepr as Trait>::foo;

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this path expression (0-based).

getNumberOfAttrs

Gets the number of attrs of this path expression.

toString

Inherited predicates

getPath

Gets the path of this path ast node, if it exists.

from PathAstNode