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