pub fn declare_any_in_pkg(&mut self, id: DeclInPkgRef) {
        match id {
            DeclInPkgRef::Subprog(id) => self.declare_subprog(id),
            DeclInPkgRef::SubprogInst(id) => self.declare_subprog_inst(id),
            DeclInPkgRef::Pkg(id) => self.declare_pkg(id),
            DeclInPkgRef::PkgInst(id) => self.declare_pkg_inst(id),
            DeclInPkgRef::Type(id) => self.declare_type(id),
            DeclInPkgRef::Subtype(id) => self.declare_subtype(id),
            DeclInPkgRef::Const(id) => self.declare_const(id),
            DeclInPkgRef::Signal(id) => self.declare_signal(id),
            DeclInPkgRef::Var(id) => self.declare_var(id),
            DeclInPkgRef::File(id) => self.declare_file(id),
            DeclInPkgRef::Alias(id) => self.declare_alias(id),
            DeclInPkgRef::Comp(id) => self.declare_comp(id),
            DeclInPkgRef::Attr(id) => self.declare_attr(id),
            DeclInPkgRef::AttrSpec(_id) => (),
            DeclInPkgRef::Discon(_id) => (),
            DeclInPkgRef::GroupTemp(id) => self.declare_group_temp(id),
            DeclInPkgRef::Group(id) => self.declare_group(id),
        }
    }
/// Handle any of the declarations that can appear in a package.
Handle any of the declarations that can appear in a package.
Handle any of the declarations that can appear in a package .
pub fn declare_any_in_pkg(&mut self, id: DeclInPkgRef) {
        match id {
            DeclInPkgRef::Subprog(id) => self.declare_subprog(id),
            DeclInPkgRef::SubprogInst(id) => self.declare_subprog_inst(id),
            DeclInPkgRef::Pkg(id) => self.declare_pkg(id),
            DeclInPkgRef::PkgInst(id) => self.declare_pkg_inst(id),
            DeclInPkgRef::Type(id) => self.declare_type(id),
            DeclInPkgRef::Subtype(id) => self.declare_subtype(id),
            DeclInPkgRef::Const(id) => self.declare_const(id),
            DeclInPkgRef::Signal(id) => self.declare_signal(id),
            DeclInPkgRef::Var(id) => self.declare_var(id),
            DeclInPkgRef::File(id) => self.declare_file(id),
            DeclInPkgRef::Alias(id) => self.declare_alias(id),
            DeclInPkgRef::Comp(id) => self.declare_comp(id),
            DeclInPkgRef::Attr(id) => self.declare_attr(id),
            DeclInPkgRef::AttrSpec(_id) => (),
            DeclInPkgRef::Discon(_id) => (),
            DeclInPkgRef::GroupTemp(id) => self.declare_group_temp(id),
            DeclInPkgRef::Group(id) => self.declare_group(id),
        }
    }
pub fn declare_any_in_pkg ( & mut self , id : DeclInPkgRef ) { match id { DeclInPkgRef :: Subprog ( id ) => self . declare_subprog ( id ) , DeclInPkgRef :: SubprogInst ( id ) => self . declare_subprog_inst ( id ) , DeclInPkgRef :: Pkg ( id ) => self . declare_pkg ( id ) , DeclInPkgRef :: PkgInst ( id ) => self . declare_pkg_inst ( id ) , DeclInPkgRef :: Type ( id ) => self . declare_type ( id ) , DeclInPkgRef :: Subtype ( id ) => self . declare_subtype ( id ) , DeclInPkgRef :: Const ( id ) => self . declare_const ( id ) , DeclInPkgRef :: Signal ( id ) => self . declare_signal ( id ) , DeclInPkgRef :: Var ( id ) => self . declare_var ( id ) , DeclInPkgRef :: File ( id ) => self . declare_file ( id ) , DeclInPkgRef :: Alias ( id ) => self . declare_alias ( id ) , DeclInPkgRef :: Comp ( id ) => self . declare_comp ( id ) , DeclInPkgRef :: Attr ( id ) => self . declare_attr ( id ) , DeclInPkgRef :: AttrSpec ( _id ) => ( ) , DeclInPkgRef :: Discon ( _id ) => ( ) , DeclInPkgRef :: GroupTemp ( id ) => self . declare_group_temp ( id ) , DeclInPkgRef :: Group ( id ) => self . declare_group ( id ) , } }
Handle any of the declarations that can appear in a package.
Handle any of the declarations that can appear in a package .
&mut self
id
DeclInPkgRef
&mut self
id
DeclInPkgRef