Crate cl_structures

Source
Expand description

§Universally useful structures

Modules§

index_map
Trivially-copyable, easily comparable typed indices, and an IndexMap to contain them.
intern
Interners for strings and arbitrary types.
span
Span: Stores the start and end Loc of a notable AST nodeLoc: Stores the line/column of a notable AST node
stack
A contiguous collection with constant capacity.
tree
An insert-only unordered tree, backed by a Vec

Macros§

make_index
Creates newtype indices over usize for use as IndexMap keys.