pub fn node_id(&self) -> NodeId {
        use self::Def::*;
        match *self {
            Lib(id) | Entity(id) | Cfg(id) | Pkg(id) | PkgInst(id) | Ctx(id) | Arch(id)
            | Const(id) | Signal(id) | File(id) | Var(id) | Ty(id) | Subty(id) | Alias(id)
            | Subprog(id) | Comp(id) | Attr(id) | Intf(id) | Group(id) | Stmt(id) => id,
        }
    }
/// Obtain the node ID wrapped within the definition.
Obtain the node ID wrapped within the definition.
Obtain the node ID wrapped within the definition .
pub fn node_id(&self) -> NodeId {
        use self::Def::*;
        match *self {
            Lib(id) | Entity(id) | Cfg(id) | Pkg(id) | PkgInst(id) | Ctx(id) | Arch(id)
            | Const(id) | Signal(id) | File(id) | Var(id) | Ty(id) | Subty(id) | Alias(id)
            | Subprog(id) | Comp(id) | Attr(id) | Intf(id) | Group(id) | Stmt(id) => id,
        }
    }
pub fn node_id ( & self ) -> NodeId { use self :: Def :: * ; match * self { Lib ( id ) | Entity ( id ) | Cfg ( id ) | Pkg ( id ) | PkgInst ( id ) | Ctx ( id ) | Arch ( id ) | Const ( id ) | Signal ( id ) | File ( id ) | Var ( id ) | Ty ( id ) | Subty ( id ) | Alias ( id ) | Subprog ( id ) | Comp ( id ) | Attr ( id ) | Intf ( id ) | Group ( id ) | Stmt ( id ) => id , } }
Obtain the node ID wrapped within the definition.
Obtain the node ID wrapped within the definition .
&self
&self