Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

vsch/tree-iteration

Repository files navigation

tree-iteration

This library was integrated into flexmark-tree-iteration library. This library is no longer maintained.

tree-iteration-util Used to iterate over tree structure elements using node class or value filters.

Requirements

  • Java 8 or above
  • The core has dependency on flexmark-java-utils library.

Build status Maven Central status

Examples:

Using tree-iteration-util

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:


Motivation

I needed to iterate over markdown AST tree with ability to compute and/or collect information in an efficient manner without the user of the code having to know intimate details of how to traverse the AST tree to collect the required information.

Utility Classes

Contributing

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.

License

Copyright (c) 2019, Vladimir Schneider vladimir.schneider@gmail.com,

GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 licensed, see LICENSE file.

About

Tree structure iteration library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages