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

Method is_next_token

src/program/serde.rs:132–134  ·  view source on GitHub ↗
(&self, token: &str)

Source from the content-addressed store, hash-verified

130 }
131
132 pub fn is_next_token(&self, token: &str) -> bool {
133 self.input.starts_with(token)
134 }
135
136 /// eat tokens until meet this `token`. It does not consume `token`.
137 pub fn eat_token_until(&mut self, token: &str) -> Result<&'de str> {

Callers 5

parse_fuzzer_lcov_dataFunction · 0.80
parse_lcov_dataFunction · 0.80
deserializeMethod · 0.80
to_gadget_typeFunction · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected