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

Class Raw::CastExpr

INTERNAL: Do not use. A type cast expression. For example:

value as u64;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

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

getNumberOfAttrs

Gets the number of attrs of this cast expression.

getTypeRepr

Gets the type representation of this cast expression, if it exists.

toString