Skip to content

Commit

Permalink
refactor(TableParser): centralize common logic for parsing data tables
Browse files Browse the repository at this point in the history
flexible parsing of table data whose column order isn't known at compile
time has lead to a lot of code duplication. The `TableParser` class
fixes that by putting the logic for reading the rows of this type of
table in a single place. The `parse` method allows specifying how the
data from each row should be transformed before it is stored.
The only draw back is that a second post processing step is needed once
all of the data has been read.
  • Loading branch information
Puerling committed Dec 15, 2023
1 parent 3a1003b commit cac53c6
Showing 1 changed file with 331 additions and 457 deletions.
Loading

0 comments on commit cac53c6

Please sign in to comment.