Expand description
The LanguagePlugin trait + Options + Preset.
A plugin is a pure parser: it turns a workspace into nodes + edges at a requested level. It computes no metrics — complexity, cycles, Henry-Kafura and stats are filled centrally by the orchestrator, for all languages. The CLI holds the registry of plugins; it talks to them ONLY through this trait and never names a concrete language.
Structs§
- Plugin
Input - Everything the orchestrator feeds a plugin from config + CLI input.
- Preset
- A Prompt-Generator preset (a refactoring principle): a ready-to-paste AI
instruction plus how the UI seeds the node selection for it. The orchestrator
builds a generic default set and hands it to
LanguagePlugin::presets, which may pass it through, edit, drop or extend per language.
Traits§
Type Aliases§
- Options
- Free-form key/value options passed from the CLI (future
--plugin-opt k=v).BTreeMapfor deterministic iteration order.