MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / debug_open_id

Method debug_open_id

src/engine.rs:7232–7235  ·  view source on GitHub ↗

Helper: open a named element, configure. Caller must close_element().

(&mut self, name: &str, decl: &ElementDeclaration<CustomElementData>)

Source from the content-addressed store, hash-verified

7230
7231 /// Helper: open a named element, configure. Caller must close_element().
7232 fn debug_open_id(&mut self, name: &str, decl: &ElementDeclaration<CustomElementData>) {
7233 self.open_element_with_id(&hash_string(name, 0));
7234 self.configure_open_element(decl);
7235 }
7236
7237 /// Helper: open a named+indexed element, configure. Caller must close_element().
7238 fn debug_open_idi(&mut self, name: &str, offset: u32, decl: &ElementDeclaration<CustomElementData>) {

Calls 3

hash_stringFunction · 0.85
open_element_with_idMethod · 0.80

Tested by

no test coverage detected