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,
}
Expand description

A context within which compiler passes can be described.

See the module documentation for details.

Fields

ctx: &'sbc ScoreContext<'lazy, 'sb, 'ast, 'ctx>

The outer context.

span: Span

The span of the node in the source code.

id: I

The ID of the node being constructed.

Implementations

Create a new context.

Finalize the description and return the node Id.

This should be the very last step.

Schedule a callback that lowers the node to HIR.

Store a preconstructed HIR for the node.

Schedule a callback that type checks the node.

Schedule a callback that evaluates the type of the node.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.