Say, i am visiting visit(Column) Now since column is not mine i want to abort parsing. since visitors don't rturn or they don't have Exception support how do i abort parsing ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The only way you have is to set a class variable (a boolean, for example) when you want to stop parsing, and check that variable before doing anything else in your visitors...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Say, i am visiting visit(Column) Now since column is not mine i want to abort parsing. since visitors don't rturn or they don't have Exception support how do i abort parsing ?
The only way you have is to set a class variable (a boolean, for example) when you want to stop parsing, and check that variable before doing anything else in your visitors...