MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / identifier

Method identifier

debugger/src/debugger/value_writer.rs:28–35  ·  view source on GitHub ↗

Emit a Str Token

(&mut self, s: &str)

Source from the content-addressed store, hash-verified

26impl Bytes {
27 /// Emit a Str Token
28 pub fn identifier(&mut self, s: &str) {
29 if s.contains('\"') {
30 panic!("An identifier should not contain `\"`");
31 }
32 self.push_str("\" ");
33 self.push_slice(s.as_bytes());
34 self.push_str("\"");
35 }
36
37 /// Emit a Int Token
38 pub fn integer<I: Integer>(&mut self, i: I) {

Callers 11

write_valueMethod · 0.80
write_stringMethod · 0.80
function_callMethod · 0.80
function_returnMethod · 0.80
prim_vMethod · 0.80
bytes_vMethod · 0.80
ref_vMethod · 0.80
struct_vMethod · 0.80
enumerate_vMethod · 0.80
union_vMethod · 0.80

Calls 4

containsMethod · 0.80
push_strMethod · 0.80
push_sliceMethod · 0.80
as_bytesMethod · 0.80

Tested by

no test coverage detected