2 Commits

Author SHA1 Message Date
9202c839e2 Support hashing domains 2019-11-07 03:14:21 -06:00
7af51e9e64 Expose symbolic identifier parser 2019-11-06 21:16:04 -06:00
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ pub enum Formula
Predicate(Predicate),
}
#[derive(PartialEq)]
#[derive(Eq, Hash, PartialEq)]
pub enum Domain
{
Program,

View File

@@ -100,7 +100,7 @@ fn is_uppercase_alphanumeric(c: char) -> bool
c.is_alphanumeric() && c.is_uppercase()
}
fn symbolic_identifier(i: &str) -> IResult<&str, String>
pub fn symbolic_identifier(i: &str) -> IResult<&str, String>
{
let (i, symbolic_identifier) = map
(