Crate kailua_env [−] [src]
This crate provides the basic environments for Kailua.
Location types (
Unit
,Pos
,Span
) and a location-bundled container (Spanned
)Scope identifiers and a location-to-scope map (
kailua_env::scope
)The resolver for locations (
kailua_env::source
)An arbitrary mapping from location ranges to values (
kailua_env::spanmap
)
Reexports
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 |
Span |
A span of the range in the originating |
Spanned |
A value with optional |
Unit |
An identifier for the code unit, unique in the originating |
Traits
WithLoc |
A helper trait for constructing |