sv-parser/sv-parser-syntaxtree/src/specify_section/specify_block_declaration.rs
2019-09-05 10:31:56 +09:00

28 lines
812 B
Rust

use crate::*;
// -----------------------------------------------------------------------------
#[derive(Clone, Debug, PartialEq, Node)]
pub struct SpecifyBlock {
pub nodes: (Keyword, Vec<SpecifyItem>, Keyword),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum SpecifyItem {
SpecparamDeclaration(Box<SpecparamDeclaration>),
PulsestyleDeclaration(Box<PulsestyleDeclaration>),
ShowcancelledDeclaration(Box<ShowcancelledDeclaration>),
PathDeclaration(Box<PathDeclaration>),
SystemTimingCheck(Box<SystemTimingCheck>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct PulsestyleDeclaration {
pub nodes: (Keyword, ListOfPathOutputs, Symbol),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct ShowcancelledDeclaration {
pub nodes: (Keyword, ListOfPathOutputs, Symbol),
}