pub fn generate_local_symbol_name(&self, prefix: &str) -> String {
        let idx = self.local().local_gen_sym_counter.get();
        self.local().local_gen_sym_counter.set(idx + 1);
        // Include a '.' character, so there can be no accidental conflicts with
        // user defined names
        let mut name = String::with_capacity(prefix.len() + 6);
        name.push_str(prefix);
        name.push_str(".");
        base_n::push_str(idx as u64, base_n::ALPHANUMERIC_ONLY, &mut name);
        name
    }
/// Generate a new symbol name with the given prefix. This symbol name must
/// only be used for definitions with `internal` or `private` linkage.
Generate a new symbol name with the given prefix. This symbol name must
only be used for definitions with `internal` or `private` linkage.
Generate a new symbol name with the given prefix . This symbol name must only be used for definitions with ` internal ` or ` private ` linkage .
pub fn generate_local_symbol_name(&self, prefix: &str) -> String {
        let idx = self.local().local_gen_sym_counter.get();
        self.local().local_gen_sym_counter.set(idx + 1);
        // Include a '.' character, so there can be no accidental conflicts with
        // user defined names
        let mut name = String::with_capacity(prefix.len() + 6);
        name.push_str(prefix);
        name.push_str(".");
        base_n::push_str(idx as u64, base_n::ALPHANUMERIC_ONLY, &mut name);
        name
    }
pub fn generate_local_symbol_name ( & self , prefix : & str ) -> String { let idx = self . local ( ) . local_gen_sym_counter . get ( ) ; self . local ( ) . local_gen_sym_counter . set ( idx + 1 ) ; // Include a '.' character, so there can be no accidental conflicts with // user defined names let mut name = String :: with_capacity ( prefix . len ( ) + 6 ) ; name . push_str ( prefix ) ; name . push_str ( " " ) ; base_n :: push_str ( idx as u64 , base_n :: ALPHANUMERIC_ONLY , & mut name ) ; name }
Generate a new symbol name with the given prefix.
Generate a new symbol name with the given prefix .
&self
prefix
&str
&self
prefix
&str