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

Class Raw::ExternCrate

INTERNAL: Do not use. An extern crate declaration.

For example:

extern crate serde;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getIdentifier

Gets the identifier of this extern crate, if it exists.

getNumberOfAttrs

Gets the number of attrs of this extern crate.

getRename

Gets the rename of this extern crate, if it exists.

getVisibility

Gets the visibility of this extern crate, if it exists.

toString

Inherited predicates

getAttributeMacroExpansion

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

from Item