use crate::*; // ----------------------------------------------------------------------------- #[derive(Clone, Debug, PartialEq, Node)] pub struct Symbol { pub nodes: (Locate, Vec), } #[derive(Clone, Debug, PartialEq, Node)] pub struct Keyword { pub nodes: (Locate, Vec), } #[derive(Clone, Debug, PartialEq, Node)] pub enum WhiteSpace { Space(Box), Comment(Box), CompilerDirective(Box), } #[derive(Clone, Debug, PartialEq)] pub struct Paren { pub nodes: (Symbol, T, Symbol), } #[derive(Clone, Debug, PartialEq)] pub struct Brace { pub nodes: (Symbol, T, Symbol), } #[derive(Clone, Debug, PartialEq)] pub struct Bracket { pub nodes: (Symbol, T, Symbol), } #[derive(Clone, Debug, PartialEq)] pub struct ApostropheBrace { pub nodes: (Symbol, T, Symbol), } #[derive(Clone, Debug, PartialEq)] pub struct List { pub nodes: (U, Vec<(T, U)>), }