Trait pomelo_hir::FileArena

source ·
pub trait FileArena {
    fn get_pat(&self, index: Idx<Pat>) -> &Pat;
    fn get_expr(&self, index: Idx<Expr>) -> &Expr;
    fn get_dec(&self, index: Idx<Dec>) -> &Dec;
    fn get_ty(&self, index: Idx<Ty>) -> &Ty;
    fn get_name(&self, index: Idx<String>) -> &str;
}
Expand description

Interface for navigating the HIR.

Required Methods§

Implementors§