29 lines
536 B
Rust
29 lines
536 B
Rust
/*
|
|
* SPDX-FileCopyrightText: 2023 Alain Zscheile <fogti+devel@ytrizja.de>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
//use bitflags::bitflags;
|
|
pub mod parser;
|
|
|
|
mod expr;
|
|
pub use expr::{Expr, ReprOpaque, RpLit, TyLit};
|
|
|
|
mod pat;
|
|
pub use pat::{FullPattern, Pattern};
|
|
|
|
mod record;
|
|
pub use record::{Record, RecordEntry};
|
|
|
|
pub mod typeck;
|
|
|
|
use miette::SourceSpan;
|
|
|
|
pub use yanais_syntax::EvEqSourceSpan;
|
|
|
|
pub trait Subst {
|
|
fn incr_refs(&mut self, keep: usize, offset: usize);
|
|
fn subst(&mut self, bnest: usize, with_e: &Expr);
|
|
}
|