Skip to main content

Crate layer_conform_core

Crate layer_conform_core 

Source
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 why command.
function_ref
Per-function metadata returned by language analyzers.
ignore_parse
Detect layer-conform-ignore directives 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.