fn lookup_ident(&self, key: &str) -> Result<Val<'a>> {
        // Magical variable that just dumps the context
        if key == MAGICAL_DUMP_VAR {
            // Unwraps are safe since we are dealing with things that are already Value
            return Ok(Cow::Owned(
                to_value(
                    to_string_pretty(&self.call_stack.current_context_cloned().take()).unwrap(),
                )
                .unwrap(),
            ));
        }

        process_path(key, &self.call_stack)
    }
/// Looks up identifier and returns its value
Looks up identifier and returns its value
Looks up identifier and returns its value
fn lookup_ident(&self, key: &str) -> Result<Val<'a>> {
        // Magical variable that just dumps the context
        if key == MAGICAL_DUMP_VAR {
            // Unwraps are safe since we are dealing with things that are already Value
            return Ok(Cow::Owned(
                to_value(
                    to_string_pretty(&self.call_stack.current_context_cloned().take()).unwrap(),
                )
                .unwrap(),
            ));
        }
        process_path(key, &self.call_stack)
    }
fn lookup_ident ( & self , key : & str ) -> Result < Val < ' a > > { // Magical variable that just dumps the context if key == MAGICAL_DUMP_VAR { // Unwraps are safe since we are dealing with things that are already Value return Ok ( Cow :: Owned ( to_value ( to_string_pretty ( & self . call_stack . current_context_cloned ( ) . take ( ) ) . unwrap ( ) , ) . unwrap ( ) , ) ) ; } process_path ( key , & self . call_stack ) }
Looks up identifier and returns its value
Looks up identifier and returns its value
&self
key
&str
&self
key
&str