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

Class Raw::CallExpr

INTERNAL: Do not use. NOTE: Consider using Call instead, as that excludes call expressions that are instantiations of tuple structs and tuple variants.

A call expression. For example:

foo(42);
foo::<u32, u64>(42);
foo[0](42);
Option::Some(42); // tuple variant instantiation

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getArgList

Gets the argument list of this call expression, if it exists.

getAttr

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

getFunction

Gets the function of this call expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this call expression.

toString