Expand description
Format attributes and meta items.
Modulesยง
- doc_
comment ๐
Traitsยง
- Meta
Visitor ๐
Functionsยง
- argument_
shape ๐ - attr_
prefix ๐ - filter_
inline_ ๐attrs - Returns attributes that are within
outer_span
. - format_
derive ๐ - get_
attrs_ ๐from_ stmt - Returns attributes on the given statement.
- get_
span_ ๐without_ attrs - has_
newlines_ ๐before_ after_ comment - is_
derive ๐ - rewrite_
initial_ ๐doc_ comments - Rewrite the any doc comments which come before any other attributes.
- take_
while_ ๐with_ pred - Returns the first group of attributes that fills the given predicate. We consider two doc comments are in different group if they are separated by normal comments.