Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split MdqNode up into more precise enums #57

Merged
merged 9 commits into from
Jun 23, 2024
Merged

split MdqNode up into more precise enums #57

merged 9 commits into from
Jun 23, 2024

Conversation

yshavit
Copy link
Owner

@yshavit yshavit commented Jun 23, 2024

  • MdqNode is either Block or Inline
  • Blocks are either Leafs Blocks or Containers
  • sort the various node types into those leafs and containers

In service of #53.

yshavit added 9 commits June 22, 2024 17:42
For now, these are empty. Next I'll start moving things into them.
This is a small change with a big significance! It's the first time I've
actually gotten through one of these refactorings, after a long time of
trying.
This is HUGE because it's the first time I've done this with a node
that has state (cf. ThematicBreak). I had to improve macros to make this
happen, which I was a bit apprehensive about doing.

From here on out it should be pretty smooth sailing!
As I suspected/hoped, this one was pretty easy!
@yshavit yshavit merged commit 99c84f4 into main Jun 23, 2024
4 checks passed
@yshavit yshavit deleted the reorg-02 branch June 23, 2024 00:37
@yshavit yshavit mentioned this pull request Jun 23, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant