cl_structures/
lib.rs

1//! # Universally useful structures
2//! - [Span](struct@span::Span): Stores a start and end [Loc](struct@span::Loc)
3//! - [Loc](struct@span::Loc): Stores the index in a stream
4//! - [TypedInterner][ti] & [StringInterner][si]: Provies stable, unique allocations
5//! - [Stack](stack::Stack): Contiguous collections with constant capacity
6//! - [IndexMap][im]: A map from [map indices][mi] to values
7//!
8//! [ti]: intern::typed_interner::TypedInterner
9//! [si]: intern::string_interner::StringInterner
10//! [im]: index_map::IndexMap
11//! [mi]: index_map::MapIndex
12#![warn(clippy::all)]
13#![feature(dropck_eyepatch, decl_macro)]
14#![deny(unsafe_op_in_unsafe_fn)]
15
16pub mod intern;
17
18pub mod span;
19
20pub mod tree;
21
22pub mod stack;
23
24pub mod index_map;