As ListParser sees items within its list, it assembles a vector of Pairs. When the parser encounters ')', it assembles the pairs into an actual linked list and returns the root Pair. This work also revealed that I was asserting incorrectly in my single_pair test. It should return Null instead of an empty Pair. Neat. Closes #17. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |