doc: grammar-clause TODO
The documentation for grammar-clause
says:
TODO - (properties and the grammar) should this be in the public interface? Yes if I allow properties to change the grammar, but otherwise I’m not sure. For reading, it would probably be easier to get a dict full of a struct with: node name, chain of parent nodes, field list (of grammar-node-field-structs). It will also be faster if I construct that once, because in various properties I am reconstructing some of that info multiple times.