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

Class Raw::SourceFile

INTERNAL: Do not use. A source file.

For example:

// main.rs
fn main() {}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getItem

Gets the indexth item of this source file (0-based).

getNumberOfAttrs

Gets the number of attrs of this source file.

getNumberOfItems

Gets the number of items of this source file.

toString