Module ra_ap_ide_db::helpers[][src]

Expand description

A module with ide helpers for high-level ide features.

Modules

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.

Rustdoc specific doc comment handling

Structs

Helps with finding well-know things inside the standard library. This is somewhat similar to the known paths infra inside hir, but it different; We want to make sure that IDE specific paths don’t become interesting inside the compiler itself as well.

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 ModuleDefs and Impl blocks of the given file.