24 lines
437 B
Rust
24 lines
437 B
Rust
mod arithmetic_terms;
|
|
|
|
pub(crate) use arithmetic_terms::*;
|
|
|
|
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
|
pub(crate) enum OperatorNotation
|
|
{
|
|
Prefix,
|
|
Infix,
|
|
}
|
|
|
|
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
|
pub(crate) enum Domain
|
|
{
|
|
Program,
|
|
Integer,
|
|
}
|
|
|
|
pub(crate) struct ScopedFormula
|
|
{
|
|
pub free_variable_declarations: std::rc::Rc<foliage::VariableDeclarations>,
|
|
pub formula: Box<foliage::Formula>,
|
|
}
|