Expand description
Handle syntactic aspects of inserting a new use
item.
Structs§
Enums§
- Import
Granularity - How imports should be grouped into use statements.
- Import
Scope - Prefix
Kind
Functions§
- ast_
to_ remove_ for_ path_ in_ use_ stmt - insert_
use - Insert an import path into the given file/node. A
merge
value of none indicates that no import merging is allowed to occur. - insert_
use_ as_ alias - remove_
path_ if_ in_ use_ stmt