Crate cl_structures

source ·
Expand description

§Universally useful structures

Modules§

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

Macros§