2023-09-25 14:23:03 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2023 Alain Zscheile <fogti+devel@ytrizja.de>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2023-09-24 21:58:28 +00:00
|
|
|
//use bitflags::bitflags;
|
|
|
|
pub mod parser;
|
2023-09-26 12:20:35 +00:00
|
|
|
|
|
|
|
mod expr;
|
2023-10-01 18:57:13 +00:00
|
|
|
pub use expr::{Expr, ReprOpaque, RpLit, TyLit};
|
2023-09-24 21:58:28 +00:00
|
|
|
|
2023-09-26 09:40:05 +00:00
|
|
|
mod pat;
|
|
|
|
pub use pat::{FullPattern, Pattern};
|
|
|
|
|
2023-09-26 12:12:43 +00:00
|
|
|
mod record;
|
|
|
|
pub use record::{Record, RecordEntry};
|
|
|
|
|
2023-09-26 09:45:07 +00:00
|
|
|
pub mod typeck;
|
2023-09-25 20:26:15 +00:00
|
|
|
|
|
|
|
use miette::SourceSpan;
|
2023-09-25 21:27:58 +00:00
|
|
|
|
2023-10-14 14:34:57 +00:00
|
|
|
pub use yn_utils::EvEqSourceSpan;
|
2023-09-25 20:26:15 +00:00
|
|
|
|
2023-09-26 12:17:24 +00:00
|
|
|
pub trait Subst {
|
|
|
|
fn incr_refs(&mut self, keep: usize, offset: usize);
|
|
|
|
fn subst(&mut self, bnest: usize, with_e: &Expr);
|
|
|
|
}
|