pub trait TerminalMappings<T> { fn eps() -> T; fn end() -> T; fn is_eps(&self) -> bool; fn is_end(&self) -> bool; }