factorio_ir/lib.rs
1//! Intermediate representation for factorio-rs.
2//!
3//! Sources are grouped by role (`ast`, `module`, `meta`, `opt`, `prune`). The
4//! historical crate-root module paths (`expression`, `statement`, ...) remain
5//! available as re-exports.
6
7pub mod ast;
8pub mod lint;
9pub mod meta;
10pub mod module;
11pub mod opt;
12pub mod prune;
13pub mod sourcemap_remap;
14
15#[doc(inline)]
16pub use ast::r#type;
17pub use ast::{
18 block, enumeration, expression, function, literal, operator, scope, statement, structure,
19};
20pub use meta::{debug, origin, span};
21pub use module::{locale, stage};