mentat/tx-parser/tests
Nick Alexander e947a32c59 Part 2: Use value_and_span apparatus in tx-parser/.
I break an abstraction boundary by returning a value column
`edn::ValueAndSpan` rather than just an `edn::Value`.  That is, the
transaction processor shouldn't care where the `edn::Value` it is
processing arose -- even we care to track that information we should
bake it into the `Entity` type.  We do this because we need to
dynamically parse the value column to support nested maps, and parsing
requires a full `edn::ValueAndSpan`.  Alternately, we could cheat and
fake the spans when parsing nested maps, but that's potentially
expensive.
2017-04-03 13:12:41 -07:00
..
parser.rs Part 2: Use value_and_span apparatus in tx-parser/. 2017-04-03 13:12:41 -07:00