Search text
search_text
Text renderers for SearchTool dual-format ToolResult.
format_func_line(sym)
Format a function-like symbol as a compact text line.
Source code in packages/axm-ast/src/axm_ast/tools/search_text.py
| Python | |
|---|---|
format_symbol_line(sym)
Render one symbol dict as a compact text line.
Source code in packages/axm-ast/src/axm_ast/tools/search_text.py
format_text_header(*, search_filters, count, suggestion_count=0)
Build the header line for text rendering.
Source code in packages/axm-ast/src/axm_ast/tools/search_text.py
format_variable_line(sym)
Format a variable symbol as a compact text line.
Source code in packages/axm-ast/src/axm_ast/tools/search_text.py
render_suggestion_line(suggestion)
Render one suggestion as a compact ?-prefixed text line.
Source code in packages/axm-ast/src/axm_ast/tools/search_text.py
render_text(symbols, *, search_filters, suggestions=None)
Group symbols by kind and render as compact text.