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

Class Raw::ParamList

INTERNAL: Do not use. A list of parameters in a function, method, or closure declaration.

For example:

fn foo(x: i32, y: i32) {}
//      ^^^^^^^^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getNumberOfParams

Gets the number of parameters of this parameter list.

getParam

Gets the indexth parameter of this parameter list (0-based).

getSelfParam

Gets the self parameter of this parameter list, if it exists.

toString