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;
13
14#[doc(inline)]
15pub use ast::r#type;
16pub use ast::{
17 block, enumeration, expression, function, literal, operator, scope, statement, structure,
18};
19pub use meta::{debug, span};
20pub use module::{locale, stage};