Crate kailua_env

Source
Expand description

This crate provides the basic environments for Kailua.

Re-exports§

pub use scope::Scope;
pub use scope::ScopedId;
pub use scope::ScopeMap;
pub use source::Source;
pub use source::SourceFile;
pub use source::SourceSlice;
pub use source::SourceData;
pub use spanmap::SpanMap;

Modules§

scope
Scope identifiers and a location-to-scope map.
source
The resolver for locations.
spanmap
An arbitrary mapping from location ranges to values.

Structs§

Pos
A position in the originating Source.
Span
A span of the range in the originating Source.
Spanned
A value with optional Span.
Unit
An identifier for the code unit, unique in the originating Source.

Traits§

WithLoc
A helper trait for constructing Spanned<T> value.