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

Class Raw::MethodCallExpr

INTERNAL: Do not use. NOTE: Consider using MethodCall instead, as that also includes calls to methods using call syntax (such as Foo::method(x)), operation syntax (such as x + y), and indexing syntax (such as x[y]).

A method call expression. For example:

x.foo(42);
x.foo::<u32, u64>(42);

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getArgList

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

getAttr

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

getGenericArgList

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

getIdentifier

Gets the identifier of this method call expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this method call expression.

getReceiver

Gets the receiver of this method call expression, if it exists.

toString