parsica-php / parsica

Parsica - PHP Parser Combinators - The easiest way to build robust parsers.
https://parsica-php.github.io/
MIT License
405 stars 18 forks source link

Return type of first parser #48

Closed matthiasnoback closed 3 years ago

matthiasnoback commented 3 years ago

If I'm not mistaken, the return type should be the return type of the first parser.

turanct commented 3 years ago

thanks for your contribution!

i'm merging and adding the appropriate annotations to keepSecond as mentioned.

matthiasnoback commented 3 years ago

Cool, thanks!