Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem ------- Addition of optional `$.derives_clause` to the `$.class_definition` blowed its states from ~500 to ~700 and doubled maximum memory usage during generation. I've noticed, that the same addition of `$.derives_clause` to the `$.object_definition` did not result in an increase of states. The reason for this seems to be hidden in a separate rule `$._object_definition`, that matches everything after the 'object' keyword Solution ------- Introduce `$._class_definition`, that matches everything after the 'class' keyword. This restrains the state machine blow when adding support for `$.derives_clause`