Skip to main content

Module editor

Module editor 

Source
Expand description

Editor-facing analysis contracts shared by LSP and future editor adapters.

Modules§

editor_duplicates
Duplication contracts re-exported under their unprefixed names so editor adapters can import them as a module namespace.
editor_extract
Per-module extraction facts re-exported for editor adapters that inspect retained parse artifacts.
editor_results
Typed analysis-result and finding contracts re-exported for editor adapters.
editor_security
Security catalogue lookups exposed at the editor boundary.
editor_suppress
Inline-suppression contracts re-exported for editor adapters.

Structs§

EditorAnalysisOutput
Dead-code and duplication output shaped for editor integrations.
EditorAnalysisSession
Reusable editor analysis session owned by the API boundary.
EditorCloneFingerprintSet
Report-scoped clone fingerprint assignment for editor-facing duplication output.
EditorDeadCodeAnalysisOutput
Dead-code output retained for editor integrations.
EditorInlineComplexityFinding
Editor-facing inline complexity signal for code lens and similar surfaces.
EditorProjectAnalysisOutput
Dead-code and duplication project output owned by the editor API boundary.

Enums§

ChangedFilesError
Classification of a changed-file git failure for editor integrations.
EditorInlineComplexityExceeded
Which health complexity threshold(s) a function exceeded.

Functions§

collect_inline_complexity
Collect inline complexity findings from retained editor analysis artifacts.
filter_inline_complexity_by_changed_files
Filter inline complexity findings to the changed-file set.
resolve_git_toplevel
Resolve the canonical git toplevel for cwd.
try_get_changed_files_with_toplevel
Get changed files and the git toplevel used to resolve them.

Type Aliases§

EditorAnalysisResults
Editor-boundary alias for the typed dead-code analysis results.
EditorCloneFamily
Editor-boundary alias for the clone-family payload.
EditorCloneGroup
Editor-boundary alias for the clone-group payload.
EditorCloneInstance
Editor-boundary alias for one clone occurrence within a group.
EditorDuplicationReport
Editor-boundary alias for the full duplication report.
EditorDuplicationStats
Editor-boundary alias for aggregate duplication statistics.
EditorMirroredDirectory
Editor-boundary alias for a mirrored-directory finding.
EditorRefactoringKind
Editor-boundary alias for the refactoring-suggestion kind.
EditorRefactoringSuggestion
Editor-boundary alias for a refactoring suggestion.
EditorSessionParseCounts
The parse work of an editor session. See fallow_engine::session::SessionParseCounts.