Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FuzzAnything/PromptFuzz
/ has_init
Method
has_init
src/ast/kind.rs:87–89 ·
view source on GitHub ↗
(&self, node: &Node)
Source
from the content-addressed store, hash-verified
85
}
86
87
pub fn has_init(&self, node: &Node) -> bool {
88
!node.inner.is_empty()
89
}
90
91
pub fn get_init(&self, node: &
'a Node) -> &'
a Node {
92
assert!(self.has_init(node));
Callers
6
attach_push_after_open
Method · 0.80
collect_file_identifiers
Method · 0.80
visit_var_decl
Method · 0.80
get_var_init
Method · 0.80
is_var_fuzzable
Function · 0.80
is_format_string
Function · 0.80
Calls
1
is_empty
Method · 0.45
Tested by
no test coverage detected