Closed ouchadam closed 11 years ago
I can see what your going for and how it reflects the underlying parser.
But without reading the docs I don't think requireResult
is immediately obvious.
What about what Cursor
does I think that is cool.
getResult
&
getResultOrThrow
?
I never liked the validation check, but having the two methods makes it more likeable :+1: because you can avoid it when you want. This will also make the user more aware when they do getResult
the auto-complete will show getResultOrThrow
and remind them of potential null pointers
crazy sick!
awhh yeah back to master!
9