Expand description
Pure logic core for layer-conform.
Re-exports§
pub use function_ref::FunctionKind;pub use function_ref::FunctionRef;pub use function_ref::Signature;pub use rule::GoldenSelector;pub use rule::Rule;
Modules§
- apted
- APTED (All Path Tree Edit Distance) implementation.
- call_
origin - Language-neutral classification of a call’s origin relative to its caller.
- deviation
- Deviation report: what differs from the closest golden.
- explain
- Build a full scoring matrix for the
whycommand. - function_
ref - Per-function metadata returned by language analyzers.
- ignore_
parse - Detect
layer-conform-ignoredirectives in a function’s leading comments. - matcher
- Pure rule × file matching.
- pipeline
- Pure orchestrator: rules + extracted functions → deviations.
- rule
- Compiled rule used by the matcher and pipeline.
- similarity
- 4-axis similarity score.
- tree
- Neutral AST tree IR shared across language adapters.
- tsed
- TSED — Type Structure Edit Distance score.