Struct moore_vhdl::symtbl::SymTbl [] [src]

pub struct SymTbl {
    pub root_scope: Scope,
    pub scopes: HashMap<NodeId, Scope>,
    // some fields omitted
}

Fields

Methods

impl SymTbl
[src]

[src]

Create a new empty symbol table.

[src]

Allocate a new node ID that has not yet been used.

[src]

Obtain the node ID for the library with the given name, or allocate a new ID if none exists yet. Use this function to create a scope for this library.

[src]

Add a scope to the symbol table. If a scope with the same node ID already exists, the new scope's contents are merged into the existing scope. This allows for gradual extension of the contents of a scope. Useful for populating library scopes.

Trait Implementations

impl Debug for SymTbl
[src]

[src]

Formats the value using the given formatter.