Skip to main content

Module ops

Module ops 

Source

Structs§

SymbolLookup
What lookup_symbol found for one query.

Enums§

OpError
SymbolSelector

Constants§

MAX_CONTEXT_OVERLOADS
A context read builds callees, types, and tests for each overload, so it stops at this many.

Functions§

blast_radius_op
Compute blast radius and likely tests for a symbol, file, or uncommitted git changes.
blast_radius_selected_op
codebase_outline_op
Generate a memory-bounded codebase outline pushed down into SQLite.
edit_check_op
Checks the working tree against base, else the session base of the project, else HEAD: the symbols whose shape changed and the sites of each that the diff did not reach.
edit_check_session_diff
The first half of edit_check_session_op: the diff against the session base and its hash, before any scan of the base. PendingCheck::run finishes the check.
edit_check_session_op
Checks the working tree against the base a session recorded, else HEAD. A recorded base that git no longer has counts as none.
edit_check_with
Like edit_check_op, with the base named by its source and the cuts given.
file_skeleton_op
Generate file skeleton with fresh file synchronization.
get_context_slice_op
Retrieve a complete context slice for a symbol, guaranteeing fresh offsets.
get_context_slice_selected_op
get_context_slices_selected_op
Like get_context_slice_selected_op, but a name that selects up to MAX_CONTEXT_OVERLOADS overloads of one owner in one file returns a slice for each overload.
get_symbol_bodies_selected_op
Like get_symbol_body_selected_op, but a name that selects several overloads of one owner in one file returns the body of each overload instead of an ambiguity error.
get_symbol_body_op
Retrieve the body of a symbol by name, guaranteeing fresh offsets and file contents.
get_symbol_body_selected_op
lookup_symbols_op
Looks up query by name. A plain query that no row names exactly also gets the ranked search, so one call answers a name and a concept.
render_symbol_lookup
The text of a lookup. Members show as Owner.name; the rows in lookup keep their raw names.
resolve_symbol_op