Commit db4a9f5f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Create SourceFileParser class.

The parsing logic is now encapsulated inside this separate class,
keeping the SourceFile class simpler and more to the point.  The
SourceFileParser is a singleton, so we no more create new merger,
doc-parser, etc for every single file we parse.

Also moved error handling out of SourceFile class up to App.  This way
the catching of parse errors no more interferes with unit tests.
parent 40486f38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment