[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stoping a DepthFirstAdapter

I'm implementing a Adapter for visiting all nodes of the AST therefor i reimplemented the DepthFirstAdapter, but under certain error conditions i want to stop the adapter. i thought to do it with an AbortException or something like that. But this is not possible, because in the methods of the DepthFirstAdapter no Exceptions are declared to be thrown. Is there an other way to do that?
if there is no way to do this it would be a new entry for the wishlist of SabelCC 3.
thank you in advance,