Module ra_ap_ide_db::helpers [−][src]
Expand description
A module with ide helpers for high-level ide features.
Re-exports
pub use self::famous_defs::FamousDefs;
Modules
See FamousDefs
.
Generated by sourcegen_lint_completions
, do not edit by hand.
Look up accessible paths for items.
Handle syntactic aspects of inserting a new use
.
Handle syntactic aspects of merging UseTrees.
Various helper functions to work with SyntaxNodes.
Rustdoc specific doc comment handling
Structs
Functions
Calls cb
on each break expr inside of body
that is applicable for the given label.
Calls cb
on each expression inside expr
that is at “tail position”.
Does not walk into break
or return
expressions.
Note that modifying the tree while iterating it will cause undefined iteration which might
potentially results in an out of bounds panic.
Converts the mod path struct into its ast representation.
Picks the token with the highest rank returned by the passed in function.
Resolves the path at the cursor token as a derive macro if it inside a token tree of a derive attribute.
Iterates all ModuleDef
s and Impl
blocks of the given file.