MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / get_name

Method get_name

src/ast/kind.rs:21–23  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

19
20impl FunctionDecl {
21 pub fn get_name(&self) -> String {
22 self.name.clone().unwrap_or_default()
23 }
24
25 pub fn get_type(&self) -> Type {
26 self.r#type.clone()

Callers 7

get_definitionMethod · 0.45
find_fdMethod · 0.45
ast_dump_filterFunction · 0.45

Calls 1

get_name_as_stringMethod · 0.80

Tested by

no test coverage detected