brink-ir 0.0.6

Intermediate representations for inkle's ink narrative scripting language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Symbol types shared between HIR lowering and semantic analysis.
//!
//! `SymbolManifest` is produced by HIR lowering (per-file declarations and
//! unresolved references). `SymbolIndex` is populated by the analyzer
//! (cross-file resolution). Both live here so that `brink-ir::lir` can
//! consume the resolved index without depending on `brink-analyzer`.

mod index;
mod manifest;

pub use index::{
    ParamInfo, ResolutionMap, ResolvedRef, Scope, SymbolIndex, SymbolInfo, SymbolKind,
};
pub use manifest::{DeclaredSymbol, LocalSymbol, RefKind, SymbolManifest, UnresolvedRef};