tree-iteration-util Used to iterate, including recursively, over tree structure elements using node class or value filters.
- Java 8 or above
- The core has dependency on:
flexmark-java-utils
library.org.slf4j:slf4j-api:1.7.25
library.org.jetbrains:annotations:15.0
library.
Allows iteration over tree structure nodes with ability to filter based on node class or node attributes and ability to convert nodes to another type.
output of above:
I needed to iterate over markdown AST tree with ability to compute and/or collect information in an efficient manner without the caller having to know intimate details of how to traverse the AST tree to collect the required information.
Pull requests, issues and comments welcome 😄. For pull requests:
- Add tests for new features and bug fixes
- Follow the existing style to make merging easier, as much as possible: 4 space indent, trailing spaces trimmed.
Copyright (c) 2019, Vladimir Schneider vladimir.schneider@gmail.com,
BSD (2-clause) licensed, see LICENSE.txt file.