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

Class Raw::PrefixExpr

INTERNAL: Do not use. A unary operation expression. For example:

let x = -42;
let y = !true;
let z = *ptr;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

Gets the expression of this prefix expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this prefix expression.

getOperatorName

Gets the operator name of this prefix expression, if it exists.

toString