Skip to content
Commit 36df2034 authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Move the general expression parser over to a general interface.

To allow for any given expression parser to be used in jTET, have both
existing expression parsers implement an interface, instead of being a bunch
of static methods.  This also moves all code over to the new interface.

This simplifies ParserOperatorParseTest, as it no longer needs reflection
to call the parse functions.

This adds some extra special exceptions to report errors from the parsers.
The existing ones don't make use of them yet, but they can in the future
when error reporting gets better.
parent 8c3baa22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment