Skip to content

Conversation

maaslalani
Copy link
Contributor

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
@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.

1 participant