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

Class Raw::Param

INTERNAL: Do not use. A parameter in a function or method. For example x in:

fn new(x: T) -> Foo<T> {
  // ...
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getPat

Gets the pattern of this parameter, if it exists.

toString

Inherited predicates

getAttr

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

from ParamBase
getNumberOfAttrs

Gets the number of attrs of this parameter base.

from ParamBase
getTypeRepr

Gets the type representation of this parameter base, if it exists.

from ParamBase