Allow throw exceptions while visiting AST nodes