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

Class Raw::Module

INTERNAL: Do not use. A module declaration. For example:

mod foo;
mod bar {
    pub fn baz() {}
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getItemList

Gets the item list of this module, if it exists.

getName

Gets the name of this module, if it exists.

getNumberOfAttrs

Gets the number of attrs of this module.

getVisibility

Gets the visibility of this module, if it exists.

toString

Inherited predicates

getAttributeMacroExpansion

Gets the attribute macro expansion of this item, if it exists.

from Item