Expand description
The Rune compiler.
The main entry to compiling rune source is prepare which uses this compiler. In here you’ll just find compiler-specific types.
Re-exports§
pub use self::meta::MetaRef;
pub use self::meta::SourceMeta;
Modules§
- meta
- Compiler metadata for Rune.
Structs§
- Context
- Context used for the Rune language.
- Error
- An error raised by the compiler.
- File
Source Loader - A filesystem-based source loader.
- Import
Step - A single step in an import.
- ItemId
- The identifier of an item.
- Location
- A fully descriptive location which is a combination of a SourceId and a Span.
- Meta
Error - A meta error.
- Meta
Info - Provides an owned human-readable description of a meta item.
- Noop
Source Loader - A source loader which does not support loading anything and will error.
- Options
- Options that can be provided to the compiler.
- Parse
Option Error - Error raised when trying to parse an invalid option.
Enums§
- Context
Error - An error raised when building the context.
- Linker
Error - Errors that can be raised when linking units.
Traits§
- Compile
Visitor - A visitor that will be called for every language item compiled.
- Located
- Trait for things that have a Location.
- Named
- The trait used for something that can be statically named.
- Source
Loader - A source loader.
Type Aliases§
- Result
- Helper alias for compile results.