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

Method ignore_prefix

src/ast/helper.rs:60–67  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

58 }
59
60 fn ignore_prefix(&self) -> &Self {
61 if let Clang::UnaryOperator(_) = &self.kind {
62 if self.inner.len() == 1 {
63 return self.inner[0].ignore_parenexpr();
64 }
65 }
66 self
67 }
68
69 /// Get the signle child. You must make sure this kind of stmt only has a single child.
70 fn get_child(&self) -> &Self {

Callers 2

is_arg_fuzzableFunction · 0.80
strip_prefixFunction · 0.80

Calls 1

ignore_parenexprMethod · 0.80

Tested by

no test coverage detected