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

Tree API Changes #307

Merged
merged 17 commits into from
May 30, 2024
Merged

Tree API Changes #307

merged 17 commits into from
May 30, 2024

Conversation

maaslalani
Copy link
Member

Adds some changes to List and Tree API.

Generally mostly code comments and API renaming.

  • List Data is now called Items
  • Tree Data is now called Children
  • Instead of Enumerator returning two values for (indent string, prefix string). We now split this into a separate Indenter which handles indent and Enumerator which handles prefixes.
  • Renamed StringNode to Leaf (which is a TreeNode without children, what the StringNode was representing.).

@maaslalani maaslalani merged commit 1afeca0 into master May 30, 2024
20 checks passed
@maaslalani maaslalani deleted the tree-clean branch May 30, 2024 21:12
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.

None yet

1 participant