waxeye-org / waxeye

Waxeye is a parser generator based on parsing expression grammars (PEGs). It supports C, Java, JavaScript, Python, Racket, and Ruby.
https://waxeye-org.github.io/waxeye/index.html
Other
235 stars 38 forks source link

JavaScript API: WaxeyeParser has an exposed internal method, 'match' #72

Closed orlandohill closed 7 years ago

orlandohill commented 7 years ago

This change was made when moving to the new parsing machine design. Internal methods used by the parse method should be hidden, either with closures created in parse, or with an inner class as done previously.