Skip to main content

Module types

Module types 

Source
Expand description

Core data types for the AgenticCodebase semantic code compiler.

This module contains all type definitions used throughout the system. No logic or I/O — pure struct definitions, enum definitions, and trait implementations.

Re-exports§

pub use code_unit::CodeUnit;
pub use code_unit::CodeUnitBuilder;
pub use code_unit::CodeUnitType;
pub use code_unit::Visibility;
pub use edge::Edge;
pub use edge::EdgeType;
pub use error::AcbError;
pub use error::AcbResult;
pub use header::FileHeader;
pub use language::Language;
pub use span::Span;

Modules§

code_unit
CodeUnit — the atomic element of the code graph.
edge
Edge types and structures for relationships between code units.
error
Error types for the AgenticCodebase system.
header
File header for the .acb binary format.
language
Programming language detection and enumeration.
span
Source location types for tracking where code units appear in source files.

Constants§

ACB_MAGIC
Magic bytes at the start of every .acb file: “ACDB”
DEFAULT_DIMENSION
Default feature vector dimensionality.
FORMAT_VERSION
Current format version.
MAX_DOC_LENGTH
Maximum doc summary length.
MAX_EDGES_PER_UNIT
Maximum edges per code unit.
MAX_PATH_LENGTH
Maximum file path length.
MAX_QUALIFIED_NAME
Maximum qualified name length.
MAX_SIGNATURE_LENGTH
Maximum signature length.
MAX_SYMBOL_NAME
Maximum symbol name length.

Functions§

now_micros
Returns the current time as Unix epoch microseconds.