Skip to main content

Crate lonca_symbols

Crate lonca_symbols 

Source
Expand description

Symbols, facts and structural merge.

Everything here is a pure function of file contents, so the daemon and the auditor compute exactly the same facts and merges.

Re-exports§

pub use extract::Pair;
pub use extract::Parsed;
pub use extract::Spot;
pub use extract::Sym;
pub use extract::align;
pub use extract::parse;
pub use extract::parse_at;
pub use extract::parse_together;
pub use facts::Analysis;
pub use facts::analyze;
pub use lang::Lang;
pub use merge::MergeResult;
pub use merge::merge3;

Modules§

engine
Versions of the symbol engine.
extract
Symbol extraction with tree-sitter.
facts
Facts: what a change actually does, computed from two trees.
integrate
Deterministic integration of a proposed change onto trunk.
lang
The languages the symbol engine reads.
lines
Three-way merge by lines, for what has no symbols or sections.
merge
Deterministic three-way merge.
sections
Engine 1: sections of the files that have no grammar here, so that two agents can work in one README.md or Cargo.toml at the same time.

Constants§

DEF
The member of a type that stands for its own text: Type.<def> is the header, fields, decorators and class-level statements, and for Rust every impl header of the type, without its methods.