void ExprCompiler::compile(gc<Expr> expr, int dest) { expr->accept(*this, dest); }
void PatternCompiler::compile(gc<Pattern> pattern, int slot) { if (pattern.isNull()) return; pattern->accept(*this, slot); }
void Resolver::resolve(gc<Expr> expr) { expr->accept(*this, -1); }