//! PR, or "Parser Representation" is an AST representation of parsed source code.
//! It takes LR tokens and converts them into a more structured form which
//! understands expressions, such as tuples & functions.

pub use def::*;
pub use expr::*;
pub use literal::*;
pub use ops::*;
pub use path::*;
pub use types::*;

mod def;
mod expr;
mod literal;
mod ops;
mod path;
mod types;
mod utils;

#[derive(Debug)]
pub struct Source {
    pub is_submodule: bool,
    pub root: ModuleDef,

    pub span: crate::Span,
}
