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