sv_parser_syntaxtree/general/attributes.rs
1use crate::*;
2
3// -----------------------------------------------------------------------------
4
5#[derive(Clone, Debug, PartialEq, Node)]
6pub struct AttributeInstance {
7 pub nodes: (Symbol, List<Symbol, AttrSpec>, Symbol),
8}
9
10#[derive(Clone, Debug, PartialEq, Node)]
11pub struct AttrSpec {
12 pub nodes: (Identifier, Option<(Symbol, ConstantExpression)>),
13}