Struct moore_vhdl::defs::DefsContext [] [src]

pub struct DefsContext<'sbc, 'lazy: 'sbc, 'sb: 'lazy, 'ast: 'sb, 'ctx: 'sb> { /* fields omitted */ }

A context to declare things in.

This context helps gather the definitions in a scope. It accepts definitions and keeps track of errors that occurred. Once done the context can be converted into the actual definitions, which fails in case of errors.

Methods

impl<'sbc, 'lazy, 'sb, 'ast, 'ctx> DefsContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
[src]

[src]

Create a new definition context.

[src]

Consume the context and return the definitions that were made.

Returns an error if an error occurred during the earlier gathering of definitions.

[src]

Emit a diagnostic message.

[src]

Declare a name in the scope.

[src]

Declare a primary name in the scope.

This converts the name to a ResolvableName and calls declare().

[src]

Handle package declarations.

[src]

Handle package instantiations.

[src]

Handle type declarations.

[src]

Handle subtype declarations.

[src]

Handle any of the declarations that can appear in a block.

[src]

Handle any of the declarations that can appear in a package.

[src]

Handle any of the declarations that can appear in a package.

[src]

Handle any of the declarations that can appear in a subprogram.

[src]

Handle any of the declarations that can appear in a process.

[src]

Handle a constant declaration.

[src]

Handle a signal declaration.

[src]

Handle a variable declaration.

[src]

Handle a file declaration.

[src]

Handle an alias declaration.

[src]

Handle a component declaration.

[src]

Handle an attribute declaration.

[src]

Handle a group template declaration.

[src]

Handle a group declaration.

[src]

Handle subprogram declarations.

[src]

Handle subprogram instantiations.

[src]

Handle subprogram specifications.

Note that this does not declare the subprogram itself, but rather its parameters and generics.

[src]

Handle interface objects.

These are mainly subprogram parameters and entity ports.

[src]

Handle generics.