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

Class Impl::ArgumentPosition

An argument position in a call.

Import path

import codeql.rust.elements.internal.InvocationExprImpl

Direct supertypes

Predicates

asPosition

Gets the index of the argument in the call, if this is a positional argument.

isSelf

Holds if this call position is a self argument.

isTypeQualifier

Holds if this call position is a type qualifier, that is, not an actual argument, but rather an annotation that is needed to resolve the call target, just like actual arguments may be needed to resolve the call target.

toString

Gets a string representation of this argument position.