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.

Converts the mod path struct into its ast representation.

Picks the token with the highest rank returned by the passed in function.

Iterates all ModuleDefs and Impl blocks of the given file.