MCPcopy Create free account
hub / github.com/hashintel/hash / intern_items

Method intern_items

libs/@local/hashql/core/src/module/mod.rs:116–118  ·  view source on GitHub ↗

Interns a slice of items into the registry.

(&self, items: &[Item<'heap>])

Source from the content-addressed store, hash-verified

114
115 /// Interns a slice of items into the registry.
116 pub fn intern_items(&self, items: &[Item<'heap>]) -> Interned<'heap, [Item<'heap>]> {
117 self.items.intern_slice(items)
118 }
119
120 /// Register a new module in the root namespace.
121 ///

Callers 3

module_empty_errorFunction · 0.80
shadowed_importFunction · 0.80
buildMethod · 0.80

Calls 1

intern_sliceMethod · 0.80

Tested by 2

module_empty_errorFunction · 0.64
shadowed_importFunction · 0.64