pub fn name(&self) -> &'static str {
        match self {
            Self::Void => "void",
            Self::Null => "null",
            Self::True => "true",
            Self::False => "false",
            Self::Integer(_) => "int",
            Self::Float(_) => "float",
            Self::Addr(_) => "addr",
            Self::Str(_) => "str",
            Self::List(_) => "list",
            Self::Dict(_) => "dict",
            Self::Object(object) => object.name(),
        }
    }
// Retrieve type name of a value
Retrieve type name of a value
Retrieve type name of a value
pub fn name(&self) -> &'static str {
        match self {
            Self::Void => "void",
            Self::Null => "null",
            Self::True => "true",
            Self::False => "false",
            Self::Integer(_) => "int",
            Self::Float(_) => "float",
            Self::Addr(_) => "addr",
            Self::Str(_) => "str",
            Self::List(_) => "list",
            Self::Dict(_) => "dict",
            Self::Object(object) => object.name(),
        }
    }
pub fn name ( & self ) -> & ' static str { match self { Self :: Void => " " , Self :: Null => " " , Self :: True => " " , Self :: False => " " , Self :: Integer ( _ ) => " " , Self :: Float ( _ ) => " " , Self :: Addr ( _ ) => " " , Self :: Str ( _ ) => " " , Self :: List ( _ ) => " " , Self :: Dict ( _ ) => " " , Self :: Object ( object ) => object . name ( ) , } }
Retrieve type name of a value
Retrieve type name of a value
&self
&self