]> src.bluestatic.org Git - ustaxlib.git/commit
Extract constant values from fed2019 Forms as named definitions.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 2 Aug 2020 16:07:09 +0000 (12:07 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 18 Oct 2020 15:59:14 +0000 (11:59 -0400)
commit9c54a12c64eafd94dad707630ad471dfaf9977f2
tree972aeccc4e06ff57f7bef6fd9aa2f82e32c438e1
parent4255771f5c68921ebfa9478f7b1236911c8a8841
Extract constant values from fed2019 Forms as named definitions.

The core/TaxReturn has a new abstract constants property that can be
used to inject values. Forms can then reference the values when
performing computations, without hard-coding them.

This also adds a Literal identify function to core/Math, to make it
easier to find constants that won't vary from year to year.
19 files changed:
src/core/Form.test.ts
src/core/Line.test.ts
src/core/Math.ts
src/core/TaxReturn.test.ts
src/core/TaxReturn.ts
src/core/Trace.test.ts
src/fed2019/Form1040.ts
src/fed2019/Form6251.ts
src/fed2019/Form8959.test.ts
src/fed2019/Form8959.ts
src/fed2019/Form8960.test.ts
src/fed2019/Form8960.ts
src/fed2019/Form8995.ts
src/fed2019/Schedule1.ts
src/fed2019/Schedule2.ts
src/fed2019/Schedule3.ts
src/fed2019/ScheduleA.ts
src/fed2019/ScheduleD.ts
src/fed2019/TaxReturn.ts