Apologies if this is a simple question
Is there any way to get a validated parse tree? Assuming no errors, once I call parser.rule(), there should be no need for further unwraps. As I understand, this isn't a problem in java because the objects can be assumed to be non null?
I find it very tedious to constantly unwrap or ? when there's no need for it.
Apologies if this is a simple question
Is there any way to get a validated parse tree? Assuming no errors, once I call parser.rule(), there should be no need for further unwraps. As I understand, this isn't a problem in java because the objects can be assumed to be non null?
I find it very tedious to constantly unwrap or ? when there's no need for it.