Trait pomelo_hir::lower::HirLower
source · trait HirLower: Sized {
type AstType: AstNode + Clone;
fn missing(ctx: &mut LoweringCtxt) -> Idx<Self>;
fn lower(ctx: &mut LoweringCtxt, ast: Self::AstType) -> Idx<Self>;
fn lower_opt(
ctx: &mut LoweringCtxt,
opt_ast: Option<Self::AstType>
) -> Idx<Self> { ... }
}