Struct moore_vhdl::make_ctx::MakeContext [] [src]

pub struct MakeContext<'sbc, 'lazy: 'sbc, 'sb: 'lazy, 'ast: 'sb, 'ctx: 'sb, I: Copy> {
    pub ctx: &'sbc ScoreContext<'lazy, 'sb, 'ast, 'ctx>,
    pub span: Span,
    pub id: I,
}

A context within which compiler passes can be described.

See the module documentation for details.

Fields

The outer context.

The span of the node in the source code.

The ID of the node being constructed.

Methods

impl<'sbc, 'lazy, 'sb, 'ast, 'ctx, I> MakeContext<'sbc, 'lazy, 'sb, 'ast, 'ctx, I> where
    I: Copy + Into<NodeId> + Debug
[src]

[src]

Create a new context.

[src]

Finalize the description and return the node Id.

This should be the very last step.

[src]

Schedule a callback that lowers the node to HIR.

[src]

Store a preconstructed HIR for the node.

[src]

Schedule a callback that type checks the node.

[src]

Schedule a callback that evaluates the type of the node.