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
Generated by sourcegen_lints
, do not edit by hand.
Look up accessible paths for items.
Handle syntactic aspects of inserting a new use
item.
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.
Parses the path the identifier is part of inside a token tree.
Parses and returns the derive path at the cursor position in the given attribute, if it is a derive. This special case is required because the derive macro is a compiler builtin that discards the input derives.
Checks if the given lint is equal or is contained by the other lint which may or may not be a group.
Converts the mod path struct into its ast representation.
Parses the input token tree as comma separated paths.
Picks the token with the highest rank returned by the passed in function.
Parses and resolves the path at the cursor position in the given attribute, if it is a derive. This special case is required because the derive macro is a compiler builtin that discards the input derives.
Iterates all ModuleDef
s and Impl
blocks of the given file.