fn parse_value(text: &str) -> Value {
    match text.parse::<u64>() {
        Ok(value) => Value::Literal(value),
        Err(_) => Value::Reference(text)
    }
}
// Parse either a literal integer value or a reference to a wire
Parse either a literal integer value or a reference to a wire
Parse either a literal integer value or a reference to a wire
fn parse_value(text: &str) -> Value {
    match text.parse::<u64>() {
        Ok(value) => Value::Literal(value),
        Err(_) => Value::Reference(text)
    }
}
fn parse_value ( text : & str ) -> Value { match text . parse :: < u64 > ( ) { Ok ( value ) => Value :: Literal ( value ) , Err ( _ ) => Value :: Reference ( text ) } }
Parse either a literal integer value or a reference to a wire
Parse either a literal integer value or a reference to a wire
text
&str