On 4/21/21 11:07 PM, John Snow wrote:
+ self.exprs: List[Expression] = []
I did indeed intend to use Expression to mean TopLevelExpr ... However,
in this case, that's not what actually gets stored here.
I tricked myself!
This stores the dict that associates 'expr', 'doc' and 'info'.
Fixing it to be the generic Dict[str, object] removes the last usage of
TopLevelExpr from parser.py ... for now.
(pt5c, optional parser cleanups, uses a stronger type for parser's
return type and sees the reintroduction of that type.)
--js