GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” flexmark-java/flexmark-tree-iteration at master ยท vsch/flexmark-java

Expand file tree

/

flexmark-tree-iteration

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

flexmark-tree-iteration

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
flexmark-tree-iteration.iml
flexmark-tree-iteration.iml
 
 
pom.xml
pom.xml
 
 

README.md

Outline

flexmark-tree-iteration

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

Requirements

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

latest Maven Central status Javadocs

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 caller 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 [email protected],

BSD (2-clause) licensed, see LICENSE.txt file.

You are visitor 01402520 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.