Expand description
String types for oxc.
This crate provides Atom, Ident, and CompactStr types for efficient string handling.
Re-exports§
pub use ident::ArenaIdentHashMap;pub use ident::Ident;pub use ident::IdentHashMap;pub use ident::IdentHashSet;
Modules§
- ident
- Identifier string type with precomputed hash.
Macros§
- format_
atom - Creates an
Atomusing interpolation of runtime expressions. - format_
compact_ str - Creates a
CompactStrusing interpolation of runtime expressions. - format_
ident - Creates an
Identusing interpolation of runtime expressions.
Structs§
- Atom
- An inlinable string for oxc_allocator.
- Compact
Str - Lifetimeless version of
crate::Atomwhich owns its own string data allocation.
Constants§
- MAX_
INLINE_ LEN - Maximum length for inline string, which can be created with
CompactStr::new_const.