void ExprCompiler::visit(AndExpr& expr, int dest) { compile(expr.left(), dest); // Leave a space for the test and jump instruction. int jumpToEnd = startJump(expr); compile(expr.right(), dest); endJump(jumpToEnd, OP_JUMP_IF_FALSE, dest); }
void Resolver::visit(AndExpr& expr, int dummy) { resolve(expr.left()); resolve(expr.right()); }