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

Method parse_int

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

Source from the content-addressed store, hash-verified

1044
1045impl ConstantExpr {
1046 pub fn parse_int(&self) -> i32 {
1047 self.value
1048 .parse()
1049 .unwrap_or_else(|_| panic!("fail to parse int from : {self:#?}"))
1050 }
1051}
1052
1053#[derive(Deserialize, Debug, Clone)]

Callers 1

get_const_valueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected