Expand description
Structural Search Replace
Allows searching the AST for code that matches one or more patterns and then replacing that code based on a template.
Structs§
- Information about a match that was found.
- Searches a crate for pattern matches and possibly replaces them with something else.
Functions§
- Attempts to build an SSR MatchFinder from a comment at the given file range. If successful, returns the MatchFinder and a TextRange covering comment.