MCPcopy Create free account
hub / github.com/dev-formata-io/stof / push_self_node

Method push_self_node

src/parser/context.rs:263–266  ·  view source on GitHub ↗

Push self node.

(&mut self, node: NodeRef)

Source from the content-addressed store, hash-verified

261 pub fn parse_proc<'a>(&'a mut self) -> &'a mut Process {
262 self.runtime.done.get_mut(&PARSE_ID).unwrap()
263 }
264
265 /// Get the current self pointer.
266 pub fn self_ptr(&mut self) -> NodeRef {
267 let proc = self.parse_proc();
268 if proc.env.self_stack.len() > 0 {
269 proc.env.self_ptr()

Callers 3

parse_from_fileMethod · 0.80
file_importMethod · 0.80
string_importMethod · 0.80

Calls 2

parse_procMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected