Expand description
Handle syntactic aspects of inserting a new use item.
Structsยง
Enumsยง
- Import
Granularity - How imports should be grouped into use statements.
- Import
Granularity ๐Guess - Import
Group ๐ - Import
Scope Kind - Prefix
Kind
Functionsยง
- guess_
granularity_ ๐from_ scope - insert_
use_ as_ alias_ with_ editor - insert_
use_ ๐with_ alias_ option_ with_ editor - insert_
use_ with_ editor - Insert an import path into the given file/node. A
mergevalue of none indicates that no import merging is allowed to occur. - insert_
use_ ๐with_ editor_ - insert_
uses_ with_ editor - is_
inner_ ๐attribute - remove_
use_ tree_ if_ simple