pub fn declare_any_in_pkg_body(&mut self, id: DeclInPkgBodyRef) {
        match id {
            DeclInPkgBodyRef::Subprog(id) => self.declare_subprog(id),
            DeclInPkgBodyRef::SubprogBody(_id) => (),
            DeclInPkgBodyRef::SubprogInst(id) => self.declare_subprog_inst(id),
            DeclInPkgBodyRef::Pkg(id) => self.declare_pkg(id),
            DeclInPkgBodyRef::PkgBody(_id) => (),
            DeclInPkgBodyRef::PkgInst(id) => self.declare_pkg_inst(id),
            DeclInPkgBodyRef::Type(id) => self.declare_type(id),
            DeclInPkgBodyRef::Subtype(id) => self.declare_subtype(id),
            DeclInPkgBodyRef::Const(id) => self.declare_const(id),
            DeclInPkgBodyRef::Var(id) => self.declare_var(id),
            DeclInPkgBodyRef::File(id) => self.declare_file(id),
            DeclInPkgBodyRef::Alias(id) => self.declare_alias(id),
            DeclInPkgBodyRef::Attr(id) => self.declare_attr(id),
            DeclInPkgBodyRef::AttrSpec(_id) => (),
            DeclInPkgBodyRef::GroupTemp(id) => self.declare_group_temp(id),
            DeclInPkgBodyRef::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_body(&mut self, id: DeclInPkgBodyRef) {
        match id {
            DeclInPkgBodyRef::Subprog(id) => self.declare_subprog(id),
            DeclInPkgBodyRef::SubprogBody(_id) => (),
            DeclInPkgBodyRef::SubprogInst(id) => self.declare_subprog_inst(id),
            DeclInPkgBodyRef::Pkg(id) => self.declare_pkg(id),
            DeclInPkgBodyRef::PkgBody(_id) => (),
            DeclInPkgBodyRef::PkgInst(id) => self.declare_pkg_inst(id),
            DeclInPkgBodyRef::Type(id) => self.declare_type(id),
            DeclInPkgBodyRef::Subtype(id) => self.declare_subtype(id),
            DeclInPkgBodyRef::Const(id) => self.declare_const(id),
            DeclInPkgBodyRef::Var(id) => self.declare_var(id),
            DeclInPkgBodyRef::File(id) => self.declare_file(id),
            DeclInPkgBodyRef::Alias(id) => self.declare_alias(id),
            DeclInPkgBodyRef::Attr(id) => self.declare_attr(id),
            DeclInPkgBodyRef::AttrSpec(_id) => (),
            DeclInPkgBodyRef::GroupTemp(id) => self.declare_group_temp(id),
            DeclInPkgBodyRef::Group(id) => self.declare_group(id),
        }
    }
pub fn declare_any_in_pkg_body ( & mut self , id : DeclInPkgBodyRef ) { match id { DeclInPkgBodyRef :: Subprog ( id ) => self . declare_subprog ( id ) , DeclInPkgBodyRef :: SubprogBody ( _id ) => ( ) , DeclInPkgBodyRef :: SubprogInst ( id ) => self . declare_subprog_inst ( id ) , DeclInPkgBodyRef :: Pkg ( id ) => self . declare_pkg ( id ) , DeclInPkgBodyRef :: PkgBody ( _id ) => ( ) , DeclInPkgBodyRef :: PkgInst ( id ) => self . declare_pkg_inst ( id ) , DeclInPkgBodyRef :: Type ( id ) => self . declare_type ( id ) , DeclInPkgBodyRef :: Subtype ( id ) => self . declare_subtype ( id ) , DeclInPkgBodyRef :: Const ( id ) => self . declare_const ( id ) , DeclInPkgBodyRef :: Var ( id ) => self . declare_var ( id ) , DeclInPkgBodyRef :: File ( id ) => self . declare_file ( id ) , DeclInPkgBodyRef :: Alias ( id ) => self . declare_alias ( id ) , DeclInPkgBodyRef :: Attr ( id ) => self . declare_attr ( id ) , DeclInPkgBodyRef :: AttrSpec ( _id ) => ( ) , DeclInPkgBodyRef :: GroupTemp ( id ) => self . declare_group_temp ( id ) , DeclInPkgBodyRef :: 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
DeclInPkgBodyRef
&mut self
id
DeclInPkgBodyRef