Import

struct Import

A parsed module import.

Properties

let symbols: ImportedSymbols

Whether the import selects a list, the module, or a recursive glob.

let path: String

The normalized module path without the selection suffix.

let path_start: Int

The reference quirk: the span runs from the path's first token to the START of the token after the path.

let path_end: Int

The exclusive ending byte offset of the path.

let local: Bool

Whether this is a local rather than package-qualified import.