Extra ^ test on petitparser compositeparsers?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Extra ^ test on petitparser compositeparsers?

Stephan Eggermont-2
Hi,

Would it make sense to test PPCompositeParser subclasses to not end with returnSelf for productions?
Each time I start building a new parser I manage to forget a few ^'s

I could either add some code to PPCompositeParserTest>parserInstance  
to check methods having same-named instance variables, or do the same to
the PPCompositeParser itself

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev