Module cstree::interning[][src]

Types and Traits for efficient String storage and deduplication.

Structs

TokenInterner

The default Interner used to deduplicate green token strings.

Traits

Interner

A generic interface over any underlying interner, allowing storing and accessing interned strings

IntoReader

A generic interface over interners that can be turned into a Reader.

IntoReaderAndResolver

A generic interface over interners that can be turned into both a Reader and a Resolver directly.

IntoResolver

A generic interface over Readers that can be turned into a Resolver.

Reader

A generic interface that allows using any underlying interner for both its reading and resolution capabilities, allowing both str -> key and key -> str lookups

Resolver

A generic interface that allows using any underlying interner only for its resolution capabilities, allowing only key -> str lookups