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