pub struct PositionTable { /* private fields */ }
Expand description

Source position information for a Calyx program.

Implementations

The unknown position

Create a new position table where the first file and first position are unknown

Add a new file to the position table

Add a new position to the position table

Trait Implementations

Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.