I had to extract the logic for mustache attrs from mustache-parser.pegjs so that the else blocks could reuse it. I'm not as happy with how that ended up since some rules had to be duplicated across the 3 mustache- pegjs files.
This also required some changes to the api for invertible nodes so that they could be nested.
This adds basic
else if
support.I had to extract the logic for mustache attrs from
mustache-parser.pegjs
so that theelse
blocks could reuse it. I'm not as happy with how that ended up since some rules had to be duplicated across the 3mustache-
pegjs files.This also required some changes to the api for invertible nodes so that they could be nested.