Skip to content

ImportItem

An item bound from a module, as in import foo: - bar.

Inherits from: Import

Fields

is_pub @ Bool [get]

Whether the item was imported pub.

item @ Span [get]

The span of the item name within the module.

type_only @ Bool [get]

Whether the item was imported with @, for types only. Such an item binds no variable.