Skip to main content

Module insert_symbol

Module insert_symbol 

Source
Expand description

Insert content before or after a symbol found via AST-based symbol navigation.

Uses opendev-tools-symbol to locate a symbol’s position in a file, then inserts user-provided content immediately before or after the symbol’s range.

Structs§

InsertAfterSymbolTool
Tool for inserting content after a symbol in a file.
InsertBeforeSymbolTool
Tool for inserting content before a symbol in a file.