Struct moore_vhdl::symtbl::Scope [] [src]

pub struct Scope {
    pub node_id: NodeId,
    pub subscopes: HashSet<NodeId>,
    pub defs: HashMap<DefName, Vec<(Span, Def)>>,
    pub parent_id: Option<NodeId>,
}

Fields

Methods

impl Scope
[src]

[src]

Create a new empty scope for the node with the given ID.

[src]

Merge the contents of another scope into this scope. The scope keeps the current node ID.

[src]

Declare a subscope that is nested within this scope.

[src]

Declare a name that can be bound to in this scope.

Trait Implementations

impl Debug for Scope
[src]

[src]

Formats the value using the given formatter.