use crate::grammar::Expr;
use std::rc::Rc;
#[derive(Copy, Clone)]
pub enum UnbuiltRule {
S(&'static str),
M(&'static [&'static str]),
F(fn(Rc<Expr>) -> Option<Rc<Expr>>),
}
impl From<&'static str> for UnbuiltRule {
fn from(s: &'static str) -> Self {
Self::S(s)
}
}