You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
346 B
Rust
18 lines
346 B
Rust
use crate::elements::group::Group;
|
|
use crate::elements::literal::Literal;
|
|
use crate::elements::special::Special;
|
|
use crate::utils::Boxed;
|
|
|
|
pub mod group;
|
|
pub mod literal;
|
|
pub mod special;
|
|
|
|
#[derive(Debug, Clone, PartialOrd, PartialEq)]
|
|
pub enum Element {
|
|
Literal(Literal),
|
|
Special(Special),
|
|
Group(Group),
|
|
}
|
|
|
|
impl Boxed for Element {}
|