use crate::*; // ----------------------------------------------------------------------------- #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpNonansiDeclaration { pub nodes: ( Vec, Keyword, UdpIdentifier, Paren, Symbol, ), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpAnsiDeclaration { pub nodes: ( Vec, Keyword, UdpIdentifier, Paren, Symbol, ), } #[derive(Clone, Debug, PartialEq, Node)] pub enum UdpDeclaration { Nonansi(Box), Ansi(Box), ExternNonansi(Box), ExternAnsi(Box), Wildcard(Box), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpDeclarationNonansi { pub nodes: ( UdpNonansiDeclaration, UdpPortDeclaration, Vec, UdpBody, Keyword, Option<(Symbol, UdpIdentifier)>, ), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpDeclarationAnsi { pub nodes: ( UdpAnsiDeclaration, UdpBody, Keyword, Option<(Symbol, UdpIdentifier)>, ), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpDeclarationExternNonansi { pub nodes: (Keyword, UdpNonansiDeclaration), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpDeclarationExternAnsi { pub nodes: (Keyword, UdpAnsiDeclaration), } #[derive(Clone, Debug, PartialEq, Node)] pub struct UdpDeclarationWildcard { pub nodes: ( Vec, Keyword, UdpIdentifier, Paren, Symbol, Vec, UdpBody, Keyword, Option<(Symbol, UdpIdentifier)>, ), }